Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
SYSTEM AND METHOD FOR INTERPOLATING A HEAD-RELATED TRANSFER FUNCTION
Document Type and Number:
WIPO Patent Application WO/2023/042078
Kind Code:
A1
Abstract:
This disclosure describes a system and method for Head-Related Transfer Function (HRTF) interpolation when an HRTF dataset does not contain a particular direction associated with a desired source. The disclosed HRTF interpolation uses a finite set of HRTFs from a dataset to obtain the HRTF of any possible direction and distance, even if the direction/distance doesn't exist on the current dataset.

Inventors:
DA COSTA SANTOS FONSECA NUNO MIGUEL (PT)
JORGE DOS REIS GUSTAVO MIGUEL (PT)
GOMES PRAZERES ASHLEY INES (PT)
Application Number:
PCT/IB2022/058629
Publication Date:
March 23, 2023
Filing Date:
September 13, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SOUND PARTICLES S A (PT)
International Classes:
H04R1/10; H04S7/00
Domestic Patent References:
WO2013142653A12013-09-26
Foreign References:
US20090041254A12009-02-12
US20190313200A12019-10-10
US20180302737A12018-10-18
US20090046864A12009-02-19
Download PDF:
Claims:
CLAIMS

What is claimed is:

1. A method, the method comprising: determining a first point of intersection for a 3D sound source relative to a left ear, wherein audio from the 3D sound source is operable for presentation via headphones; generating a first impulse response according to a first set of existing impulse responses, wherein the first set of existing impulse responses comprises three existing impulse responses, and wherein the first impulse response is generated by aligning in the time domain and interpolating a plurality of existing impulse responses of the first set of existing impulse responses; determining a second point of intersection for the 3D sound source relative to a right ear; and generating a second impulse response according to a second set of existing impulse responses.

2. The method of claim 1 , wherein the second set of existing impulse responses comprises three prerecorded impulse responses, and wherein the second impulse response is generated by time aligning and interpolating a plurality of existing impulse responses of the second set of existing impulse responses.

3. The method of claim 1 , wherein the method comprises in a dataset of impulse responses, and wherein each impulse response in the dataset of impulse responses is associated with a unique location of a sound source, and wherein each unique location of the sound source is equidistant from a location of the recording.

4. The method of claim 1 , wherein the first set of prerecorded impulse responses and the second set of prerecorded impulse responses are selected from a dataset, and wherein each impulse response in the dataset corresponds to an azimuth and an elevation, and wherein each azimuth and elevation corresponds to a vertex of a sphere mesh.

5. The method of claim 4, wherein the first point of intersection for the 3D sound source relative to the left ear is a first position on the sphere mesh as centered on the left ear, wherein the second point of intersection for the 3D sound source relative to the right ear is a second position on the sphere mesh as centered on the right ear.

6. The method of claim 5, wherein the first position on the sphere mesh is based on a first vector that begins at the left ear and passes through a desired sound source location, and wherein the second position on the sphere mesh is based on a second vector that begins at the right ear and passes through the desired sound source.

7. The method of claim 5, wherein every position on the sphere mesh is within a triangle section of the sphere mesh, and wherein the three prerecorded impulse responses correspond to three vertices of the triangle section.

8. The method of claim 1 , wherein the interpolation comprises generating a magnitude-interpolated impulse response by combining a plurality of weighted magnitudes of time aligned impulse responses.

9. The method of claim 8, wherein the method comprises a time alignment of the magnitude-interpolated impulse response, and wherein the time alignment is according to a weighted combination of delays associated with each of the three prerecorded impulse responses. 10. The method of claim 1 , wherein the method comprises mixing a mono component with the first impulse response and the second impulse response, if a desired sound source is located within a listener’s head.

11 . A non-transitory computer-readable medium having a plurality of code sections, each code section comprising a plurality of instructions executable by one or more processors to perform actions, wherein the actions of the one or more processors comprise: determining a first point of intersection for a 3D sound source relative to a left ear, wherein audio from the 3D sound source is operable for presentation via headphones; generating a first impulse response according to a first set of prerecorded impulse responses, wherein the first set of prerecorded impulse responses comprises three prerecorded impulse responses, and wherein the first impulse response is generated by time aligning and interpolating a plurality of prerecorded impulse responses of the first set of prerecorded impulse responses; determining a second point of intersection for the 3D sound source relative to a right ear; and generating a second impulse response according to a second set of prerecorded impulse responses.

