Signal processing method, signal processing device, and signal processing program
By combining head and binaural room impulse responses through synchronized sound component adjustments, the method effectively localizes sound images outside the user's head, addressing the challenge of creating responses with desired characteristics.
Patent Information
- Application Number
- JP2024140852
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-10-25
AI Technical Summary
Conventional techniques struggle to create a binaural room impulse response that includes desired head characteristics and spatial characteristics, making it difficult to localize sound images outside the user's head effectively.
A signal processing method that combines a head impulse response with a binaural room impulse response to create a composite response, synchronizing and adjusting sound components to include desired head and spatial characteristics, using techniques such as waveform trimming, sound pressure level adjustment, and convolution.
This method enables the creation of a binaural room impulse response that accurately simulates desired head and spatial characteristics, allowing for effective localization of sound images outside the user's head.
Smart Images

Figure 2024152932000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a technique for localizing a sound image outside a user's head. [Background technology]
[0002] For example, Patent Document 1 discloses a signal processing device having a synthesis unit that generates a third head-related transfer function by synthesizing characteristics of a first band extracted from a first head-related transfer function of a user and characteristics of a second band including a band higher than the first band extracted from a second head-related transfer function measured in a second measurement environment different from a first measurement environment in which the first head-related transfer function is measured. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 7384162 Summary of the Invention [Problem to be solved by the invention]
[0004] However, with the above-mentioned conventional techniques, it is difficult to create a binaural room impulse response including desired head characteristics and desired spatial characteristics, and further improvement is required.
[0005] The present disclosure has been made to solve the above problems, and aims to provide a technique capable of creating a binaural room impulse response including desired head characteristics and desired spatial characteristics. [Means for solving the problem]
[0006] A signal processing method according to one embodiment of the present disclosure is a signal processing method executed by a computer, and includes acquiring a head impulse response indicative of a first head characteristic of a user, acquiring a binaural room impulse response indicative of a second head characteristic different from the first head characteristic and a spatial characteristic of the space in which the user is located, creating a synthetic binaural room impulse response by synthesizing a direct sound component of the head impulse response and a reverberation sound component of the binaural room impulse response, and outputting the created synthetic binaural room impulse response. Effect of the Invention
[0007] According to the present disclosure, a binaural room impulse response can be created that includes desired head characteristics and desired spatial characteristics. [Brief description of the drawings]
[0008] [Figure 1] 1 is a diagram illustrating a configuration of a signal processing device according to a first embodiment. [Diagram 2] FIG. 2 is a diagram for explaining a method for creating a synthetic binaural room impulse response in the first embodiment. [Diagram 3] FIG. 2 is a diagram showing a configuration of a creation unit in the first embodiment. [Figure 4] 4 is a flowchart illustrating processing by a signal processing device according to the first embodiment of the present disclosure. [Diagram 5] 4 is a flowchart for illustrating a synthetic binaural room impulse response creation process performed by a creation unit according to the first embodiment of the present disclosure. [Figure 6] 3A to 3C are diagrams showing an example of a binaural room impulse response and a head impulse response in the first embodiment. [Figure 7] FIG. 2 is a diagram showing an example of a synthetic binaural room impulse response in the first embodiment. [Figure 8]FIG. 2 is a diagram for explaining a process for aligning the maximum amplitude position of a binaural room impulse response and the maximum amplitude position of a head impulse response in the first embodiment. [Figure 9] FIG. 11 is a diagram illustrating a configuration of a signal processing device according to a second embodiment. [Figure 10] FIG. 11 is a diagram showing a configuration of a creation unit in the second embodiment. [Figure 11] 13 is a flowchart for illustrating a synthetic binaural room impulse response creation process performed by a creation unit according to a second embodiment of the present disclosure. [Figure 12] FIG. 11 is a diagram showing an example of a binaural room impulse response in the second embodiment. [Figure 13] FIG. 11 is a diagram for explaining a process of replacing all amplitudes of direct sound components of a binaural room impulse response with 0 in the second embodiment. [Figure 14] FIG. 11 is a diagram for explaining a process of setting the amplitude of the binaural room impulse response at time 0 to 1 in the second embodiment. [Figure 15] FIG. 11 is a diagram showing an example of a synthetic binaural room impulse response in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] (Findings on which this disclosure is based) Conventionally, there is known a technology for sound reproduction that allows a user to perceive a stereoscopic sound by controlling the position of a sound image, which is a sound source object in the user's sense, in a virtual three-dimensional space (hereinafter, sometimes referred to as a three-dimensional sound field). By localizing a sound image at a predetermined position in the virtual three-dimensional space, the user can perceive the sound as if it were arriving from a direction parallel to a line connecting the predetermined position and the user (i.e., a predetermined direction). In order to localize a sound image at a predetermined position in the virtual three-dimensional space in this way, for example, a calculation process is required to generate a difference in arrival time of the sound between both ears and a difference in sound level (or sound pressure) between both ears that is perceived as a stereoscopic sound for the collected sound.
[0010] In recent years, so-called online conference systems have been widely used, in which video and audio are transmitted and received bidirectionally using a communication line to communicate with a communication partner. In such online conference systems, a head-mounted sound reproducing device such as a headphone is often used. When listening to sound through headphones, as in the above-mentioned online conference system, it is difficult to expand the sound into a three-dimensional sound field and have the user perceive it. Normally, when listening to sound through headphones, the sound image is localized inside the head. Therefore, technology for localizing the sound image outside the head even when listening to sound through headphones is being developed.
[0011] In general, convolution of binaural room impulse responses in a desired sound field is considered effective for reproducing a spatial out-of-head sound image. In order to obtain a binaural room impulse response, it is necessary to perform measurements under conditions where the desired head characteristics and the desired spatial characteristics of the sound field are consistent. However, since the head characteristics differ from user to user and the spatial characteristics also differ from sound field to sound field, it is very time-consuming to obtain a binaural room impulse response under the desired conditions.
[0012] The above conventional technology performs signal processing in the frequency domain, not in the time domain. The purpose of the conventional technology is to reproduce a head-related transfer function having characteristics wider than the band measured by a device with a narrow reproduction band by synthesizing a head-related transfer function having sufficient frequency band characteristics for the head-related transfer function measured by a device with a narrow reproduction band, and not to impart a reverberation component having spatial characteristics to the head-related transfer function. Therefore, the above conventional technology has difficulty in creating a binaural room impulse response including desired head characteristics and desired spatial characteristics.
[0013] In order to solve the above problems, the following techniques are disclosed.
[0014] (1) A signal processing method according to one embodiment of the present disclosure is a signal processing method executed by a computer, and includes acquiring a head impulse response indicative of a first head characteristic of a user, acquiring a binaural room impulse response indicative of a second head characteristic different from the first head characteristic and a spatial characteristic of a space in which the user is located, creating a synthetic binaural room impulse response by synthesizing a direct sound component of the head impulse response and a reverberation sound component of the binaural room impulse response, and outputting the created synthetic binaural room impulse response.
[0015] According to this configuration, a synthetic binaural room impulse response is created by combining the direct sound component of the head impulse response and the reverberation sound component of the binaural room impulse response, so that a binaural room impulse response that artificially includes desired head characteristics can be created, and a binaural room impulse response that includes the desired head characteristics and the desired spatial characteristics can be created.
[0016] (2) In the signal processing method described in (1) above, creating the synthetic binaural room impulse response may include trimming a waveform of the binaural room impulse response and a waveform of the head impulse response, identifying a replacement time at which a sound pressure difference between the head impulse response and the binaural room impulse response is minimum in a terminal period of the direct sound component of the head impulse response, and replacing the direct sound component of the binaural room impulse response before the replacement time with the direct sound component of the head impulse response before the replacement time.
[0017] According to this configuration, the direct sound component of the binaural room impulse response is replaced with the direct sound component of the head impulse response, so that the direct sound component of the head impulse response and the reverberation sound component of the binaural room impulse response can be easily synthesized.
[0018] (3) In the signal processing method described in (2) above, the trimming may include trimming the waveforms of the binaural room impulse response and the head impulse response so that the time when the amplitude of the binaural room impulse response is maximum coincides with the time when the amplitude of the head impulse response is maximum.
[0019] According to this configuration, the binaural room impulse response can be appropriately combined with the head impulse response so that the times of the binaural room impulse response and the head impulse response are aligned.
[0020] (4) In the signal processing method described in (2) or (3) above, the terminal period may be a period of 1.5 msec to 2.5 msec.
[0021] According to this configuration, it is possible to identify the replacement time for replacing the direct sound component of the binaural room impulse response with the direct sound component of the head impulse response in the period from 1.5 msec to 2.5 msec.
[0022] (5) In the signal processing method described in any one of (2) to (4) above, creating the synthetic binaural room impulse response may further include changing the sound pressure level of the direct sound component of the head impulse response before the replacement time in accordance with the sound pressure level of the direct sound component of the binaural room impulse response before the replacement time.
[0023] According to this configuration, the sound pressure level of the direct sound component of the head impulse response is changed according to the sound pressure level of the direct sound component of the binaural room impulse response, so that the direct sound component of the head impulse response and the reverberation sound component of the binaural room impulse response can be synthesized without any unnaturalness.
[0024] (6) In the signal processing method according to any one of (2) to (4) above, the creation of the synthetic binaural room impulse response may further include changing a sound pressure level of the reverberation sound component of the binaural room impulse response after the replacement time in accordance with a sound pressure level of the direct sound component of the head impulse response before the replacement time.
[0025] According to this configuration, the sound pressure level of the reverberation sound component of the binaural room impulse response is changed according to the sound pressure level of the direct sound component of the head impulse response, so that the direct sound component of the head impulse response and the reverberation sound component of the binaural room impulse response can be synthesized without any unnaturalness.
[0026] (7) In the signal processing method described in (1) above, creating the synthetic binaural room impulse response may include replacing all amplitudes of direct sound components of the binaural room impulse response with 0, setting the amplitude of the binaural room impulse response at time 0 to 1, and convolving the binaural room impulse response with the head impulse response.
[0027] According to this configuration, the amplitudes of all direct sound components are replaced with 0 and the head impulse response is convolved with the binaural room impulse response whose amplitude at time 0 is set to 1, thereby easily synthesizing the direct sound components of the head impulse response and the reverberation sound components of the binaural room impulse response.
[0028] (8) In the signal processing method described in (7) above, the creation of the synthetic binaural room impulse response may further include identifying a replacement time at which the amplitude of the binaural room impulse response is closest to 0 during a terminal period of the direct sound component of the binaural room impulse response, and the replacement of the amplitude may include replacing all amplitudes of the binaural room impulse response prior to the replacement time with 0.
[0029] According to this configuration, it is possible to determine the position where the direct sound component of the head impulse response in the binaural room impulse response is synthesized.
[0030] The present disclosure can be realized not only as a signal processing method that executes the above-mentioned characteristic processing, but also as a signal processing device having a characteristic configuration corresponding to the characteristic processing executed by the signal processing method. Also, the present disclosure can be realized as a computer program that causes a computer to execute the characteristic processing included in such a signal processing method. Therefore, the same effect as the above-mentioned signal processing method can be achieved in the following other aspects.
[0031] (9) A signal processing device according to another aspect of the present disclosure is a signal processing device including a processor, which acquires a head impulse response indicating a first head characteristic of a user, acquires a binaural room impulse response indicating a second head characteristic different from the first head characteristic and a spatial characteristic of the space in which the user is located, creates a synthetic binaural room impulse response by synthesizing a direct sound component of the head impulse response and a reverberation sound component of the binaural room impulse response, and outputs the created synthetic binaural room impulse response.
[0032] (10) A signal processing program according to another aspect of the present disclosure causes a computer to acquire a head impulse response indicative of a first head characteristic of a user, acquire a binaural room impulse response indicative of a second head characteristic different from the first head characteristic and a spatial characteristic of the space in which the user is located, create a synthetic binaural room impulse response by synthesizing a direct sound component of the head impulse response and a reverberation sound component of the binaural room impulse response, and output the created synthetic binaural room impulse response.
[0033] (11) A non-transitory computer-readable recording medium according to another aspect of the present disclosure records the signal processing program described in (10) above.
[0034] Hereinafter, the embodiments of the present disclosure will be described with reference to the attached drawings. Note that each of the embodiments described below shows a specific example of the present disclosure. The numerical values, shapes, components, steps, and order of steps shown in the following embodiments are merely examples and are not intended to limit the present disclosure. Furthermore, among the components in the following embodiments, components that are not described in an independent claim showing a top concept are described as optional components. Furthermore, in all of the embodiments, the respective contents can be combined.
[0035] (Embodiment 1) FIG. 1 is a diagram showing a configuration of a signal processing device 1 according to the first embodiment.
[0036] The signal processing device 1 shown in FIG. 1 includes an HRIR database 11, a BRIR database 12, an HRIR acquisition unit 13, a BRIR acquisition unit 14, a creation unit 15, and an output unit 16.
[0037] The signal processing device 1 includes at least a computer system including, for example, a control program, a processing circuit such as a processor or logic circuit that executes the control program, and a recording device such as an internal memory or an accessible external memory that stores the control program. The signal processing device 1 may be realized, for example, by hardware implementation by the processing circuit, or by execution by the processing circuit of a software program held in the memory or distributed from an external server, or by a combination of these hardware and software implementations. The signal processing device 1 may also be a server.
[0038] The HRIR database 11 prestores head-related impulse responses (HRIRs) that indicate human head characteristics. A head-related transfer function (HRTF) is a frequency domain representation of changes in the physical characteristics of an incident sound wave caused by the surroundings of the head. A head impulse response is a time domain representation of a head-related transfer function. A head impulse response is measured in an anechoic space. Therefore, the head impulse response includes direct sound components and contains almost no reverberation sound components.
[0039] The HRIR database 11 may store head impulse responses for the left and right channels. The HRIR database 11 may store a plurality of head impulse responses corresponding to a plurality of head characteristics. The HRIR database 11 may store a plurality of head impulse responses corresponding to a plurality of rotation angles between the direction in which the sound arrives and the front direction of the user. The plurality of rotation angles are, for example, angles obtained by dividing 360 degrees by 2 degrees, 5 degrees, or 10 degrees. The direction in which the sound arrives is 0 degrees, and the rotation angle indicates the angle formed clockwise between the direction in which the sound arrives and the front direction of the user.
[0040] The BRIR database 12 prestores a binaural room impulse response (BRIR) that indicates the characteristics of a person's head and the spatial characteristics of the space in which a person is present. The binaural room impulse response is expressed in the time domain. The binaural room impulse response is measured in a reverberant space. Therefore, the binaural room impulse response includes a direct sound component and a reverberant sound component.
[0041] The BRIR database 12 may store binaural room impulse responses for the left and right channels. The BRIR database 12 may store a plurality of binaural room impulse responses corresponding to a plurality of spatial characteristics. For example, the BRIR database 12 may store a plurality of binaural room impulse responses for each of a plurality of space sizes. The BRIR database 12 may store a plurality of binaural room impulse responses corresponding to a plurality of rotation angles formed between the direction in which the sound arrives and the front direction of the user. The plurality of rotation angles are, for example, angles obtained by dividing 360 degrees by 2 degrees, 5 degrees, or 10 degrees. The direction in which the sound arrives is 0 degrees, and the rotation angle indicates the angle formed clockwise between the direction in which the sound arrives and the front direction of the user.
[0042] The HRIR acquisition unit 13 acquires a head impulse response indicating a first head characteristic of the user from the HRIR database 11. The head impulse response acquired by the HRIR acquisition unit 13 may be measured by a measuring device attached to the entrance of the ear canal of the user himself / herself, who is a listener, or may be measured by a measuring device attached to the entrance of the ear canal of a person having head characteristics similar to the user's, or a measuring device attached to a dummy head.
[0043] The BRIR acquisition unit 14 acquires a binaural room impulse response indicating a second head characteristic different from the first head characteristic and the spatial characteristic of the space in which the user is located from the BRIR database 12. The binaural room impulse response acquired by the BRIR acquisition unit 14 may be measured by a measuring device attached to the entrance of the ear canal of a person other than the user or a measuring device attached to a dummy head in a space having spatial characteristics similar to the spatial characteristics of the space in which the user, who is a listener, is located.
[0044] The creation unit 15 creates a synthetic binaural room impulse response by synthesizing the direct sound component of the head impulse response acquired by the HRIR acquisition unit 13 and the reverberation sound component of the binaural room impulse response acquired by the BRIR acquisition unit 14.
[0045] The output unit 16 outputs the synthetic binaural room impulse response created by the creation unit 15 .
[0046] Here, the synthetic binaural room impulse response created in the first embodiment will be described.
[0047] Fig. 2 is a diagram for explaining a method for creating a synthetic binaural room impulse response in the present embodiment 1. Fig. 2 shows synthetic binaural room impulse responses for the left channel (L) and the right channel (R).
[0048] 2, the creation unit 15 synthesizes direct sound components 201L and 201R of the head impulse response and reverberation sound components 202L and 202R of the binaural room impulse response, thereby creating synthesized binaural room impulse responses 203L and 203R.
[0049] FIG. 3 is a diagram showing a configuration of the creation unit 15 in the first embodiment.
[0050] The creation unit 15 shown in FIG. 3 includes a peak position correction unit 151, a specification unit 152, a direct sound component replacement unit 153, and a sound pressure level change unit 154.
[0051] The peak position correction unit 151 trims the waveforms of the binaural room impulse response and the head impulse response so that the time when the amplitude of the binaural room impulse response is maximum coincides with the time when the amplitude of the head impulse response is maximum.
[0052] The determination unit 152 determines a replacement time at which the sound pressure difference between the head impulse response and the binaural room impulse response is minimum in the terminal period of the direct sound component of the head impulse response. That is, the determination unit 152 determines a replacement time at which the difference between the absolute value of the amplitude of the head impulse response and the absolute value of the amplitude of the binaural room impulse response is minimum in the terminal period of the direct sound component of the head impulse response. The terminal period is, for example, a period from 1.5 msec to 2.0 msec. The terminal period may be, for example, a period from 2.0 msec to 2.5 msec. The terminal period may be any period between 1.5 msec and 2.5 msec. The time for which the direct sound is propagated may be calculated based on the positions of the sound source and the microphone in the measurement environment, and the terminal period may be determined based on the calculated propagation time.
[0053] The direct sound component replacing unit 153 replaces the direct sound component of the binaural room impulse response before the replacement time with the direct sound component of the head impulse response before the replacement time, thereby synthesizing the direct sound component of the head impulse response and the reverberation sound component of the binaural room impulse response.
[0054] The sound pressure level modification unit 154 modifies the sound pressure level of the direct sound component of the head impulse response before the substitution time in accordance with the sound pressure level of the direct sound component of the binaural room impulse response before the substitution time.
[0055] Specifically, the sound pressure level modification unit 154 calculates the average value of the A-weighted sound pressure level of the direct sound component of the head impulse response before the replacement time, and calculates the average value of the A-weighted sound pressure level of the direct sound component of the binaural room impulse response before the replacement time. The sound pressure level modification unit 154 calculates the ratio between the average value of the A-weighted sound pressure level of the direct sound component of the binaural room impulse response and the average value of the A-weighted sound pressure level of the direct sound component of the head impulse response. The ratio is calculated by dividing the average value of the A-weighted sound pressure level of the direct sound component of the binaural room impulse response by the average value of the A-weighted sound pressure level of the direct sound component of the head impulse response. The sound pressure level modification unit 154 multiplies the calculated ratio by the sound pressure level of the direct sound component of the head impulse response. As a result, the sound pressure level of the direct sound component of the head impulse response before the replacement time is adjusted to the sound pressure level of the direct sound component of the binaural room impulse response before the replacement time.
[0056] The sound pressure level change unit 154 may change the sound pressure level of the reverberation sound component of the binaural room impulse response after the replacement time in accordance with the sound pressure level of the direct sound component of the head impulse response before the replacement time.
[0057] Specifically, the sound pressure level modification unit 154 calculates the average value of the A-weighted sound pressure level of the direct sound component of the head impulse response before the replacement time, and calculates the average value of the A-weighted sound pressure level of the direct sound component of the binaural room impulse response before the replacement time. The sound pressure level modification unit 154 calculates the ratio between the average value of the A-weighted sound pressure level of the direct sound component of the head impulse response and the average value of the A-weighted sound pressure level of the direct sound component of the binaural room impulse response. The ratio is calculated by dividing the average value of the A-weighted sound pressure level of the direct sound component of the head impulse response by the average value of the A-weighted sound pressure level of the direct sound component of the binaural room impulse response. The sound pressure level modification unit 154 multiplies the calculated ratio by the sound pressure level of the reverberation sound component of the binaural room impulse response after the replacement time. As a result, the sound pressure level of the reverberation sound component of the binaural room impulse response after the replacement time is adjusted to the sound pressure level of the direct sound component of the head impulse response before the replacement time.
[0058] Next, the processing by the signal processing device 1 according to the first embodiment of the present disclosure will be described.
[0059] FIG. 4 is a flowchart illustrating the processing performed by the signal processing device 1 according to the first embodiment of the present disclosure.
[0060] First, in step S1, the HRIR acquisition unit 13 acquires a head impulse response indicating a first head characteristic of the user from the HRIR database 11. The HRIR acquisition unit 13 may acquire a left channel head impulse response and a right channel head impulse response.
[0061] Next, in step S2, the BRIR acquisition unit 14 acquires a binaural room impulse response indicating a second head characteristic different from the first head characteristic and a spatial characteristic of the space in which the user is located from the BRIR database 12. Note that the BRIR acquisition unit 14 may acquire a binaural room impulse response of the left channel and a binaural room impulse response of the right channel.
[0062] Next, in step S3, the creation unit 15 executes a synthetic binaural room impulse response creation process for creating a synthetic binaural room impulse response by combining the direct sound component of the head impulse response acquired by the HRIR acquisition unit 13 and the reverberation sound component of the binaural room impulse response acquired by the BRIR acquisition unit 14. The synthetic binaural room impulse response creation process will be described later with reference to Fig. 5. The creation unit 15 may also create a synthetic binaural room impulse response for the left channel and a synthetic binaural room impulse response for the right channel.
[0063] Next, in step S4, the output unit 16 outputs the synthesized binaural room impulse response. Note that the output unit 16 may output a synthesized binaural room impulse response for the left channel and a synthesized binaural room impulse response for the right channel.
[0064] The output synthetic binaural room impulse response is convolved with the playback sound signal. The playback sound signal convolved with the synthetic binaural room impulse response is played back by headphones or earphones worn by the user. This allows the user to perceive the playback sound as a sound arriving from a specific direction in a three-dimensional sound field, and allows the sound image of the playback sound to be localized at a specific position outside the head.
[0065] In this way, a synthetic binaural room impulse response is created by synthesizing the direct sound component of the head impulse response and the reverberation sound component of the binaural room impulse response, so that a binaural room impulse response that artificially includes the desired head characteristics can be created, and a binaural room impulse response that includes the desired head characteristics and the desired spatial characteristics can be created.
[0066] Next, the synthetic binaural room impulse response generating process in step S3 of FIG. 4 will be described.
[0067] FIG. 5 is a flowchart for illustrating a synthetic binaural room impulse response creation process by the creation unit 15 according to the first embodiment of the present disclosure.
[0068] First, in step S11, the peak position correction unit 151 trims the waveforms of the binaural room impulse response and the head impulse response so that the time when the amplitude of the binaural room impulse response is maximum coincides with the time when the amplitude of the head impulse response is maximum.
[0069] Next, in step S12, the identifying unit 152 identifies a replacement time at which the sound pressure difference between the head impulse response and the binaural room impulse response is minimum in the end period of the direct sound component of the head impulse response.
[0070] Next, in step S13, the direct sound component replacement unit 153 replaces the direct sound components of the binaural room impulse response before the replacement time with the direct sound components of the head impulse response before the replacement time. In this way, the direct sound component replacement unit 153 creates a synthetic binaural room impulse response that combines the direct sound components of the head impulse response before the replacement time and the reverberation sound components of the binaural room impulse response after the replacement time.
[0071] Next, in step S14, the sound pressure level modification unit 154 modifies the sound pressure level of the direct sound component of the head impulse response before the substitution time according to the sound pressure level of the direct sound component of the binaural room impulse response before the substitution time.
[0072] In addition, when a synthetic binaural room impulse response is created for each of multiple head rotation angles, the sound pressure level modification unit 154 may use the ratio calculated when creating the synthetic binaural room impulse response corresponding to a specified direction (0 degrees) in which sound arrives to modify the sound pressure level of the direct sound component of the head impulse response or the sound pressure level of the reverberation sound component of the binaural room impulse response corresponding to other rotation angles.
[0073] By the above synthetic binaural room impulse response creation process, a synthetic binaural room impulse response is created by combining the direct sound component of the head impulse response and the reverberation sound component of the binaural room impulse response.
[0074] In the above-mentioned synthetic binaural room impulse response creation process, synthetic binaural room impulse responses may be created for each of the left channel and the right channel. Also, synthetic binaural room impulse responses may be created for each of a plurality of head rotation angles. Also, when the rotation angle of the front direction of the user's head relative to the sound arrival direction is acquired, a synthetic binaural room impulse response corresponding to the acquired rotation angle may be created.
[0075] In this way, the direct sound component of the binaural room impulse response is replaced with the direct sound component of the head impulse response, so that the direct sound component of the head impulse response and the reverberation sound component of the binaural room impulse response can be synthesized.
[0076] In addition, the direct sound component of the binaural room impulse response includes head characteristics, and the reverberation sound component of the binaural room impulse response includes spatial characteristics. The reverberation sound component of the binaural room impulse response also includes head characteristics, but the effect of this is quite small. Therefore, by replacing the direct sound component of the binaural room impulse response including the desired spatial characteristics with the direct sound component of the head impulse response including the desired head characteristics, it is possible to artificially reproduce a binaural room impulse response including the desired head characteristics and the desired spatial characteristics.
[0077] FIG. 6 is a diagram showing an example of the binaural room impulse response and the head impulse response in the first embodiment.
[0078] In FIG. 6, the vertical axis represents amplitude, the horizontal axis represents time (msec), the solid line represents the binaural room impulse responses 211L and 211R, and the dashed line represents the head impulse responses 212L and 212R. The waveform diagram on the left side of FIG. 6 shows the binaural room impulse response 211L and the head impulse response 212L of the left channel when the predetermined direction (0 degrees) at which the sound arrives coincides with the front direction of the user. The waveform diagram on the right side of FIG. 6 shows the binaural room impulse response 211R and the head impulse response 212R of the right channel when the predetermined direction (0 degrees) at which the sound arrives coincides with the front direction of the user.
[0079] As shown in FIG. 6, the peak position correction unit 151 trims the waveforms of the binaural room impulse responses 211L and 211R and the waveforms of the head impulse responses 212L and 212R so that the time when the amplitudes of the binaural room impulse responses 211L and 211R are maximum coincides with the time when the amplitudes of the head impulse responses 212L and 212R are maximum.
[0080] Specifically, the peak position correction unit 151 calculates the average times t_b and t_h of the left and right maximum amplitude positions at an angle of 0 degrees for each of the binaural room impulse response and the head impulse response. Then, the peak position correction unit 151 performs signal processing on either the binaural room impulse response or the head impulse response so that the average time t_b of the binaural room impulse response coincides with the average time t_h of the head impulse response.
[0081] That is, if t_b = t_h, the peak position correction unit 151 does not perform signal processing.
[0082] Also, if t_b < t_h, the peak position correction unit 151 adds 0 to the beginning of the binaural room impulse response so that t_b = t_h. Alternatively, the peak position correction unit 151 cuts the beginning of the head impulse response so that t_b = t_h.
[0083] If t_b>t_h, the peak position correction unit 151 adds 0 to the beginning of the head impulse response so that t_b=t_h, or cuts off the beginning of the binaural room impulse response so that t_b=t_h.
[0084] Furthermore, the identifying unit 152 identifies the replacement times 213L, 213R at which the sound pressure difference between the head impulse responses 212L, 212R and the binaural room impulse responses 211L, 211R is minimum in the terminal period (for example, 1.5 msec to 2.0 msec) of the direct sound components of the head impulse responses 212L, 212R.
[0085] The parts before the replacement times 213L, 213R indicate direct sound components, and the parts after the replacement times 213L, 213R indicate reverberation sound components. In Fig. 6, the parts enclosed in square frames indicate the direct sound components of the binaural room impulse responses 211L, 211R and the head impulse responses 212L, 212R. The direct sound component replacement unit 153 replaces the direct sound components of the binaural room impulse responses 211L, 211R before the replacement times 213L, 213R with the direct sound components of the head impulse responses 212L, 212R before the replacement times 213L, 213R.
[0086] FIG. 7 is a diagram showing an example of a synthetic binaural room impulse response in the first embodiment.
[0087] In Fig. 7, the vertical axis indicates amplitude, the horizontal axis indicates time (msec), the solid lines indicate the composite binaural room impulse responses 214L and 214R, and the dashed lines indicate the binaural room impulse responses 211L and 211R. The waveform diagram on the left side of Fig. 7 indicates the composite binaural room impulse response 214L of the left channel when the predetermined direction (0 degrees) from which the sound arrives coincides with the front direction of the user, and the waveform diagram on the right side of Fig. 7 indicates the composite binaural room impulse response 214R of the right channel when the predetermined direction (0 degrees) from which the sound arrives coincides with the front direction of the user.
[0088] The synthetic binaural room impulse responses 214L and 214R are created by replacing the direct sound components of the binaural room impulse responses 211L and 211R with the direct sound components of the head impulse responses 212L and 212R. Therefore, the synthetic binaural room impulse responses 214L and 214R are composed of the direct sound components of the head impulse responses 212L and 212R and the reverberation sound components of the binaural room impulse responses 211L and 211R.
[0089] 7, the sound pressure level change unit 154 changes the sound pressure levels of the direct sound components of the synthesized binaural room impulse responses 214L, 214R corresponding to the direct sound components of the head impulse responses 212L, 212R according to the sound pressure levels of the direct sound components of the binaural room impulse responses 211L, 211R. As a result, the amplitudes of the direct sound components of the synthesized binaural room impulse responses 214L, 214R shown in FIG. 7 are smaller than the amplitudes of the direct sound components of the head impulse responses 212L, 212R shown in FIG.
[0090] FIG. 8 is a diagram for explaining the process of aligning the maximum amplitude position of the binaural room impulse response and the maximum amplitude position of the head impulse response in the first embodiment.
[0091] In Fig. 8, the vertical axis indicates amplitude, the horizontal axis indicates time (msec), the solid line indicates the binaural room impulse response, and the dashed line indicates the head impulse response. The first and third waveform diagrams from the top of Fig. 8 show the binaural room impulse response and head impulse response of the left channel when the predetermined direction (0 degrees) from which the sound arrives coincides with the front direction of the user, and the second and fourth waveform diagrams from the top of Fig. 8 show the binaural room impulse response and head impulse response of the right channel when the predetermined direction (0 degrees) from which the sound arrives coincides with the front direction of the user.
[0092] As shown in FIG. 8, the maximum amplitude position of the binaural room impulse response of the left channel may differ from the maximum amplitude position of the binaural room impulse response of the right channel, and the maximum amplitude position of the head impulse response of the left channel may differ from the maximum amplitude position of the head impulse response of the right channel.
[0093] Therefore, the peak position correction unit 151 may calculate the average time between the time when the amplitude of the binaural room impulse response of the left channel is maximum and the time when the amplitude of the binaural room impulse response of the right channel is maximum, and may also calculate the average time between the time when the amplitude of the head impulse response of the left channel is maximum and the time when the amplitude of the head impulse response of the right channel is maximum.The peak position correction unit 151 may trim the waveforms of the binaural room impulse response and the head impulse response so that the average time when the amplitude of the binaural room impulse response is maximum and the average time when the amplitude of the head impulse response is maximum coincide with each other.
[0094] Furthermore, the peak position correction unit 151 may calculate the average maximum amplitude of the maximum amplitude of the binaural room impulse response of the left channel and the maximum amplitude of the binaural room impulse response of the right channel, and may also calculate the average maximum amplitude of the maximum amplitude of the head impulse response of the left channel and the maximum amplitude of the head impulse response of the right channel. Then, the peak position correction unit 151 may calculate a ratio between the average maximum amplitude of the head impulse response and the average maximum amplitude of the binaural room impulse response. The ratio is calculated by dividing the average maximum amplitude of the head impulse response by the average maximum amplitude of the binaural room impulse response. Then, the peak position correction unit 151 may multiply the binaural room impulse response by the calculated ratio. This makes the amplitude of the binaural room impulse response equal to the amplitude of the head impulse response.
[0095] The peak position correction unit 151 may calculate a ratio between the average maximum amplitude of the binaural room impulse response and the average maximum amplitude of the head impulse response. The ratio is calculated by dividing the average maximum amplitude of the binaural room impulse response by the average maximum amplitude of the head impulse response. Then, the peak position correction unit 151 may multiply the head impulse response by the calculated ratio. This makes the amplitude of the head impulse response equal to the amplitude of the binaural room impulse response.
[0096] (Embodiment 2) In the first embodiment, the direct sound component of the binaural room impulse response is replaced with the direct sound component of the head impulse response, thereby synthesizing the direct sound component of the head impulse response and the reverberation sound component of the binaural room impulse response. In contrast, in the second embodiment, the head impulse response is convoluted with the binaural room impulse response in which the amplitudes of the direct sound components have all been replaced with 0, thereby synthesizing the direct sound component of the head impulse response and the reverberation sound component of the binaural room impulse response.
[0097] FIG. 9 is a diagram showing a configuration of a signal processing device 1A according to the second embodiment.
[0098] 9 includes an HRIR database 11, a BRIR database 12, an HRIR acquisition unit 13, a BRIR acquisition unit 14, a creation unit 15A, and an output unit 16. In the second embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and description thereof will be omitted.
[0099] The signal processing device 1A includes at least a computer system including, for example, a control program, a processing circuit such as a processor or logic circuit that executes the control program, and a recording device such as an internal memory or an accessible external memory that stores the control program. The signal processing device 1A may be realized, for example, by hardware implementation by the processing circuit, or by execution by the processing circuit of a software program held in the memory or distributed from an external server, or by a combination of these hardware and software implementations. The signal processing device 1A may also be a server.
[0100] The creation unit 15A creates a synthetic binaural room impulse response by combining the direct sound component of the head impulse response acquired by the HRIR acquisition unit 13 and the reverberation sound component of the binaural room impulse response acquired by the BRIR acquisition unit .
[0101] FIG. 10 is a diagram showing a configuration of the creation unit 15A in the second embodiment.
[0102] The creation unit 15A shown in FIG. 10 includes a specification unit 161, an amplitude substitution unit 162, an amplitude setting unit 163, and a convolution unit 164.
[0103] The determination unit 161 determines a replacement time at which the amplitude of the binaural room impulse response is closest to 0 in the end period of the direct sound component of the binaural room impulse response. The end period is, for example, a period from 1.5 msec to 2.0 msec. The end period may be, for example, a period from 2.0 msec to 2.5 msec. The end period may be any period between 1.5 msec and 2.5 msec. The time for which the direct sound is propagated may be calculated based on the positions of the sound source and the microphone in the measurement environment, and the end period may be determined based on the calculated propagation time. Depending on the sampling time, the amplitude does not necessarily become 0. Therefore, the determination unit 161 determines a replacement time at which the amplitude of the binaural room impulse response is closest to 0.
[0104] The amplitude replacing unit 162 replaces all amplitudes of direct sound components of the binaural room impulse response with 0. That is, the amplitude replacing unit 162 replaces all amplitudes of the binaural room impulse response before the replacement time identified by the identifying unit 161 with 0.
[0105] The amplitude setting unit 163 sets the amplitude at time 0 of the binaural room impulse response in which the amplitudes of all direct sound components have been replaced by the amplitude replacing unit 162 to 0 to 1. By setting the amplitude at time 0 of the binaural room impulse response to 1, when the head impulse response is convolved with the binaural room impulse response, the direct sound component of the head impulse response appears in the binaural room impulse response.
[0106] The convolution unit 164 convolves the head impulse response with the binaural room impulse response whose amplitude at time 0 is set to 1 by the amplitude setting unit 163. This combines the direct sound component of the head impulse response and the reverberation sound component of the binaural room impulse response.
[0107] Note that the process by the signal processing device 1A in the second embodiment of the present disclosure is the same as the process by the signal processing device 1 in the first embodiment shown in Fig. 4, and only the synthetic binaural room impulse response creation process in step S3 is different. Therefore, in the following description, the synthetic binaural room impulse response creation process in the second embodiment will be described.
[0108] FIG. 11 is a flowchart for illustrating a synthetic binaural room impulse response creation process by the creation unit 15A according to the second embodiment of the present disclosure.
[0109] First, in step S21, the identifying unit 161 identifies a replacement time at which the amplitude of the binaural room impulse response is closest to zero in the end period of the direct sound component of the binaural room impulse response.
[0110] Next, in step S22, the amplitude replacing unit 162 replaces all amplitudes of direct sound components of the binaural room impulse response before the replacement time identified by the identifying unit 161 with zero.
[0111] Next, in step S23, the amplitude setting unit 163 sets the amplitude at time 0 of the binaural room impulse response in which the amplitudes of the direct sound components have all been replaced with 0 by the amplitude replacing unit 162 to 1.
[0112] Next, in step S24, the convolution unit 164 convolves the head impulse response with the binaural room impulse response, the amplitude of which at time 0 is set to 1 by the amplitude setting unit 163.
[0113] By the above synthetic binaural room impulse response creation process, a synthetic binaural room impulse response is created by combining the direct sound component of the head impulse response and the reverberation sound component of the binaural room impulse response.
[0114] In the above-mentioned synthetic binaural room impulse response creation process, synthetic binaural room impulse responses may be created for each of the left channel and the right channel. Also, synthetic binaural room impulse responses may be created for each of a plurality of head rotation angles. Also, when the rotation angle of the front direction of the user's head relative to the sound arrival direction is acquired, a synthetic binaural room impulse response corresponding to the acquired rotation angle may be created.
[0115] In this way, by convolving the head impulse response with the binaural room impulse response in which the amplitudes of all direct sound components are replaced with 0 and the amplitude at time 0 is set to 1, the direct sound components of the head impulse response and the reverberation sound components of the binaural room impulse response can be synthesized.
[0116] FIG. 12 is a diagram showing an example of a binaural room impulse response in the second embodiment.
[0117] In Fig. 12, the vertical axis indicates amplitude, the horizontal axis indicates time (msec), and the solid lines indicate binaural room impulse responses 221L and 221R. The waveform diagram on the left side of Fig. 12 indicates binaural room impulse response 221L of the left channel when the predetermined direction (0 degrees) from which sound arrives coincides with the front direction of the user, and the waveform diagram on the right side of Fig. 12 indicates binaural room impulse response 221R of the right channel when the predetermined direction (0 degrees) from which sound arrives coincides with the front direction of the user.
[0118] As shown in FIG. 12, the identifying unit 161 identifies replacement times 223L, 223R at which the amplitudes of the binaural room impulse responses 221L, 221R are closest to 0 in a terminal period (eg, 1.5 msec to 2.0 msec) of the direct sound components of the binaural room impulse responses 221L, 221R.
[0119] FIG. 13 is a diagram for explaining the process of replacing all amplitudes of direct sound components of a binaural room impulse response with 0 in the second embodiment.
[0120] In Fig. 13, the vertical axis indicates amplitude, the horizontal axis indicates time (msec), and the solid lines indicate binaural room impulse responses 221L and 221R. The waveform diagram on the left side of Fig. 13 indicates binaural room impulse response 221L of the left channel when the predetermined direction (0 degrees) from which sound arrives coincides with the front direction of the user, and the waveform diagram on the right side of Fig. 13 indicates binaural room impulse response 221R of the right channel when the predetermined direction (0 degrees) from which sound arrives coincides with the front direction of the user.
[0121] As shown in FIG. 13, the amplitude substitution unit 162 substitutes, with zero, all of the amplitudes of the direct sound components of the binaural room impulse responses 221L and 221R before the substitution times 223L and 223R.
[0122] FIG. 14 is a diagram for explaining the process of setting the amplitude of the binaural room impulse response at time 0 to 1 in the second embodiment.
[0123] In Fig. 14, the vertical axis indicates amplitude, the horizontal axis indicates time (msec), and the solid lines indicate binaural room impulse responses 221L and 221R. The waveform diagram on the left side of Fig. 14 indicates binaural room impulse response 221L of the left channel when the predetermined direction (0 degrees) from which sound arrives coincides with the front direction of the user, and the waveform diagram on the right side of Fig. 14 indicates binaural room impulse response 221R of the right channel when the predetermined direction (0 degrees) from which sound arrives coincides with the front direction of the user.
[0124] As shown in FIG. 14, the amplitude setting unit 163 sets the amplitudes of the binaural room impulse responses 221L and 221R, in which the amplitudes of the direct sound components have all been replaced by the amplitude replacing unit 162 with 0, to 1.0 at time 0.0.
[0125] FIG. 15 is a diagram showing an example of a synthetic binaural room impulse response in the second embodiment.
[0126] In Fig. 15, the vertical axis indicates amplitude, the horizontal axis indicates time (msec), and the solid lines indicate the composite binaural room impulse responses 224L and 224R. The left waveform diagram in Fig. 15 indicates the composite binaural room impulse response 224L of the left channel when the predetermined direction (0 degrees) from which the sound arrives coincides with the front direction of the user, and the right waveform diagram in Fig. 15 indicates the composite binaural room impulse response 224R of the right channel when the predetermined direction (0 degrees) from which the sound arrives coincides with the front direction of the user.
[0127] The synthetic binaural room impulse responses 224L, 224R are created by convolving the head impulse response with the binaural room impulse responses 221L, 221R in which the amplitudes of all direct sound components are replaced with 0 and the amplitude at time 0 is set to 1. Therefore, the synthetic binaural room impulse responses 224L, 224R are composed of the direct sound components of the head impulse response and the reverberation sound components of the binaural room impulse responses 221L, 221R.
[0128] Note that some or all of the functions of the device according to the embodiment of the present disclosure may be realized by a processor such as a CPU executing a program.
[0129] Furthermore, all the numbers used above are merely examples for the purpose of specifically explaining the present disclosure, and the present disclosure is not limited to the numbers exemplified.
[0130] In addition, the order in which each step is performed shown in the above flowchart is merely an example for specifically explaining the present disclosure, and an order other than the above may be used as long as the same effect is obtained. In addition, some of the steps may be performed simultaneously (in parallel) with other steps. [Industrial Applicability]
[0131] The technology disclosed herein is useful as a technology for localizing a sound image outside the user's head, since it can create a binaural room impulse response that includes desired head characteristics and desired spatial characteristics. [Explanation of symbols]
[0132] 1,1A Signal Processing Device 11 HRIR Database 12 BRIR Database 13 HRIR Acquisition Department 14 BRIR Acquisition Department 15,15A Creation Department 16 Output section 151 Peak position correction section 152 Specific part 153 Sound Component Substitution Unit 154 Sound pressure level change section 161 Specific section 162 Amplitude Substitution Unit 163 Amplitude setting section 164 Convolution section
Claims
1. 1. A computer-implemented method for signal processing comprising the steps of: acquiring a head impulse response indicative of a first head characteristic of a user; acquiring a binaural room impulse response indicative of a second head characteristic different from the first head characteristic and a spatial characteristic of a space in which the user is located; creating a synthetic binaural room impulse response by synthesizing a direct sound component of the head impulse response and a reverberation sound component of the binaural room impulse response; outputting the synthesized binaural room impulse response; A signal processing method comprising:
2. The synthesis of the binaural room impulse response is carried out as follows: trimming the waveforms of the binaural room impulse response and the waveforms of the head-based impulse response; identifying a replacement time at which a sound pressure difference between the head impulse response and the binaural room impulse response becomes minimum during a terminal period of the direct sound component of the head impulse response; replacing the direct sound components of the binaural room impulse response before the replacement time with the direct sound components of the head impulse response before the replacement time; Including, 2. The signal processing method according to claim 1.
3. The trimming includes trimming a waveform of the binaural room impulse response and a waveform of the head impulse response so that a time when the amplitude of the binaural room impulse response is maximized coincides with a time when the amplitude of the head impulse response is maximized.
3. The signal processing method according to claim 2.
4. The termination period is from 1.5 msec to 2.5 msec.
3. The signal processing method according to claim 2.
5. The creation of the synthetic binaural room impulse response further includes changing a sound pressure level of the direct sound component of the head impulse response before the replacement time according to a sound pressure level of the direct sound component of the binaural room impulse response before the replacement time.
3. The signal processing method according to claim 2.
6. The creation of the synthetic binaural room impulse response further includes changing a sound pressure level of the reverberation sound component of the binaural room impulse response after the replacement time in accordance with a sound pressure level of the direct sound component of the head impulse response before the replacement time.
3. The signal processing method according to claim 2.
7. The synthesis of the binaural room impulse response is carried out as follows: Replacing all amplitudes of direct sound components of the binaural room impulse response to 0; setting the amplitude of the binaural room impulse response at time 0 to 1; convolving the binaural room impulse response with the head-based impulse response; Including, 2. The signal processing method according to claim 1.
8. The creation of the synthetic binaural room impulse response further includes identifying a replacement time at which the amplitude of the binaural room impulse response is closest to 0 in a terminal period of the direct sound component of the binaural room impulse response; The replacement of the amplitudes includes replacing all the amplitudes of the binaural room impulse response before the replacement time with 0.
8. The signal processing method according to claim 7.
9. A signal processing device comprising a processor, The processor, A head impulse response indicative of a first head characteristic of the user is obtained; obtaining a binaural room impulse response indicative of a second head characteristic different from the first head characteristic and a spatial characteristic of a space in which the user is located; creating a synthetic binaural room impulse response by synthesizing a direct sound component of the head impulse response and a reverberation sound component of the binaural room impulse response; outputting the created synthetic binaural room impulse response; Signal processing device.
10. A head impulse response indicative of a first head characteristic of the user is obtained; obtaining a binaural room impulse response indicative of a second head characteristic different from the first head characteristic and a spatial characteristic of a space in which the user is located; creating a synthetic binaural room impulse response by synthesizing a direct sound component of the head impulse response and a reverberation sound component of the binaural room impulse response; causing a computer to output the created synthetic binaural room impulse response; Signal processing program.
Citation Information
Patent Citations
Signal processing device, signal processing method, and program
JP7384162B2
