Method for obtaining position of sound source

By recording multiple sound signals between the sound source and a dedicated reference point, and using time-frequency domain filters and cross-correlation technology, the problem of difficult sound source localization in existing spatial audio microphone technology is solved, achieving high quality and low cost. Sound source localization and processing, suitable for a variety of application scenarios.

CN118633032APending Publication Date: 2024-09-10NOMONO CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202280090694.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2021-12-22
Filing Date
2022-12-21
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing spatial audio microphone technology has problems such as sound quality degradation and difficulty in sound source identification when capturing multiple sound sources or noisy environments. Moreover, the cost is high and it is difficult to achieve flexible applications.

Method used

By recording multiple sound signals between the sound source and a dedicated reference point, using time-frequency domain filters and cross-correlation technology, the distance and angle of the sound source are independently determined to achieve offline and real-time processing, which is suitable for sound source positioning in different scenarios. .

Benefits of technology

It achieves precise determination of the location of the sound source, reduces costs, and improves the quality and flexibility of sound recording. It is suitable for a variety of applications such as podcasts, movies, and virtual reality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118633032A
    Figure CN118633032A
Patent Text Reader

Abstract

The invention relates to a method for obtaining the position of a sound source relative to a dedicated reference point. A first sound signal and a plurality of second sound signals synchronized in time are recorded. The position may be obtained by applying the estimated filter to an associated signal derived by associating the first sound signal with at least one of the plurality of second sound signals in the frequency domain. In the time domain, two timing values are derived in at least one filtered and associated signal exceeding a dedicated threshold. A distance between the dedicated reference point and the sound source is then calculated based on the first timing value and the second timing value respectively obtained.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Danish application PA202170662 filed on December 22, 2021, the disclosure of which is incorporated herein by reference in its entirety. Technical Field

[0003] The present invention relates to a method for obtaining the position of a sound source relative to a dedicated reference point. The present invention also relates to a computer system and a non-transitory computer-readable storage medium. Background Art

[0004] Soundfield or spatial audio systems and formats such as Soundfield Surround or Dolby Atmos provide coded sound information associated with a given sound scene. In this way, position information can be assigned to sound sources within the sound scene. These techniques are known in certain computer games, where recorded sounds are attributed to game object position information, but they are also known in the live capture of events, such as capturing a large orchestra or a sporting event. The number of possible applications is therefore huge and ranges from the immersive effects indicated above, for example by having the impression of participating in a sporting event, to virtual or augmented reality experiences.

[0005] In many cases, using spatial audio microphones to record sound for such applications is a challenge in itself. While these techniques are useful for capturing live sound field information from a specific point in space, these techniques also have some technical limitations, as they are based on beamforming techniques and are generally considered expensive. For example, the sound quality of a person located farther from the microphone may be reduced. In the case of greater noise or reverberation, or if more than one person is speaking, it is difficult to identify and isolate individual sound sources for the purpose of equalization or other processing techniques.

[0006] At the same time, audio content creators also recognize the need for high-quality audio, including the use of spatial audio information, in order to improve the quality of sound recordings or add additional sound effects to increase the listener's immersion. Therefore, a lower-cost solution is needed that realizes the benefits and advantages of advanced spatial audio microphones. The solution should work hardware-independently, allowing flexible use in different scenarios. Summary of the invention

[0007] The present disclosure and the principles proposed therein provide a method for achieving several of the benefits and advantages described above. The inventors have discovered a method that provides accurate determination of the location of a sound source relative to a dedicated reference point, both in distance and angle. The proposed method is largely independent of the hardware used and can be extended to different quality levels. In addition, the method allows for both offline processing and real-time processing. As a result, the proposed method can be included in a variety of applications, including but not limited to sound capture and processing for podcasts, movies, live broadcasts or other events, audio and teleconferencing, virtual reality, video game applications, and the like.

[0008] In one aspect, the inventors propose a method for determining the position of a sound source relative to a dedicated reference point. In this regard, the term "position" does include the distance from the sound source to the dedicated reference point, the angle based on one or two axes passing through the reference point, or a combination thereof. The method obtains a first sound signal recorded at the sound source. Similarly, a plurality of second sound signals are recorded at positions in a known relationship to the dedicated reference point. The first sound signal and the plurality of second sound signals are synchronized in time.

[0009] Typically, it is assumed that the first sound signal is recorded near the sound source, which means that the distance is relatively small compared to the distance between the sound source and the dedicated reference point. However, the term "at the sound source" should not be understood in a very limited sense. On the contrary, the statement should include and allow for a specific distance between the actual sound source and the microphone. Similarly, multiple second sound signals are recorded at different locations, for which the distance and angle to the reference point are known. Time synchronization is important for the proposed method in subsequent steps. In some cases, this time synchronization can be achieved by providing a common time base for any sound signal recorded. In some other cases, the recorded sound signal can be used to provide a time base, for example by time correlation of a dedicated start signal recorded and contained in the first sound signal and multiple second sound signals.

