METHOD AND SYSTEM FOR HEAD-RELATED TRANSFER FUNCTION ADAPTATION
20220279304 · 2022-09-01
Assignee
Inventors
- Xiaonan HAN (Nanshan Shenzhen, Guangdong, CN)
- Shao-Fu SHIH (Mountain View, CA, US)
- Jianwen ZHENG (Nanshan Shenzhen, Guangdong, CN)
- Ming ZHOU (Nanshan Shenzhen, Guangdong, CN)
Cpc classification
G10K11/17881
PHYSICS
G10K11/17833
PHYSICS
H04S2420/01
ELECTRICITY
G10K2210/1081
PHYSICS
G10K11/17817
PHYSICS
International classification
H04S7/00
ELECTRICITY
G10K11/178
PHYSICS
Abstract
The disclosure provides a method and a system for head-related transfer function (HRTF) adaptation. The method includes performing a system identification. The system identification includes a pinna identification and a shadowing identification.
Claims
1. A method for head-related transfer function (HRTF) adaptation, comprising: performing a system identification, the system identification comprising a pinna identification and a shadowing identification.
2. The method of claim 1, further comprising: performing a system compensation based on an adapted HRTF obtained from the system identification.
3. The method of claim 2, wherein the system compensation comprises generating an HRTF rendering matrix based on an output of the pinna identification and the shadowing identification.
4. The method of claim 1, wherein the pinna identification comprises: obtaining an adapted HRTF from an ear reference point (ERP) to an ear entrance point (EEP); performing curve fitting to obtain a compensation curve of the HRTF, based on the adapted HRTF; and multiplying an audio signal in a frequency domain (FD) by the compensation curve of the HRTF.
5. The method of claim 4, wherein the compensation curve is an inversed function of the HRTF.
6. The method of claim 1, wherein the pinna identification is implemented by a feedback loop of an active noise canceller (ANC) including an adapted controller.
7. The method of claim 1, wherein the shadowing identification is implemented by a feedforward loop of an active noise canceller (ANC) including an adapted controller.
8. The method of claim 1, wherein the shadowing identification comprises: inputting a first audio signal received from a reference microphone and a second audio signal received from an error microphone into an adapted controller, and obtaining an adapted HRTF.
9. The method of claim 8, further comprising: performing a system compensation by a hybrid output of the adapted HRTF obtained from the pinna identification and the adapted HRTF obtained from the shadowing identification.
10. A system for head-related transfer function (HRTF) adaptation, comprising: a memory configured to store computer-readable instructions; and a processor configured to perform a system identification when executing the computer-readable instructions, the system identification comprising a pinna identification and a shadowing identification.
11. The system of claim 10, wherein the processor is further configured to perform a system compensation based on an adapted HRTF obtained from the system identification.
12. The system of claim 10 or 11, wherein the processor is further configured to generate an HRTF rendering matrix based on an output of the pinna identification and the shadowing identification.
13. The system of claim 10, wherein the processor is further configured to perform the pinna identification by: obtaining an adapted HRTF from an ear reference point (ERP) to an ear entrance point (EEP); performing curve fitting to obtain a compensation curve of the HRTF based on the adapted HRTF; and multiplying an audio signal in a frequency domain (FD) by the compensation curve.
14. The system of claim 13, wherein the compensation curve is an inversed function of the HRTF.
15. The system of claim 10, wherein the processor is further configured to implement the pinna identification by a feedback loop of an active noise canceller (ANC) including an adapted controller.
16. The system of claim 10, wherein the processor is further configured to implement the shadowing identification by a feedforward loop of an active noise canceller (ANC) including an adapted controller.
17. The system of claim 10, wherein the processor is further configured to perform the shadowing identification by: inputting a first audio signal received from a reference microphone and a second audio signal received from an error microphone into an adapted controller, and obtaining an adapted HRTF.
18. The system of claim 17, wherein the processor is further configured to perform a system compensation based on a hybrid output of the adapted HRTF obtained from the pinna identification and the adapted HRTF obtained from the shadowing identification.
19. (canceled)
20. A computer-program product embodied in a non-transitory computer read-able medium that is programmed for providing for head-related transfer function (HRTF) adaptation speech separation, the computer-program product comprising instructions for: performing a system identification, the system identification comprising a pinna identification and a shadowing identification.
21. The computer-program product of claim 20, wherein the pinna identification comprises: obtaining an adapted HRTF from an ear reference point (ERP) to an ear entrance point (EEP); performing curve fitting to obtain a compensation curve of the HRTF, based on the adapted HRTF; and multiplying an audio signal in a frequency domain (FD) by the compensation curve of the HRTF.
Description
DESCRIPTION OF THE DRAWINGS
[0018] The present disclosure can be better understood by reading the following description of non-limiting implementations with reference to the accompanying drawings. The parts in the figures are not necessarily to scale, but the focus is placed on explaining the principle of the present invention. In addition, in the figures, similar or identical reference numerals refer to similar or identical elements.
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
DETAILED DESCRIPTION
[0026] It should be understood that the following description of the embodiments is given for illustrative purposes only, and not restrictive. The division of examples in the functional blocks, modules, or units shown in the drawings should not be construed as representing these functional blocks, and these modules or units must be implemented as physically separated units. The functional blocks, modules, or units shown or described can be implemented as individual units, circuits, chips, functions, modules, or circuit elements. One or more functional blocks or units can also be implemented in a common circuit, chip, circuit element, or unit.
[0027] Any one or more of the processor, memory, or system described herein includes computer-executable instructions that may be compiled or interpreted from computer programs created using various programming languages and/or technologies. Generally speaking, a processor (such as a microprocessor) receives and executes instructions, for example, from a memory, a computer-readable medium, etc. The processor includes a non-transitory computer-readable storage medium capable of executing instructions of a software program. The computer-readable medium may be, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination thereof.
[0028]
[0029] For the system identification, reference may be made to an acoustic echo canceller (AEC) in a telecommunication system for modeling. For the convenience of illustration,
[0030] Pinna Identification (ERP to EEP)
[0031] The pinna identification (ERP to EEP) of one aspect of the present disclosure will be described below with reference to
[0032] In order to describe an individual difference (HRTF) between the pinna (speaker (spk) at the ERP) and the ear canal (error microphone (mic) at the EEP) that affects the spatial fidelity, a feedback loop in
[0033] Next, the process of the pinna identification will be described in detail.
[0034] First, the HRTF from the ERP to the EEP (H.sub.0) is obtained. This process may be implemented in two ways. One way includes: capturing any reference audio signal from the earphone spk, recording the signal by the error microphone, and then transforming the signal from a time domain (TD) to an FD through fast Fourier transform (FFT). Another way includes: obtaining the adapted HRTF (H.sub.0) using an AEC adapted loop. For the convenience of understanding,
[0035] Next, an HRTF compensation curve (H.sub.0.sup.−1) is obtained by curve fitting of H.sub.0. For example, if a known filter is given, curve fitting may be modeled as an arbitrary amplitude filter design.
[0036] Finally, an audio signal in the FD is multiplied by the HRTF compensation curve (H.sub.0.sup.−1) before is the audio signal is reproduced through the speaker spk.
[0037]
[0038] Shadowing Identification (Far Field to EEP)
[0039] A system model of the shadowing identification may be the same as a feedforward loop designed by an ANC.
[0040] Given the combined binaural feedforward ANC, different HRTFs between left and right ERPs/EEPs describe a shadowing effect of the head, which will be separately and adaptively compensated according to a 3D audio.
[0041] A mono feedforward ANC shown in
[0042]
[0043] Assuming that the noise source captured by reference microphone 2 will be regarded as a reference signal X(Z) and the signal captured by error microphone 3 will be regarded as an input signal Y(Z), it is finally estimated that an echo cancellation transfer function H(z) will be associated with N(z) (such as a low-pass filter in the FD) and H.sub.0.
[0044] According to an aspect of the present disclosure, a priori estimation may be incorporated into the ANC feedforward loop to obtain better and more stable performance based on measurement results. In actual operation, the low-pass filter (for example, the cutoff frequency is 3 kHz) and H.sub.0 derived through a feedback loop will be multiplied by the reference microphone signal X(Z) in the FD within the NLMS AEC system.
[0045] In a solution of the present disclosure, after a pinna identification and a shadowing identification are performed on the system, an obtained adapted HRTF may be applied to an ANC earphone to achieve accurate and personalized HRTF measurement and adaptation during the use of the ANC earphone. Further, a hybrid (feedback+feedforward) adapted ANC earphone design may be provided to adapt to different adaptation states.
[0046] System Compensation
[0047] For a 3D virtual surround earphone, for example, in order to finally reproduce the HRTF for a customer, reverse mapping is required to measure and map a near-field TF and an incomplete directional shadowing function to a 360-degree model. This process may be modeled as a sparsity problem in the field of statistical analysis. For example, a reference head model is used to collect a large number of near-field and far-field measurements and train a deep neural network (DNN). Data is collected in the form of impulse responses that are located around the space and have different degrees and distances.
[0048] Then, during calculation, the measured shadowing function and pinna response may be used as an input to generate a 360-degree HRTF rendering matrix to achieve a system compensation effect.
[0049] In the binaural hearing modeling research, the HRTF may generally be divided into two free-field spatial characteristics, namely a far field (for example, the distance is greater than 1.0 m) and a near field (for example, the distance is less than 1.0 m) according to the distance from the sound source to the center of the head. The manner in which the source of a free-field sound is determined mainly depends on the following three acoustic cues: (a) interaural time difference (ITD), (b) interaural intensity difference (ILD), and (c) acoustic filtering, that is, a spectrum cue derived from the shapes of the ears, head and body of a person. The near-field HRTF depends on a human body structure, especially an external ear structure composed of the pinna, the ear canal and the ear drum.
[0050]
[0051] The FD has become the first choice for an AEC, because the FD can implement a high-order adapted filter H(z) with high convergence speed and medium computational complexity. The two basic modules of NLMS AEC filtering and adaptation are shown in
[0052] In the FD, fast convolution/correlation technologies are usually used to implement the AEC. The cross-correlation between an error signal e(i) and a reference signal x(i) in the TD is equal to E(z) in the FD multiplied by X*(z) (X*(z) is the conjugate of X(z)).
[0053] An AEC version as shown in
[0054] The following is a brief description of some basic mathematical principles of NLMS AEC. Those skilled in the art can understand that the following description is only to help understand the basic principles of NLMS AEC, rather than specific limitations.
[0055] Based on Wiener-Khinchin and Parseval theorems,
Φ.sup.xx(z)=X(z).Math.X*(z)
[0056] The adaptation of an echo canceller H(z) is implemented as follows, for example:
[0057] An optimal step size μ.sub.opt(z) is derived based on a relationship between E(z) and X(z), which will be simulated, analyzed and fine-tuned in practice. In practice, larger μ.sub.opt(z) will converge quickly, but may cause instability. Smaller μ.sub.opt(z) will converge slowly, but sometimes it cannot meet practical applications.
[0058] The present disclosure further provides a system, which includes a memory and a processor. The memory is configured to store computer-readable instructions. The processor is configured to perform a system identification when executing the computer-readable instructions. The system identification includes a pinna identification and a shadowing identification.
[0059] The description of the implementations has been presented for the purposes of illustration and description. Appropriate modifications and changes of the implementations can be implemented in view of the above description or can be obtained through practical methods. For example, unless otherwise indicated, one or more of the methods described may be performed by a combination of suitable devices and/or systems. The method can be performed in the following manner: using one or more logic devices (for example, processors) in combination with one or more additional hardware elements (such as storage devices, memories, circuits, hardware network interfaces, etc.) to perform stored instructions. The method and associated actions can also be executed in parallel and/or simultaneously in various orders other than the order described in this application. The system is illustrative in nature, and may include additional elements and/or omit elements. The subject matter of the present disclosure includes all novel and non-obvious combinations of the disclosed various methods and system configurations and other features, functions, and/or properties.
[0060] As used in this application, an element or step listed in the singular form and preceded by the word “one/a” should be understood as not excluding a plurality of said elements or steps, unless such exclusion is indicated. Furthermore, references to “one implementation” or “an example” of the present disclosure are not intended to be interpreted as excluding the existence of additional implementations that also incorporate the recited features.