12. The non-transitory computer-readable medium of claim 11 , wherein the second set of prerecorded impulse responses comprises three prerecorded impulse responses, and wherein the second impulse response is generated by time aligning and interpolating a plurality of prerecorded impulse responses of the second set of prerecorded impulse responses. 13. The non-transitory computer-readable medium of claim 11 , wherein the actions comprise controlling a device to record a dataset of impulse responses, and wherein each impulse response in the dataset of impulse responses is associated with a unique location of a sound source, and wherein each unique location of the sound source is equidistant from a location of the recording.

14. The non-transitory computer-readable medium of claim 11 , wherein the first set of prerecorded impulse responses and the second set of prerecorded impulse responses are selected from a dataset, and wherein each impulse response in the dataset corresponds to an azimuth and an elevation, and wherein each azimuth and elevation corresponds to a vertex of a sphere mesh.

15. The non-transitory computer-readable medium of claim 14, wherein the first point of intersection for the 3D sound source relative to the left ear is a first position on the sphere mesh as centered on the left ear, wherein the second point of intersection for the 3D sound source relative to the right ear is a second position on the sphere mesh as centered on the right ear.

16. The non-transitory computer-readable medium of claim 15, wherein the first position on the sphere mesh is based on a first vector that begins at the left ear and passes through a desired sound source location, and wherein the second position on the sphere mesh is based on a second vector that begins at the right ear and passes through the desired sound source.

17. The non-transitory computer-readable medium of claim 15, wherein every position on the sphere mesh is within a triangle section of the sphere mesh, and wherein the three prerecorded impulse responses correspond to three vertices of the triangle section. 18. The non-transitory computer-readable medium of claim 11 , wherein the interpolation comprises generating a magnitude-interpolated impulse response by combining a plurality of weighted magnitudes of time aligned impulse responses.

19. The non-transitory computer-readable medium of claim 18, wherein the actions comprises a time aligning the magnitude-interpolated impulse response, and wherein the time alignment is according to a weighted combination of delays associated with each of the three prerecorded impulse responses.

20. The non-transitory computer-readable medium of claim 11 , wherein the actions comprises mixing a mono component with the first impulse response and the second impulse response, if a desired sound source is located within a listener’s head.

Description:
SYSTEM AND METHOD FOR INTERPOLATING A HEAD-RELATED TRANSFER FUNCTION

BACKGROUND

[0001] Limitations and disadvantages of conventional approaches to interpolate a head-related transfer function (HRTF) will become apparent to one of skill in the art, through comparison of such approaches with some aspects of the present method and system set forth in the remainder of this disclosure with reference to the drawings.

BRIEF SUMMARY

[0002] A system and method for interpolating a head-related transfer function is provided substantially as illustrated by and/or described in connection with at least one of the figures, as set forth more completely in the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

[0003] Figure 1 illustrates an exemplary sound source positioned relative to a listener in accordance with aspects of this disclosure.

[0004] Figure 2 illustrates an exemplary sphere mesh of an HRTF dataset in accordance with aspects of this disclosure.

[0005] Figure 3 illustrates an exemplary alignment in time domain of impulse responses in accordance with aspects of this disclosure.

[0006] Figure 4 illustrates an exemplary sound source positioned in front of a listener and at a distance shorter than the original distance of the HRTF dataset in accordance with aspects of this disclosure.

[0007] Figure 5 illustrates an exemplary sound source positioned in front of a listener and outside the original distance of the HRTF dataset in accordance with aspects of this disclosure.

[0008] Figure 6A illustrates an exemplary sound source located above a listener and at a distance shorter than original distance of the HRTF dataset in accordance with aspects of this disclosure.

[0009] Figure 6B illustrates an exemplary sound source located above a listener and at a distance outside the original distance of the HRTF dataset in accordance with aspects of this disclosure.

[0010] Figure 7 is a flowchart that illustrates exemplary method of generating an HRTF in accordance with aspects of this disclosure. DETAILED DESCRIPTION

[0011] The perception of 3D sound can be obtained with headphones, thru the use of Head-Related Transfer Functions (HRTFs). An HRTF comprises a pair of filters (one for the left ear, another for the right ear) that when applied to a particular sound, give you the sense of a sound coming from a particular direction. To implement such systems, an HRTF dataset may be used. An HRTF dataset comprises a plurality of filter pairs, where each filter pair may correspond to a different direction.