[0010] A filter of the first sound signal acting on the signal-to-noise ratio in each frequency bin of the first sound signal in the time-frequency domain is now estimated. Next, the first sound signal is correlated with at least one of the plurality of second sound signals in the frequency domain to obtain at least one correlated signal. In some cases, the first sound signal is correlated with each of the plurality of second sound signals to obtain a plurality of correlated signals.

[0011] A previously estimated filter is applied to at least one correlated signal to obtain at least one filtered and correlated signal.

[0012] In a next step, the distance between the dedicated reference point and the sound source can be estimated. To this end, a first timing value in at least one filtered and associated signal exceeding a dedicated threshold in the time domain is obtained. A second timing value is also obtained, which corresponds to the threshold in at least one filtered and associated signal based on the first timing value.

[0013] The distance between the dedicated reference point and the sound source is now derived based on the respectively obtained first and second timing values. If more than one filtered and associated signal was derived in the previous step, multiple distances may be obtained, thereby enabling the distance determination to be improved (e.g. by calculating an average including error tolerances etc.).

[0014] Alternatively or additionally, the angle of the sound source relative to an axis passing through a dedicated reference point can be calculated. To this end, at least two filtered and associated signals and an optional a priori estimate or knowledge of the microphone position providing the plurality of second sound signals are utilized. In a subsequent step, after applying the above-mentioned filter and correlating the filtered first signal with at least two of the plurality of second sound signals in the frequency domain to obtain at least two associated sound signals, at least two filtered and associated sound signals are truncated around a specific time period. Then, a mutual correlation between the truncated pairs of filtered and associated sound signals is obtained. The angle of arrival of the filtered first sound signal is derived by projecting the obtained mutual correlation in a spherical space based on a priori estimates or knowledge of the microphone positions providing the plurality of second sound signals.

[0015] With the proposed method, distance and angle can be obtained independently of each other. Correlating the two different signals can be done offline on the recorded and stored sound signals and in real time if needed, enabling the method to be used in a variety of applications. Furthermore, the first sound signal and the second sound signal can be exchanged as well as slowly moving sound sources can be derived. By correlating different first sound signals, the accuracy of the proposed method can be further improved. The method is robust to sound reflections, which is useful during recording sessions in closed spaces.

[0016] The speed at which sound propagates in an object depends on the temperature of the object. For accurate measurement, the air temperature is measured, especially in the vicinity of the plurality of second sound sources. This measurement can be repeated periodically to compensate for the temperature that changes during the recording period. The distance is estimated in response to the derived air temperature.

[0017] In some cases, the above-mentioned specific time period is proportional to the maximum flight time between two different positions of the plurality of second sound signals. The window defined by the specific time period ensures that sound reflections caused by room walls or other large objects are ignored during the cross-correlation step. This also means that the distance between two different positions of the plurality of second sound signals can be adjusted according to the environment of the recording session, thereby further increasing the flexibility of the proposed method.

[0018] In some cases, the step of truncating the filtered and associated sound signals includes a step of upsampling. The upsampling is performed on a plurality of filtered and associated sound signals; or the upsampling is performed based on a truncated filtered and associated sound signal. This step provides a finer temporal resolution, thereby providing a higher resolution for distance and angle determination. In terms of angle determination, a correlation can be obtained by applying the manipulation response to each truncated filtered and associated sound signal.

[0019] The positions of the maximum values ​​of the mutual correlation of the second sound signal pairs (associated with certain positions) (or the PHAT for SRP-PHAT) correspond to the arrival time differences between these positions. The knowledge about the positions where the second sound signals were recorded can be used to map the arrival time differences to the angle of incidence. Therefore, the mutual correlation can be projected in spherical space instead of the time domain. This is performed for all filtered and truncated mutual correlation estimates for a suitable set of second position pairs (or their corresponding associated second sound signals) in order to determine the arrival angle suitable for the application. For example, in the case where the sound source is only in the horizontal plane, it is sufficient to use a set of positions instead of spanning this plane, thereby reducing the computational complexity. The projected estimates are then simply added together and a search for the maximum is performed. The position of the maximum corresponds to the arrival angle.

[0020] In some other examples, the step of estimating the filter for the first sound signal includes estimating a spectrum mask. For such a spectrum mask filter, the signal-to-noise ratio SNR can be determined based on the noise of each time slice in response to the previous time slice. If the signal-to-noise ratio for a given frequency does not exceed a predetermined threshold, the spectrum mask parameter is set to 0. Similarly, if the signal-to-noise ratio reaches a predetermined threshold, the spectrum mask parameter is set to 1 for the given frequency. In some other examples, the filter that estimates the signal-to-noise ratio in each frequency interval acting on the first sound signal includes the following steps: applying a quantile filter, in particular a median filter, to smooth the power spectrum of each time slice of the power spectrum derived from one or more first recorded sound signals. Then, in response to the previous time slice, the noise of each time slice is estimated. As in the previous method, it is evaluated whether the signal-to-noise ratio for a given frequency exceeds a predetermined threshold. Therefore, in response to whether the signal-to-noise ratio exceeds a predetermined threshold, the filter parameter of the frequency is set to 1 or 0. In some other examples, the filter that estimates the signal-to-noise ratio in each frequency interval acting on the first sound signal includes a step of applying a residual signal from a denoising process as a noise estimate. The denoising process can be based on machine learning. As in the previous method, it is evaluated whether the signal-to-noise ratio for a given frequency exceeds a predetermined threshold. Therefore, in response to whether the signal-to-noise ratio of a given frequency exceeds a predetermined threshold, the filter parameter of the frequency is set to 1 or 0.

[0021] Some further examples relate to the step of associating a first sound signal with at least one of a plurality of second sound signals. A short-time Fourier transform (STFT) is applied to the first sound signal and at least one of the plurality of second sound signals to obtain a corresponding spectrogram. Then, a cross-spectrum on the corresponding spectrogram is obtained, and the previously obtained filter is applied to the cross-spectrum. The correlated and now filtered spectrogram is transformed back to the time domain by performing an inverse short-time Fourier transform (ISTFT). This will provide a filtered and associated first sound signal.

[0022] Some other cases involve the delay of sounds recorded at two different locations. Both locations are associated with a first sound signal recorded at the corresponding location. The proposed method provides a simple tool to calculate the distance between the locations associated with two or more first sound signals. This is not only useful for estimating possible crosstalk between two or more microphones (recording the first sound signals), but also provides information about the relative distances between the microphones, which can be used for post-processing of position estimation. As a result, the method can be used to obtain information about a sound source that is at a certain distance from the location where the two (or more) first sound signals were recorded.

[0023] In some examples, a filter is estimated that acts on the signal-to-noise ratio in each frequency interval of one of the two first sound signals in the time-frequency domain. This processing is performed for the two first sound signals so that two different filters are estimated. Then, the first of the two first sound signals is correlated with the second of the two first sound signals in the frequency domain, and the estimated filter associated with the first of the two sound signals is applied. The process can be repeated for the second of the two first sound signals and its corresponding filter. The time difference between the associated signals is estimated. The time difference provides information about possible crosstalk in one of the first sound signals. Therefore, one of the two first sound signals based on the evaluation of the time difference can be selected as one or more first sound signals and used for further processing.

[0024] In some cases, the above-mentioned correlation step may include performing a short-time Fourier transform (STFT) on the corresponding two first sound signals to obtain a spectrogram. A cross spectrum is derived from the corresponding spectrogram, and the filter is applied to the obtained cross spectrum. In order to finally obtain the filtered and associated first sound signal, an inverse short-time Fourier transform (ISTFT) is performed to obtain the filtered first sound signal.

[0025] It is useful to position the microphone recording the second sound signal at a dedicated location. For example, the plurality of second sound signals may include four audio sound signals, wherein two of the four sound signals are recorded at a maximum spatial distance of 15 cm. This distance is typically small enough to avoid accidentally recording both direct sound and reflected sound of the same source, while being large enough to provide sufficient difference when the second sound signal is cross-correlated with the first sound signal without excessive upsampling.

[0026] Some additional aspects relate to the identification and processing of moving sound sources. Such sources may be difficult to identify because moving sound sources will affect the STFT through Doppler shift. In addition, the estimated noise can be identified as a moving sound source or two or more sound sources located at different locations. To this end, the estimated distance between the dedicated reference point and one or more sound sources can be fed to a Kalman filter (or a particle filter if the estimated noise is non-Gaussian, which will be the case for outliers).

[0027] In some further examples, a computer system is provided, comprising one or more processors and a memory. The memory is coupled to the one or more processors and comprises instructions, which, when executed by the one or more processors, cause the one or more processors to perform the above-mentioned method and its respective steps. Similarly, a non-transitory computer-readable storage medium may be provided, comprising computer-executable instructions for performing the method according to any one of the preceding claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Other aspects and embodiments according to the proposed principles will become apparent with respect to the various embodiments and examples described in detail in conjunction with the accompanying drawings, in which:

[0029] Figure 1 An embodiment of the proposed method is shown, which shows several processing steps for determining the location of a sound source;

[0030] Figure 2 The steps of applying a frequency-weighted phase transform of a spectral mask to obtain a filtered and associated signal are shown;

[0031] Figure 3 is an illustrative view of a recording environment having several microphones to record a more complex sound field scenario;

[0032] Figure 4 A process flow of a method according to some aspects of the proposed principles is shown. DETAILED DESCRIPTION

[0033] The following embodiments and examples disclose different aspects and combinations thereof according to the proposed principles. The embodiments and examples are not always to scale. Similarly, different elements may be displayed in an enlarged or reduced manner to emphasize various aspects. It goes without saying that the various parts of the embodiments and examples shown in the figures can be combined with each other without going into details, which does not conflict with the principles of the present invention. Some aspects show regular structures or forms. It should be noted that in practice, slight differences and deviations from the ideal form may occur, however, this does not conflict with the idea of ​​the present invention.

[0034] In addition, the various figures and aspects are not necessarily shown at the correct scale, and the ratios between the various elements are not necessarily substantially correct. Some aspects are highlighted by showing them enlarged. However, terms such as "above", "below", "larger", "smaller", etc. are correctly expressed relative to the elements in the figures. Therefore, such relationships between the elements can be inferred based on the figures.

[0035] Figure 3 An application using the method according to the proposed principles is shown. The scenario corresponds to a typical sound recording session, where multiple sound signals are recorded to obtain the sound field of the scenario. Although this example uses a voice recording of a natural person, it can be appreciated that the method and principles disclosed herein are not limited to speech processing or finding the location of a natural person. Instead, it can be used to locate any dedicated sound source relative to a reference point.

[0036] This scene includes two sound sources, as shown by P1 and P2, which in this embodiment are two people having a conversation in an at least partially enclosed space. Each person holds a microphone M1 and M2 near their respective bodies. Therefore, microphones M1 and M2 can be associated as being at the position of the corresponding sound source. A plurality of second microphones M3 and M4 are located at position B1. Position B1 is also defined as a reference point. Therefore, people P1 and P2 are respectively located at a specific distance and angle towards reference point B1, and are also spaced apart from each other. A wall W is located on one side, generating reflections during the speech of each sound source P1 and P2.

[0037] Microphones M1, M2, M3 and M4 are time synchronized with each other, i.e., recording the sound in this scenario is done using a common time base. When recording a conversation, microphone M1 records the voice of person P1 and, with some delay, also the voice of person P2. Likewise, microphones M3 and M4 record the voices of persons P1 and P2 with some delay due to the speed of sound and the distance of person P1 from reference point B1. Depending on the distance, the delays are different, but in any case, the direct path from the sound source to one of microphones M3 and M4 is called direct sound.

[0038] Assuming now that there is only a single sound source P1, the distance can be simply calculated using the direct sound; ie using the direct sound directed towards the reference point B1; ie by measuring the time delay between the sound signal recorded by microphone M1 and one of microphones M3 or M4 multiplied by the speed of sound.

[0039] Since the speed of sound depends on the temperature, a temperature sensor T1 is located near the microphones M3 and M4 to measure the air temperature, correcting for the effects of temperature variations. The above scenario is rather simple and not suitable for real-world scenarios. Once, the wall W will reflect part of the speech, which will then, after some delay, be recorded by microphone M1 and also by microphones M3 and M4. Microphone M4 will also record the speech. Depending on the scenario, the reflected sound speech is superimposed with the ongoing speech. Due to possible constructive interference or other effects, it may appear that the recording of the indirect reflected sound includes a higher level than the direct sound. In more complex scenarios, a second sound source also provides a sound signal at the same time, resulting in the superposition of several different sound signals, some of them originating from the sound sources P1 and P2 and some of them being reflections on the walls.

[0040] The object of the present application is to process the recorded signals in such a way that the position of the individual sound sources relative to a reference point can be identified and localized.

[0041] Another application that solves the problem of associating certain position information with sound sources is in virtual reality (VR) applications. Such applications typically include a 360° stereo video signal with several objects in a virtual environment, some of which are associated with sound counterparts.

[0042] These objects (visual and audio) are presented to the user via, for example, binocular headsets and stereo headsets, respectively. The binocular headsets are capable of tracking the position and orientation of the user's head (e.g., using an IMU / accelerometer) so that the video and audio played to the headset and headphones, respectively, can be adjusted accordingly to maintain the illusion of virtual reality. For example, at a given moment, only a portion of the 360° video signal is displayed to the user, which corresponds to the user's current field of view in the virtual environment. When the user moves or rotates their head, the portion of the 360° signal displayed to the user changes to reflect how the movement will change the user's view in the virtual world. Similarly, as the user moves, the sounds emitted from different locations in the virtual scene can be subjected to adaptive filtering of the left and right headset channels to simulate frequency-dependent phase and amplitude changes in the sound, which occur in real life due to spatial offsets between the ears and the human head and upper body scattering.