[0012] This disclosure describes a system and method for HRTF interpolation when an HRTF dataset does not contain a particular direction. The disclosed HRTF interpolation uses a finite set of HRTFs from a dataset, to obtain the HRTF of any possible direction and distance, even if the direction/distance doesn’t exist on the current dataset.

[0013] The method for HRTF interpolation may be performed in spherical coordinates on the angle/direction (e.g., azimuth and elevation) of the sound source and the distance of the sound source.

[0014] Figure 1 illustrates an exemplary sound source 103 positioned relative to a listener 101. The azimuth 105 of the sound source 103 is determined in a clockwise direction from the x-axis 109. The elevation 107 of the sound source 103 is determined relative to the xy-plane 111 in the direction of the positive z-axis 113.

[0015] An HRTF dataset of Head-Related Impulse Responses (HRIRs) may be generated for different azimuths and elevations. Figure 2 illustrates an exemplary sphere mesh 201 of an HRTF dataset, where each of the vertices corresponds to a pair of HRIR. The HRTF dataset in Figure 2 comprises a pair of HRIR for each azimuth step of 15 degrees (i.e., 24 lines of longitude) and each elevation step of 15 degrees (i.e., 25 latitudes). Other step sizes or mesh structures, including HRTF datasets with multiple distances, are also envisioned by this disclosure. [0016] The sphere mesh 201 is generated (for instance, using a convex-hull method), using the azimuths and the elevations recorded in the dataset. This sphere mesh 201 comprises triangles (e.g., triangle section 205). Each vertex in each triangle corresponds to a position (azimuth and elevation) in the original HRTF dataset. For simulating a sound being emitted by an audio source from an audio source location 203, the triangle section 205 pertaining to that audio source position is identified.

[0017] While this disclosure is illustrated with single point sources that intercept the triangle at a single point, larger sound sources (that overlap multiple triangles) may also be used. While this disclosure is illustrated with a sphere mesh comprising triangles, other sphere meshes (comprising, for example, quadrilaterals) may also be used.

[0018] A weight (Wi,W2, and W3) of each triangle vertex is generated to triangulate the audio source location 203 within that triangle 205. These weights can be obtained using Vector-Base Amplitude Panning, or similar methods.

[0019] Each HRIR in the dataset may have a different initial delay (i.e., they may not be aligned to each other in the time domain). The proposed method implements an initial alignment in the time domain. Figure 3 illustrates an exemplary alignment in time domain of two HRIRs 301a and 303a.

[0020] Before alignment, the HRIRs 301a and 303a are converted to a higher sample rate (e.g. x1 ,000 times more resolution using a resampling algorithm). The time deviation (shift) between each HRIR 301a and 303a is determined by correlation. The HRIRs 301a and 303a may be aligned by padding zeros at the beginning or at the end, as necessary, or eventually by removing samples. For example, in Figure 2, HRIR 301a arrives after HRIR 303a. The delay of HRIR 301a is added to the beginning of HRIR 303a to generate time-shifted HRIR 303b. To maintain the same length as time-shifted HRIR 303b, zeros are appended to the end of HRIR 301a to generate HRIR 301 b. [0021] The time alignment can either be done within each triangle (aligning the 3 vertices of a triangle), but it can also be done globally (alignment of all vertices between them).

[0022] The weights (Wi, W2, and W3) are applied to the HRIRs of each vertex to compute the interpolated HRIR at the desired audio source location 203.

[0023] The weights (W1, W2, and W3) are also used to affect the time shift of the obtained HRIR. As such, the final time shift will be given by the weighted average of the time shifts computed during the alignment process.

[0024] After alignment, the obtained HRIR is converted back to the original sample rate (e.g. using a resampling algorithm).

[0025] To interpolate distance from a sound source, a different azimuth (az) and/or elevation (el) is selected for each ear.

[0026] Figure 4 illustrates an example sound source 405 located in front of a listener and at a distance shorter than the distance of the HRTF dataset. Relative to the center of the head, the sound source is located at az = 0°, nonetheless, regarding the left ear 401 , the sound comes from the same direction as position 407, and regarding the right ear 403, the sound comes from the same direction as position 409. The proposed method uses these separated directions for each ear, instead of using a common direction as regular approaches.