[0043] Some VR productions consist entirely of computer-generated images and separately pre-recorded or synthesized sounds. However, it is becoming increasingly popular to produce "live" VR recordings using a camera capable of recording a 360° field of view and several microphones capturing the sound field. The recorded sound from the microphones is then processed using a method according to the proposed principles and aligned with the video signal to produce a VR recording that can be played via headphones and earphones as described above.

[0044] Another application that solves the problem of associating some position information with a sound source exists in Next Generation Audio (NGA) applications. Such applications typically include audio objects with metadata such as position.

[0045] These objects (visual and audio) are presented to the user via, for example, head-tracking stereo headphones with binaural presentation. Such headphones, as binocular headphones, are able to track the orientation of the user's head (e.g., using an IMU / accelerometer) so that the audio played to the headphones can be adjusted accordingly to maintain the illusion of being immersed in the audio. For example, as the user moves or rotates their head, sounds emanating from different locations in a virtual scene or a scene recorded using the present innovation can be subjected to adaptive filtering of the left and right headphone channels to simulate frequency-dependent phase and amplitude changes in sounds that occur in real life due to the spatial offset between the ears and the human head and upper body scattering.

[0046] Reference now Figure 1 , which shows the various blocks of the method according to the proposed principle. For simplicity, the method is used Figure 3The method is not only applicable to post-processing of pre-recorded sound signals, but also to real-time sound signals, for example during audio conferences, live events, etc. The method starts with providing one or more first sound signals and multiple second sound signals in blocks BM1 and BM2, respectively. The recorded sound signals preferably include the same digital resolution, including the same sampling frequency (for example, 14 bits at 96kHz). In the case of using different resolutions or sampling frequencies, it is desirable to resample the various sound signals to obtain signals with the same resolution and sampling frequency.

[0047] The upper part of the image, including elements 3', R1, 30A and 31, relates to the identification of possible crosstalk between two or more first sound signals, which are sound signals recorded by microphones for which positions are to be determined. As previously described, the reflected as well as the direct sound are recorded by two microphones in block BM1. In order to determine which of the two or more microphones is actually located at the respective sound source, the signals recorded by the two microphones are processed, filtered and cross-correlated to obtain mutually correlated time differences.

[0048] To this end, a frequency-weighted phase transform is used to process the two signals. In the first step, each first signal is transformed to the frequency domain using STFT to obtain a time-frequency spectrum. A spectrum mask filter is derived from the spectrum by first generating a smoothed power spectrum S(l, k), where l is the sound signal from a microphone and k is the corresponding frame of the sound signal. For each frequency bin, a first-order filter estimates the noise n(l, k) in the current frame based on the previous frame. The total noise n(l, k) is given by:

[0049] n(l,k)=(1-α)log(S(l,k))+(n(l,k-1)) α

[0050] where the different α depends on S(l, k) < log(n(l, k-1)). Therefore, when the SNR is above a certain threshold, the filter mask value is 1 and otherwise 0. The result is a different filter mask associated with each of the two first signals. In the next step, a cross spectrum is generated by correlating the two pairs of first signals and normalizing the correlation results. The respective estimated filters are then applied to the normalized cross spectrum and an inverse STFT is performed to obtain the filtered and correlated signals, see reference 31. In this regard, it should be noted that for the cross spectrum R xy , the filter Fx should be used (for signal x), and for the cross spectrum R yx, the filter Fy should be used (for signal y). The filtered and associated signals are then used to estimate the symbol time difference or delay of the direct sound in the two microphones recording the first sound signal. The symbol described in block 31, i.e. dt>0 or dt<0, provides information on which microphone is closer to the actual sound source. Therefore, the microphone (and the sound signal) is then associated with the corresponding sound source and the corresponding filter mask.

[0051] If the association between the sound signal and the corresponding sound source is defined, that is, if only one first signal is recorded, the above steps can be omitted. Figure 3 , blocks 3, R2 to 35 shown in the lower part describe the various steps of estimating the distance and angle to the reference point. Block BM3 contains a plurality of second sound signals recorded by one or more second microphones whose positions are fixed relative to the reference point. The position of each second microphone is slightly different so that the angle can be obtained later, but close enough so that the effects of reflections from walls, etc., can be determined and filtered. In this example, there are four different second sound signals, each recorded by a different second microphone.

[0052] The process is now similar to that described for the processing of two or more first sound signals. However, in block 3, the first sound signal (for which the distance and angle are to be determined) is now correlated with at least one of the four second sound signals. Block 3 may be performed for each of the second sound signals to provide a total of four filtered and correlated signals, see for example reference R2.

[0053] Figure 2 A frequency weighted phase transform in an exemplary embodiment is shown. The two input signals are transformed to the frequency domain using SFTF, from which a cross spectrum is then derived. After normalizing the spectrum, a previously estimated filter is applied, in this case the spectral mask filter associated with the first sound signal. The result is then transformed back to the time domain using an inverse SFTF.

[0054] If the signals in the frequency-weighted PHAT are uncorrelated, the time delays in blocks 30B and 30A are estimated by first identifying the maximum value that the peak will have. To this end, the noise variance is given by sigma=mean(mask) / framesize and the maximum value of the noise derived by sqrt(sigma*2*ln(framesize)). A search is then performed for the first value in the frequency-weighted PHAT that exceeds this maximum value (possibly including some headroom scales), and a refined search is performed for local maxima close to this first value. The position of the maximum corresponds to the flight time of the direct sound (n_max / sampling frequency). The distance is then given by multiplying the flight time by the speed of sound, taking into account the temperature dependence of the speed of sound. The processing in block 30B is then repeated for each cross-spectrum. The various results are further processed in block 31 by using the mean of the set of flight time estimates. The distance is then subtracted from this estimate in block 33.

[0055] In order to obtain the angle between the sound source and the reference point, blocks R3, 30C and 34 to 36 are used. In order to avoid any influence of room reflections, a window function is used in block R2 to truncate the FW-PHAT results of the first filtered and associated signals. As shown in Figure R2, the window function includes a width that depends on the distance between the second microphones. Since the second microphones recording the second sound signal are slightly spaced apart, the estimated distance between the sound source and the corresponding second microphone may also vary. The width of the window function used to truncate the first filtered and associated signals is substantially proportional to the maximum flight time between the second microphones. Now, the truncated set of filtered and associated signals is upsampled to provide a finer time resolution, thereby producing a more accurate estimate of the angle. The mutual correlation between the upsampled truncated first signal pairs is then calculated. Therefore, a total of 6 results will be received (4 truncated filtered signals result in 6 different pairs).

[0056] The position of the maximum of the mutual correlation of a pair of upsampled truncated first signals corresponds to the arrival time difference of the second microphone corresponding to the first signal. The arrival time difference is mapped to the angle of incidence using the knowledge of the position of the second microphone to the reference point. This means that the mutual correlations can be projected in spherical space instead of the time domain. The method described in block 34 is similar to the manipulation response step in the SRP-PHAT method, where the 6 pairs of mutual correlations correspond to the PHAT. The projected estimates are then simply added together and a search for the maximum is performed in block 35. The position of the maximum corresponds to the angle of arrival.

[0057] Figure 4 The processing flow of the method for determining distance and angle according to the proposed principle is shown. The method is suitable for real-time processing as well as for offline processing, where several previously recorded sound signals forming a sound field are processed.

[0058] The method comprises obtaining in step S1 a first sound signal recorded at a sound source, for which the distance and angle to a reference point must be determined. A plurality of second sound signals are recorded in the vicinity of the reference point or at least at a known location or position of the reference point. The first sound signal and the plurality of second sound signals are synchronized in time. Such time synchronization can be achieved by referencing all sound signals to a common time base during the recording session.

[0059] The various signals are then optionally preprocessed in step S3. For example, denoising or equalization may be performed on the recorded sound signal to improve the results in subsequent processing steps. However, care should be taken not to disturb the timing of the signal. In some cases, it is also useful to apply a method of preserving the phase information of the recorded signal during the preprocessing step S3. In addition, an STFT is performed on the first sound signal and each second sound signal.

[0060] In this example, there is only a single first sound signal associated with a single sound source. In step S4, the first sound signal is processed by an estimation filter, in particular a spectrum mask filter. The filter acts on the signal-to-noise ratio in each frequency of the first sound signal in the time domain. The resulting spectrum mask contains a set of "1"s and "0"s for each frequency bin.

[0061] In step S5, the first sound signal is correlated with at least one of the plurality of second sound signals in the frequency domain and at least one correlated signal is obtained. This step S5 may be repeated to correlate the first sound signal with each of the second sound signals. Prior to applying the filter estimated in step S4, the correlation may be normalized to obtain one or more filtered and correlated signals.

[0062] Up to this point, the steps for determining distance or angle are similar.