[0027] For processing, an example head width of 18cm (9cm to each side of the center) may be considered. Although any head size may be substituted.

[0028] Figure 5 illustrates an example sound source 505 located in front of and outside the HRTF distance. Relative to the center of the head, the sound source is located at az = 0°, nonetheless, regarding the left ear 401 , the sound comes from the same direction as position 507, and regarding the right ear 403, the sound comes from the same direction as position 509. The proposed method uses these separated directions for each ear, instead of using a common direction as regular approaches.

[0029] Figure 6A illustrates an example sound source 601 located above a listener and at a distance shorter than the HRTF distance. The sound source is located on the z- axis 113 (el = 90°). From the left ear 401 point-of-view and the right ear 403 point-of- view, each elevation is the same and is less than 90°. The virtual position 607 will be used for left ear 401 , and the virtual position 609 will be used for the right ear 403.

[0030] Figure 6B illustrates an example sound source 603 located above a listener and at a distance outside the HRTF distance. The sound source is located on the z-axis 113 (el = 90°). From the left ear 401 point-of-view and the right ear 403 point-of-view, each elevation is the same and is less than 90°. The virtual position 607 will be used for left ear 401 , and the virtual position 609 will be used for the right ear 403.

[0031] Figure 7 is a flowchart that illustrates exemplary method of interpolating an HRTF in accordance with aspects of this disclosure. At 701 , an HRTF dataset is opened and loaded into the system. For example, each vertex of each triangle section lies on the HRTF sphere.

[0032] At 703, a triangulation is performed over an HRTF sphere.

[0033] At 705, each HRIR is upsampled to obtain a higher quality.

[0034] At 707, for each triangle, the HRIR of all vertices are aligned in the time domain.

[0035] At 709, the system gets the position of the sound source in relation to the left ear position. For the left ear position: the system identifies which triangle contains the desired direction at 711 ; an impulse response is obtained with a weighted version of all vertices HRIRs at 713 (the weights are also used to apply a time offset to the obtained HRIR; and the HRIR is downsampled, to the original sample rate at 715. Note, for a point on the HRTF sphere that falls exactly on an edge or vertex of multiple triangle sections, only one triangle section needs to be considered. Then, the weight of each vertex is calculated.

[0036] At 717, the system gets the position of the sound source in relation to the right ear position. For the right ear position: the system identifies which triangle contains the desired direction at 719; an impulse response is obtained with a weighted version of all vertices HRIRs at 721 (the weights are also used to apply a time offset to the obtained HRIR; and the HRIR is downsampled, to the original sample rate at 723. Note, for a point on the HRTF sphere that falls exactly on an edge or vertex of multiple triangle sections, only one triangle section needs to be considered. Then, the weight of each vertex is calculated.

[0037] While the present system has been described with reference to certain implementations, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the present system. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the present disclosure without departing from its scope. Therefore, it is intended that the present method and/or system not be limited to the particular implementations disclosed, but that the present system will include all implementations falling within the scope of the appended claims.

[0038] As utilized herein the terms “circuits” and “circuitry” refer to physical electronic components (i.e. hardware) and any software and/or firmware (“code”) which may configure the hardware, be executed by the hardware, and or otherwise be associated with the hardware. As used herein, for example, a particular processor and memory may comprise first “circuitry” when executing a first one or more lines of code and may comprise second “circuitry” when executing a second one or more lines of code. As utilized herein, “and/or” means any one or more of the items in the list joined by “and/or”. As an example, “x and/or y” means any element of the three-element set {(x), (y), ( y)}- |n other words, “x and/or y” means “one or both of x and y”. As another example, “x, y, and/or z” means any element of the seven-element set {(x), (y), (z), (x, y), (x, z), (y, z), (x, y, z)}. In other words, “x, y and/or z” means “one or more of x, y and z”. As utilized herein, the term “exemplary” means serving as a non-limiting example, instance, or illustration. As utilized herein, the terms “e.g.,” and “for example” set off lists of one or more non-limiting examples, instances, or illustrations. As utilized herein, circuitry is “operable” to perform a function whenever the circuitry comprises the necessary hardware and code (if any is necessary) to perform the function, regardless of whether performance of the function is disabled or not enabled (e.g., by a user- configurable setting, factory trim, etc.).