[0063] Now continue with determining the distance from the reference point to the sound source in steps S6 to S8. Step S6 includes obtaining a first timing value in the time domain that exceeds a dedicated threshold in at least one filtered and associated signal. Then, in step S7, a second timing value corresponding to a threshold in at least one filtered and associated signal is obtained based on the first timing value. Both steps S6 and S7 can use the previously described search for the maximum value in the PHAT signal (i.e., the filtered and associated signal). In step S8, the distance between the dedicated reference point and the sound source is based on the first timing value and the second timing value obtained respectively. Nevertheless, the temperature of the air can also be taken into account. In the case of a pre-recorded signal, this information is stored and used in S9 to compensate for the temperature effects that affect the speed of sound.

[0064] Steps S10 to S13 are performed to derive and estimate the angle of the sound source with respect to the reference point. For this purpose, step S5 must be performed multiple times to obtain each mutual correlation between the first sound signal and the second sound signal. In step S10, the mutually correlated PHAT signal is truncated by applying a window function to the PHAT signal. The window function is centered on the peak corresponding to the flight time, and its width is proportional to the maximum flight time between the second sound sources. Applying the truncation window in step S10 will remove the signal portion caused by the reflection of the sound on the object and other indirect sound paths.

[0065] Then, in step 11, a truncated pair of correlated signals is selected and a cross-correlation is applied to the selected pair of signals. In the simplest form with two second sound sources, there is a single pair for which a cross-correlation can be selected in step S11. In more complex scenarios with several recorded second sound signals, several pairs can be selected. It can generally be assumed that the greater the number of selected pairs, the more accurate the result of the determination, since possible fluctuations and statistical errors may cancel each other out. The result of step 11 is therefore one or more cross-correlated signals. These signals are up-sampled in step S12 to provide a finer timing resolution that affects the accuracy of the angle determination.

[0066] The mutual correlation signals in steps S11 and S12 respectively include one or more maxima, typically only one of the correlations due to the previous truncation. The positions of the mutual correlation maxima of a pair of truncated correlation signals (or the PHAT of SRP-PHAT) correspond to the arrival time differences between the microphone elements recording the plurality of second sound signals.

[0067] The knowledge of the position of the microphone recording the second sound signal can be used to map the arrival time difference to the angle of incidence. This means that the cross-correlation can be projected in spherical space instead of the time domain. This is performed for all cross-correlation estimates for all pairs of seconds. The projected estimates are then simply added together and a search for the maximum is performed. The position of the maximum corresponds to the angle of arrival.

[0068] An additional aspect relates to the processing of sound signals that move over time. For example, if there is more than one first microphone, an active speaker detection algorithm can be used to identify the current active speaker and the first microphone associated with it. For moving sound signals, a dynamic model and Kalman filtering can be used to estimate the location of the sound source at different times. The Kalman filter tracks the estimated state of the system and the variance or uncertainty of the estimate. The estimate is updated using the state transition model and measurements.

Claims

1. A method for obtaining the position of a sound source relative to a dedicated reference point, comprising the following steps: obtaining a first sound signal recorded at a sound source; obtaining a plurality of second sound signals, each second sound signal being recorded at a location in a known relationship to a dedicated reference point; wherein the first sound signal and the plurality of second sound signals are synchronized in time; For the first sound signal: estimating a filter acting on a signal-to-noise ratio in each frequency interval of the first sound signal in the time-frequency domain; correlating the first sound signal with at least one of the plurality of second sound signals in the frequency domain to obtain at least one correlated signal; applying the filter to the at least one correlated signal to obtain at least one filtered and correlated signal; obtaining a first timing value of the at least one filtered and associated signal exceeding a dedicated threshold in the time domain; obtaining a second timing value corresponding to a threshold in the at least one filtered and associated signal based on the first timing value; The distance between the dedicated reference point and the sound source is estimated based on the respectively obtained first timing value and second timing value.

2. The method according to claim 1, further comprising: For at least two filtered and associated signals recorded at positions in a known relationship to said dedicated reference point: truncating the at least two filtered and associated sound signals around a specific time period; obtaining a cross-correlation between pairs of truncated filtered and associated sound signals; The arrival angle of the filtered first sound signal is obtained by projecting the obtained cross-correlation into a spherical space.

3. A method for obtaining the angle of a sound source relative to a dedicated reference point, comprising the following steps: obtaining a first sound signal recorded at one or more sound sources; obtaining a plurality of second sound signals, each second sound signal being recorded at a location in a known relationship to the dedicated reference point; wherein the first sound signal and the plurality of second sound signals are synchronized in time; For the first sound signal: estimating a filter acting on the signal-to-noise ratio in each frequency bin of one of the first sound signals in the time-frequency domain; Correlating the first sound signal with at least two of the plurality of second sound signals in the frequency domain to obtain at least two correlated signals; applying the filter to the correlated signal to obtain at least two filtered and correlated signals; truncating at least two filtered and associated sound signals during a specific time period selected so as to cut off reflections from the environment by at least the first sound signal; obtaining mutual correlations between pairs of truncated filtered and correlated sound signals of the plurality of second sound signals; The arrival angle of the filtered first sound signal is obtained by projecting the obtained cross-correlation into a spherical space.

4. The method according to claim 2 or 3, wherein: The specific time period is proportional to a maximum flight time between positions of the plurality of second sound signals.

5. The method according to any one of claims 2 to 4, wherein: The step of truncating the filtered and associated sound signals comprises the following steps: upsampling the plurality of filtered and associated sound signals; or The truncated filtered and associated sound signals are upsampled.

6. The method according to any one of claims 2 to 4, wherein: The steps to obtain the cross-correlation include: A steering response is applied to each of the truncated filtered and associated sound signals.

7. The method according to claim 1, wherein: Correlating the first sound signal comprises: Up-sampling the first sound signal and the plurality of second sound signals; or The at least two correlated signals are up-sampled.

8. A method according to any one of the preceding claims, wherein: The step of estimating a filter for said first sound signal comprises estimating a spectral mask.

9. The method according to claim 8, wherein: The steps to estimate the spectral mask filter include: Determining a signal-to-noise ratio SNR based on the noise of each time slice k in response to a previous time slice; If the signal-to-noise ratio does not exceed a predetermined threshold, setting the spectrum mask parameter of the given frequency to 0; If the signal-to-noise ratio exceeds the predetermined threshold, the spectrum mask parameter of the given frequency is set to 1.

10. A method according to any one of the preceding claims, wherein: The step of correlating the first sound signal with at least one of the plurality of second sound signals and applying the filter to the correlated signal comprises the steps of: Performing a short-time Fourier transform (STFT) on the first sound signal and at least one of the plurality of second sound signals to obtain a corresponding frequency spectrum; Obtain the corresponding cross spectrum on the spectrum diagram; applying the filter to the obtained cross-spectrum; An inverse short-time Fourier transform (ISTFT) is performed to obtain the filtered first sound signal.

11. A method according to any one of the preceding claims, wherein: Estimating a filter for a signal-to-noise ratio in each frequency interval of the first sound signal comprises the following steps: applying a quantile filter, in particular a median filter, for smoothing the power spectrum of each time slice k of the power spectrum derived from the one or more first recorded sound signals; estimating the noise for each time slice k in response to the previous time slice; For a given frequency, the signal-to-noise ratio is evaluated to see whether it exceeds a predetermined threshold, and a filter parameter for the frequency is set to 1 or 0 in response to whether the signal-to-noise ratio exceeds the predetermined threshold.

12. A method according to any one of the preceding claims, wherein: Estimating a filter acting on the signal-to-noise ratio in each frequency bin of the first sound signal comprises the step of applying a residual signal from a denoising process as noise estimate, wherein the denoising process can optionally be based on machine learning.

13. The method according to any one of the preceding claims, further comprising, for at least two first sound signals: estimating a filter acting on a signal-to-noise ratio in each frequency interval of one of the two first sound signals in the time-frequency domain; correlating a first one of the two first sound signals with a second one of the two first sound signals in the frequency domain and applying the estimated filter to the correlated signals; evaluating a time difference between the associated signals; One of the two first sound signals is selected as the one or more first sound signals based on an evaluation of the time difference.

14. The method of claim 13, wherein the correlating step comprises the steps of: Performing a short-time Fourier transform (STFT) on the two first sound signals to obtain corresponding frequency spectrograms; Obtain the corresponding cross spectrum on the spectrum diagram; applying the filter to the obtained cross-spectrum; An inverse short time Fourier transform ISTFT is performed to obtain a filtered and associated first sound signal.

15. A method according to any one of the preceding claims, wherein: The plurality of second sound signals includes four audio sound signals, wherein two of the four sound signals are recorded at a maximum spatial distance of 15 cm.

16. The method according to any one of the preceding claims, further comprising: Obtaining air temperature information, particularly air temperature information near the plurality of second sound sources; as well as The distance is estimated in response to the obtained air temperature information.

17. The method according to any one of the preceding claims, further comprising: The estimated distance between the dedicated reference point and the one or more sound sources is fed to a Kalman filter or a particle filter.

18. A computer system comprising: one or more processors; A memory coupled to the one or more processors and comprising instructions which, when executed by the one or more processors, cause the one or more processors to perform a method according to any one of the preceding claims.

19. A non-transitory computer-readable storage medium comprising computer-executable instructions for performing the method according to any one of the preceding claims.

Citation Information

Cited By

  • Method for obtaining a position of a sound source

    US12710502B2