Improved estimation of source-microphone distance and room geometry
The method processes sound data using a network of microphones to estimate distance by analyzing velocity vectors and geometric relationships, addressing the limitations of existing methods in reverberant environments and enabling precise reflection tracking.
Patent Information
- Application Number
- FR2023004022
- Authority / Receiving Office
- FR · FR
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-21
- Publication Date
- 2024-10-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing methods for estimating the distance of a sound source using a compact array of microphones are sensitive to reverberation and require high calculation costs, especially in unfavorable acoustic conditions, and often ignore the intrinsic geometric relationships between acoustic reflections.
A method that processes sound data using a network of microphones to determine the distance between the microphone array and a sound source by estimating a temporal expression of a velocity vector, calculating delays through acoustic paths with reflections, and utilizing geometric relationships to determine the distance based on the microphone array's position relative to a wall, allowing for robust estimation even in complex environments.
Enables accurate and efficient estimation of source-microphone distance in real-time, improving the precision of identifying reflections and tracking sound sources, even in environments with multiple walls, while minimizing computational complexity.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Title of the invention: Improved estimation of a source-microphone distance and a room geometry
[0001] The present description relates to a processing of sound signals, in particular for determining room geometry and / or for tracking the trajectories of sound sources.
[0002] Recent work has demonstrated that properly processed early reverberation (i.e., early reflections) can improve performance in various acoustic signal processing tasks. Provided that certain parameters (e.g., directions and delays) of acoustic reflections can be recovered from the signals measured by a microphone array, so-called "echo-based" methods are able to improve the performance of source localization, separation and recognition of speech and sound events. Furthermore, this also opens the possibility to address some unconventional problems such as localization behind soundproof obstacles, inference of room geometry, distance estimation, identification of room acoustic parameters, and acoustic adaptation.
[0003] However, when the sound source is mobile, the parameters of the reflections (even for a reflection on the same surface) can evolve, independently of a possible change in the acoustic environment. If one wishes to exploit the spatiotemporal relationships between the acoustic reflections, as for example in publication FR2201475, it becomes necessary to assign labels to the estimated parameters, that is to say to follow their trajectories over time. As described below, these trajectories can be estimated a posteriori, assuming however that a reliable estimate of the distance between the microphone and the source is available.
[0004] Estimating the distance (range) of a far-field sound source by a compact array of microphones is considered a difficult problem. Early approaches were based on an estimation of the direct-to-reverberant ratio (DRR), which is now known to be correlated with distance. Unfortunately, these methods are sensitive to reverberation and tend to deteriorate rapidly with increasing reverberation time.
[0005] Echo-based approaches are still rare in the literature, particularly in the blind context. It has been proposed in the inventors' previous work (notably in publications FR3102325 and FR3116348) an estimation of the distance using the relative impulse response in the ambisonic domain, in exploiting the reflection of a horizontal surface. Reflections extracted from the velocity vector footprint are exploited in the generalized time domain (GTVV) to perform the 3D localization of a moving source, by solving a non-convex regression problem in discontinuous mode. The proposed method requires a prior estimation of the source trajectories and reflections.
[0006] These distance estimation methods (even the most recent ones) still suffer from performance degradation under adverse acoustic conditions or require batch data processing, which results in high computational costs. On the other hand, the tracking of acoustic reflections over time has been entrusted to conventional multi-source tracking algorithms, thus ignoring the intrinsic geometric relationships between these trajectories.
[0007] The present description improves the situation.
[0008] A method is proposed for processing sound data acquired by a microphone array, to determine at least one distance d0 between the microphone array and a sound source in an environment comprising at least one wall, the microphone array being separated from said wall by a fixed distance m, the method comprising: - An estimate of a temporal expression of a velocity vector, - An estimate, from said temporal expression of the velocity vector, of at least one delay in the arrival of the sound at the microphone network along an acoustic path having undergone at least one reflection on the wall of the environment, and - A determination of said distance d0 between the microphone array and the sound source as a function of the distance m between the microphone array and said wall.
[0009] As presented in detail below, a geometric relationship is used between the distance m from the wall to the microphone array and the distance d0 between the source and this array, to determine this second distance d0, knowing the first distance m.
[0010] For example, in the case where the microphone array is arranged on a table which supports the microphone array (sometimes called “microphone” hereinafter for simplification), it is sufficient to measure the distance m from the wall to the microphone, to have the distance d0 from the source to the microphone for any current position of the source in the environment.
[0011] Of course, the source and the microphone array are assumed to be arranged in the environment on the same side of the wall.
[0012] It is nevertheless possible to provide a reference wall other than a table, such as for example the ceiling of a room (generally less cluttered with objects than a table) and in this case it may be preferable to “algorithmically” measure the distance m from the microphone to the wall.
[0013] In a possible embodiment, the distance d0 between the microphone array and the sound source can be expressed as a function of the distance m from the microphone array to said wall, by a relationship of the type:
[0014] 2^4 (crj2 0 — cT] ,-2msinÿ0
[0015] where c is the speed of sound, Th is said estimated delay, and ÿ{) is an angle formed by the wall with a straight line passing through the source and microphone array and relative to a direct direction of arrival of the sound at the microphone array (called “DoA” for “Direction of Arrival”), given by the velocity vector.
[0016] Nevertheless, this embodiment allows for variations. In particular, other types of relationship may involve a reflection angle ^>n of the sound on the wall. As an example of a relationship involving this angle ( / )^ the distances m and d0 may be linked by a relationship of the type (as described below):
[0017] m = + cTh)sïï^n + dQSÏn^
[0018] In the example of the embodiment described above giving d0 as a function of m, it is possible to measure the distance m and to deduce d0 for any current position of the source.
[0019] As indicated above, this distance m can be determined algorithmically. It can be planned for example to implement the following: - for a plurality of positions of the source, first estimates of the distance d0 between the microphone array and the sound source are obtained from the velocity vector, - a characteristic distance m from the microphone array to said wall is determined from said first estimates, and - the said distance d0 between the microphone array and the sound source is determined as a function of the said characteristic distance m for any current position of the source.
[0020] This characteristic distance m can be estimated statistically for example, and defined as being for example the median (or even the average) on the estimates of the distance m from the first estimates, and possibly by removing from the statistical population the aberrant values (or "outliers") which can be due for example to a bad labeling of the reflections (by counting for example a multiple reflection as a first reflection, by mistake).
[0021] The first estimates j , mentioned above, can always be obtained "roughly" from the velocity vector. In one implementation, they can be given by a relation of the type:
[0022] ..........7...^.............. v / vosÿ, i max —-1 y œsÿ,, smÿ.t /
[0023] Where:
[0024] - it is the speed of sound,
[0025] -T» is said estimated delay,
[0026] - A is an estimate of an angle of reflection of the sound on the wall, given by the velocity vector,
[0027] - and 1 is an estimate of an angle that the wall forms with a straight line passing through the source and microphone array and relative to a direct direction of arrival of the sound to the microphone array (DoA), given by the velocity vector.
[0028] From each of these first estimates, we can calculate a characteristic distance m (and statistically determine the most observed characteristic distance m), in different cases of the arrangement of the wall in relation to the microphone.
[0029] In a first embodiment where said wall is horizontal and arranged under the microphone array (like a table supporting the microphone array), the characteristic distance m can be calculated from first estimates by a relationship of the type: m = 3 (
[0030] In a second embodiment where the wall is horizontal and arranged above the microphone array (typically like a ceiling), the characteristic distance m can be calculated from first estimates by a relationship of the type: m = - 4 ( ^02sinV0+^ + £7osin0o j
[0031] The difference between these two relationships relates to the convention decided for the sign of the angle as detailed later.
[0032] In one embodiment, the aforementioned microphone array may comprise a plurality of microphones distributed over the surface of a sphere, for acquiring sound signals suitable for an ambisonic representation of the acquired signals. In this case, for example, the distance m between the microphone array and the aforementioned wall may be calculated or measured on a straight line normal to the wall and passing through the center of the sphere.
[0033] As introduced above, it may be advantageous to determine these parameters at from the temporal expression of the velocity vector, in particular generalized, as described for example in document WO2022106765.
[0034] As also introduced above, it may be advantageous to obtain at least the aforementioned delay (and noted in certain expressions above) from an impulse response (noted “RdRIR” in the present description) characterizing the environment and resulting from an autoregressive average modeling (noted “ARMA”) of the temporal expression of the velocity vector.
[0035] From the moment the distance m from the microphone array to the wall is obtained, it is then possible to reliably and robustly calculate the distance d0 source-microphone array. From there, it becomes possible to robustly identify sound reflections, in particular when several walls are present in the environment.
[0036] In an embodiment where the environment comprises a plurality of walls, it is also possible to carry out an identification (or “labeling” hereinafter) of each acoustic reflection on one of said walls, from the determination of said distance d0 between the array of microphones and the sound source.
[0037] As presented later in the description, this labeling can be carried out on several consecutive frames of the sound signals acquired by the microphone network and can make it possible to track one or more sources at a time, possibly mobile.
[0038] Thus, in such an embodiment, said labeling is carried out for a plurality of sound source positions in the environment, associated with various sources emitting successively over time, and / or at least one source moving as a function of time.
[0039] It may thus be at least one source moving in time or several sources (fixed or moving) emitting successively in time.
[0040] A possible algorithm for such labeling is presented in the appendix to this description and commented on with reference to Figure 4.
[0041] Overall, it is indicated here that the algorithm can be based on a principle according to which the labeling of the reflections verifies a distance preservation criterion such that, for a moving source between a first instant and a second instant, a distance between two respective positions of the source is equivalent to a distance between two images of this source.
[0042] The method may further comprise a determination of a geometry of the environment and of the walls that the environment comprises as a function of the aforementioned labeling of the reflections (this determination being robust and reliable).
[0043] Such an implementation can be implemented quite simply with respect to the calculations required, particularly in the case of an environment comprising horizontal or vertical walls. For example, these walls can be parallel or perpendicular. cular to each other, but it can also be walls that may not be at right angles, for example a reflector such as a half-open door or window, or a wall that is not at right angles to another wall, or others.
[0044] The present description also relates to a computer program, comprising instructions for implementing the above method, when they are executed by a processing circuit.
[0045] As an example, figures 3 and 4 commented on later can illustrate an algorithm of such a program.
[0046] The present description also relates to a device comprising a processing circuit for implementing the above method.
[0047] Thus, a method is proposed for circumventing certain problems of known approaches for estimating distances, and this distance estimation is then used to provide, in one embodiment, labels for the estimated reflection parameters. Therefore, efficient tracking of reflection trajectories is proposed here by explicitly taking into account the distance preservation property of acoustic trajectories, in one exemplary embodiment.
[0048] Other advantages and characteristics of this treatment will appear on reading the description and examining the attached drawings in which: - [Fig.l] illustrates an example of positioning the microphone MIC on a wall (here horizontal, such as a table) in an environment with another wall (vertical), - [Fig.2] illustrates a series of peaks at respective time abscissas corresponding to reception delays at the microphone, linked to one or more reflections on the walls, - [Fig.3] summarizes the main steps of an example of implementation of the process described above, - Figure 4, split into [Fig.4a] and [Fig.4b], details the operations of the labeling step S5 of [Fig.3], - [Fig.5] illustrates an example of the embodiment of a device for implementing the method, and - [Fig.6] illustrates cases of reflection on vertical walls as an example.
[0049] A processing operation is presented below showing satisfactory efficiency in terms of the data complexity-accuracy trade-off. Implementations described in detail below allow quasi-real-time applications (at the frequency of obtaining consecutive frames of sound data) and considerably improve the accuracy of reflection identifications.
[0050] First, we exploit the temporal expression of the velocity vector (preferably in its generalized form) or the representation of the reduced impulse response of the room (RdRIR) recently proposed in the French patent application FR2213494 (2022) for obtaining the delays with respect to the instant of direct arrival of the sound at the microphone. Second, the estimation proposed previously can be generalized to any horizontal or vertical surface, and it is demonstrated below that these surfaces can be considered together to improve the accuracy of the estimation. Third, it is demonstrated below that knowledge of the position of the microphone relative to a wall (e.g. the altitude of the microphone relative to a wall that supports it such as a table) can be used to further improve the estimation of the source-microphone distance.The position of the microphone relative to a supporting wall is often readily available: it is sufficient to measure the position of the center of the microphone relative to a support such as a table on which it is placed. For example, if the microphone is placed on the table, the altitude corresponds to the height of the recording device. If this is not the case, however, it is also shown below how to directly deduce this information from recordings of a particular moving source.
[0051] Finally, a simple processing is presented more generally for labeling the reflection trajectories of a moving source as a function of time, taking advantage of the previously estimated distance. By considering the spatio-temporal dependencies between the source trajectories and its specular reflections, this processing is able to blindly determine the number of reflections and their associated labels, with a minimal number of adjustable hyperparameters.
[0052] Here we recall the calculation of the reflection parameters (their directions and their relative delays with respect to the direct wavefront) from the characteristics of the generalized velocity vector and expressed in the time domain. This vector is usually denoted GTVV. It is obtained from the sound signals captured by a microphone MIC ( [Fig.l]) and expressed in the ambiophonic or “ambisonic” domain hereinafter, from steps presented in the aforementioned application FR2213494. The GTVV representation has already proven very effective, but the extraction of the parameters is further improved by correct modeling of the GTVV time series using an autoregressive average (or “ARMA” for “Autoregressive Moving Average”), “deterministic”, according to an adaptation of the so-called “Padé-Prony” method. The new representation alleviates the problems related to the validity of the analytical expression of the GTVV vector at low ambisonic orders.
[0053] These reflection parameters are then used to estimate the distance at the processing frequency of the acquired sound data frames, by proposing several new estimators, followed below by a description of the method. labeling.
[0054] This estimation of the distance to the frequency of the frames obtained can also be applied from the characteristics alone of the generalized velocity vector GTVV and without improvement by ARMA modeling (which modeling therefore remains optional).
[0055] We note A the vector of the expansion coefficients of the harmonics concatenated spherical (SH) channels (commonly called “ambisonic channels” or “HOA channels” hereinafter) up to order L , at frequency / .
[0056] The recorded signals are assumed to be due to a far-field sound source at azimuth A;;, at elevation A, and at distance <4' from the source to the microphone array, in an indoor environment (a room for example with partitions, as illustrated in Figure 1). The microphone array of Figure 1, denoted MIC, may typically be an ambisonic microphone comprising a plurality of piezoelectric capsules on the surface of a sphere in particular and is hereinafter simply referred to as a "microphone" MIC. We consider a broadband beamforming u oriented (roughly) towards the direction of arrival of the direct sound between the source and the microphone MIC, denoted "DoA" (for "Direction of Arrival"). In this case, the generalized velocity vector is expressed in the frequency domain (GFVV) as follows: w'bfH * ....... 4.
[0057] where g(0,1) and >0 represent parameters of the nth reflected plane wave, which are: - the expansion vector in ambisonic representation in the direction , - its relative attenuation gn, and - its delay (relative to the direct propagation component DoA), respectively.
[0058] Thus, is the SH vector of plane background in the DoA(% direction. while A* ™ is the beamforming response to the nth wavefront (with Ai — 1 ).
[0059] The approximation of Eq.l above is due to the simplifying assumptions built into the right-hand side of the equation: the plane background decomposition has been given in terms of the dominant acoustic reflections A , and the beamforming and relative attenuations are independent of frequency. This expression can be generalized, in the sense that the beamforming and relative attenuations can vary from one frequency to another, under certain assumptions. Nevertheless, a distortion-free constraint with A> œnst< must be satisfied for eachw( / j.
[0060] The expression of the GFVV vector is only applicable in a noise-free environment, whereas a practical estimator must be robust to a low signal-to-noise ratio (SNR), which is resolved in the same aforementioned document FR2213494.
[0061] The inverse Fourier transform, F ' ' of the vector GFVV makes it possible to obtain its temporal representation, noted GTVV and presented as a fraction of series of Dirac-type peaks:
[0062] where and «U) are both causal filters, linked by ^ / 0 — wTh(f) •
[0063] The "moving average" part h(G is called here (and in the aforementioned document FR2213494) "reduced room impulse response" (or "RdRIR" hereinafter). It can be calculated directly using the expression above, from an estimate of «(£ ): h(£) — (y * SJÛ).
[0064] We can usefully refer to the aforementioned document FR2213494 for details concerning the estimation of the filter "(£). After having estimated this RdRIR, we can proceed to a simple selection of the peaks of the time series W ' , and deduce di rectly the wavefront directions (incorporated into the SH coding vectors) and the relative delays (corresponding to the indices of the detected peaks).
[0065] In practice, the processing is carried out in the short-time Fourier transform (STFT) domain, and the time duration of the GTVV vector (and therefore of the RdRIR) is dictated by the chosen window. The window of length î is centered on t ■■■ 0 relative to the GTVV vector, i.e. £ > T / 2.7
[0066] The calculation of the distance from the microphone to the source is described below.
[0067] It is assumed that for each frame after STFT processing where vocal activity has been detected, the procedure described above provides an estimate of the direct direction of arrival of the sound: Do A 1, as well as a certain number of estimated reflection directions with their associated delays! ($« ♦ * “«' )} «■' • We actually have a time series of peaks whose abscissas give such delays with respect to the DoA, as illustrated in [Fig.2] taken from publication FR3102325 or from document FR3116348 from the same inventors as the aforementioned French application FR2213494.
[0068] A main assumption is made here as illustrated in [Fig. 1]: the z-axis of the microphone MIC is orthogonal to the horizontal surfaces of the room, such as the floor or the ceiling. This assumption is plausible given that the recording device is usually placed on a table or on a vertical support. Floors and tables, in particular, are known to generate strong reflections, which have already been exploited for distance estimation in the previously cited works.
[0069] It may further be assumed that all reflecting surfaces are either horizontal or vertical (walls and windows), although this assumption does not appear to be essential in practice hereinafter. If this latter assumption holds, according to the image-source model illustrated in [Fig.l], even higher-order reflections from parallel surfaces would remain "horizontal" or "vertical" (although the reflection plane may not actually correspond to a physical surface).
[0070] Figure 1 illustrates the image-source model for first-order reflections on a horizontal plane and on a vertical plane. The microphone-source distance denoted , and the microphone-image-source distances and di:, are respectively related by: COS O ( > aïHl ¢7. : SÜJ - U <
[0071] The relation <70cos^0 = dhCG^(ph is valid for any reflection of order 1 or higher involving only horizontal walls, because the associated images are all projected vertically at the same point in the horizontal plane of the microphone. In these cases, it appears that the elevation angle of the image deviates more from the horizontal plane than that of the source, i.e. cosÿ() > cos0 / ; (or equality in the rare case of a source vertical to the microphone: cos^ cos^ Oj, i.e. = > r In the same tC CQS^n time, we observe the ratio Sin0o 1 COS0O Pss~^ < -Pce
[0072] Similarly, the relation <7osin0() = cZpSin^, is valid for any reflection of order 1 or superior involving only vertical walls, because the associated images are projected horizontally all at the same point on the vertical axis of the microphone, therefore at the same altitude relative to the microphone. In these cases, it appears that the elevation angle of the image is closer to the horizontal plane than the source, typically > $v > 0 or -> 0 (which in both cases amounts to _ sinÿ0 > p and at the same time _ ços^ < ) or else — 0. P ss ~ sin0 P ce “ cosÿ
[0073] Furthermore, the distance from any image source >t? to the microphone can also be given panL F , where c is the speed of sound and 1 the corresponding relative delay. Substituting this expression into the above equations in place of rt* and d.,, and rearranging the terms, we can deduce:
[0074] c / 0 — for a reflection by one or more horizontal walls, or œsÿ, “ $ , cos^o Pss-^ -PCC
[0075] dQ = for a reflection by one or more vertical walls, i.e. —
[0076] sinÿ€ cos0Q p — ........... < | < -----— — n ' ss sinq> ' cc A generic formula for distance can also be derived from any reflection of these types:
[0077] In practice, the application of this formula to estimated data requires some precautions.
[0078] On the one hand, it is necessary to take into account the limited precision of angular estimation, in particular for reflections. And it should be noted on the other hand that a certain number of practical configurations do not allow the case of reflections by one or more vertical walls to be identified or reliably exploited. It often happens that reflections by vertical walls are of "grazing incidence", that is to say with a true elevation angle which is small in absolute value: it is sufficient for this that the source is of an altitude close to that of the microphone and / or that its image by the wall is at a fairly large distance from the microphone, as illustrated in [Fig.6].
[0079] Figure 6 (in vertical 2D section) illustrates that for a source ^7) substantially removed from the horizontal plane of the microphone M, its image ^(0 by the reflector v, relatively close to the source and the microphone, has a significant elevation angle in absolute value, unlike a distant image (by a more distant reflector v') for which is small. When the source and the microphone are at close altitudes, the elevation angle ^2^ or of the image is generally small in absolute value.
[0080] From then on, we understand that even a small error in the estimated angle A relative to at the true angle potentially induces large errors on the calculated ratio p = sin^ / si00 (including its sign, theoretically positive), therefore potentially on the diagnosis “horizontal wall” or “vertical wall” (p or p ), and in all the case on the estimated distance (as shown later). This type of risk should be ruled out by a test on | | : if it is less than a certain threshold (for example 10°), we do not continue the estimation of the distance from this reflection. If its value is significant, that is to say if J > , we apply the estimation of the distance from source to microphone, given by:
[0081] niax —A—-1 V ecstA. sin^, /
[0082] The threshold can be chosen fixed or depend on parameters reflecting the confidence that can be had in the DoA estimate. If a reflection by one or more horizontal walls is detected, that is to say if p > pss, we propose to calculate a coherence indicator, measuring the difference dxy between the vertical projections (on the same horizontal plane) of the estimates of the source and image points-p,1=(ào + CT„)ân:
[0083] dxy= |xy(T0) !
[0084] where xy ( r ) = ( 7mx ) Mx + ( 7mv )Mv is a projection operator on a horizontal plane containing the orthonormal vectors ux and uy.
[0085] In the absence of an error, dxy should be zero. If its estimated value exceeds a certain threshold, the associated distance estimate should be given less credence, or even invalidated.
[0086] Another precaution is necessary in view of the equation giving j above: we must avoid situations where / cos^ sin^ \ is too close to 1, which would cause an in-max ——r1 \ cosÿ^ sin0;ry stability of the result. This typically happens when "0 (source in the same horizontal plane as the microphone) for the first category, in which case the precaution already invoked above invalidates the estimate, or when ~ ± , which corresponds to the rather rare case of a source vertical to the microphone. In all cases, a test on the proximity of / cosl sin^ \ to 1 will be enough to decide max —A — ( cos^(, sin^ / to apply or not the estimate. If it is invalidated for a reflection n, it is plausible that there is another reflection from which it is possible.
[0087] For reflections combining at least one horizontal wall and at least one vertical wall, neither of the two initial equations applies, and moreover the comparison of the ratios Pcc and Pss does not allow these cases to be distinguished. However, such reflections are of higher order. However, it is generally mainly those of order 1 whose parameters will be obtained and used, because they appear by nature more clearly, having generally undergone less absorption.
[0088] In general, several reflections are extracted and used from the same acoustic fingerprint obtained on a given frame and therefore for a given source position. Depending on the conditions tested above, a certain number of them give rise to as many estimates of the current distance d0. Due to errors in the DoA, or even in the type of reflection detected, the values obtained can be varied, and some can be aberrant. We then seek to retain at least one which can be the most representative of reality. One way of doing this is to take the median of all the values obtained, after rejecting the values deemed the least reliable, in particular based on the consistency indicators.
[0089] In practice, the relative delay and the source elevation (¾ are quite robust estimates (the former due to the peak selection and the latter due to the fact that it is the "strongest" wavefront among all wavefronts). Unfortunately, the accurate estimation of the elevation^ generally requires high order microphone arrays (higher than 1 typically, so that the am-bisonic microphone that can be used for this purpose becomes expensive).
[0090] However, by having the altitude of the microphone, noted m , relative to a support such as a table, or alternatively from the position of the microphone relative to the ceiling of a room, the problem can be circumvented by estimating the distance (¾ and using only the relative delay corresponding to the horizontal surface (ceiling or table which supports the microphone). In the case of a table supporting the microphone, according to [Fig.l], it appears that: ( / 4 T + (2m. f A ,
[0091]
[0092] By expanding the above expression and rearranging the terms, we obtain: m.:. —
[0093] Conversely, if the altitude is unknown, but the distance has been estimated elsewhere (for example, from the generic estimator presented previously), the altitude m can be calculated as follows:
[0094] m = j (^ / osin20o + crh (2d0 + crh) -Josin0o)
[0095] It is suitable for negative elevation reflections (coming from below) and such that cos^ P ce “ —F COSW fn retains the minimum value of m among those calculated. . If several candidate reflections are considered, we
[0096] This formula can be transposed to the case of reflection by a horizontal surface above- above the microphone, like the aforementioned ceiling, with then a reflection elevation positive and always as such cosÿ0 COSï» 'n > . In this case, the altitude of the microphone (relative to the ceiling) is negative and now given by:
[0097] m _ _ 2 +t / osin^oj
[0098] If several candidate reflections are considered, the minimum value of m in absolute value is retained this time, among those calculated. This can be advantageous when the ceiling is reflective while the floor or table under the microphone is cluttered with objects or obstacles.
[0099] An alternative formula can be used which, even if it involves the angle can
[0100]
[0101]
[0102]
[0103] be relatively robust in the tested cases: m = ( ( do + cth ) sin0n+dosin0o ) The latter has the advantage of being equally effective when applied to a horizontal surface below or above the microphone. For this equation, we use reflection parameters from a horizontal wall (which will be at altitude 0 compared to the altitude m of the microphone), therefore such that tl In a scenario where the microphone array is static and the source is moving (all parameters except the sound speed G are therefore subject to change), one could use these "instantaneous" altitude estimates to improve the estimation over time, since the actual value of m is expected to be constant (for the given horizontal reflecting surface). Once an accurate estimate of is available, it can be used to improve the estimation of the distance d0 using its altitude-based estimator m above. To select the altitude value m from various estimations made during the source movement, several options are possible. One can choose, for example, the one associated with the shortest estimated distance d0 in the trajectory, since this is usually the most favorable acoustic situation, where the estimation of the wave parameters is the most reliable and accurate.We can also rely on a coherence indicator like the one (dxy) described above by associating with each frame the indicator dxy associated with the wave parameters ( 7-^ J retained for the determination of the current distance dQ and consequently the current estimate of m. We will then choose the estimate of m associated with the frame whose . dxy parameter is the smallest.
[0104] It should be noted that while the "generic" estimator is valid for virtually any first-order reflection under given horizontal / vertical wall reflection assumptions, the altitude-based estimation requires precisely the reflection on the horizontal supporting surface.
[0105] Referring again to Figure 1, it appears that the source position vector ™ ni» 7¾]T and the altitude / îs uniquely determine the position vector of the image source ™ f&A 0¾ and being the unit vectors oriented towards the source and its image, respectively), or:
[0106] Therefore, even if the "measured" direction is not sufficiently precise to give a valid estimate of the distance, it can be combined with the associated delay and the altitude-based distance estimate to calculate an "observed" position vector: ¾ .. The latter would be used for comparison with the theoretical position rk given in Eq.2 above, in order to identify the desired horizontal reflection among other wavefronts. Equivalently, this reflection can be identified by comparing the two alternative estimates of m made above.
[0107] The main stages of the processing have been summarized in [Fig. 3], with a detail of the labeling stage S5 in Figure 4.
[0108] With reference to Figure 3, the first step S1 consists of encoding the signals acquired by the microphone array MIC in ambisonic representation (and are thus decomposed into a spherical harmonics base). The ambisonic channels obtained feed in step S2 the estimator of the generalized velocity vector GTVV, expressed in the time domain, in order to obtain the reflection parameters of the sound source(s) on the walls of the environment, in particular the delays, the angles ( / )„ and finally the distances of the images from the source to the microphone MIC.
[0109] These estimates can be initially derived from the expression of the (generalized) velocity vector in the time domain and possibly refined by modeling this time expression of the generalized velocity vector by an autoregressive average (ARMA in step S3) from which an impulse response RdRIR (or "reduced room impulse response") is obtained, finely characterizing the environment and its reflection properties. Nevertheless, step S3 for obtaining an environmental impulse response is optional (although it allows good estimates of the reflection parameters to be obtained) and is illustrated for this purpose in dotted lines in [Fig.3].
[0110] These estimates make it possible to determine a value m representative of the altitude of the microphone on the reference wall (table or ceiling), for example for several different positions of the source So. Alternatively, it is possible to simply measure this altitude m. From the altitude m, the distance d0 from the source So to the microphone is determined in step S4.
[0111] This determination of the distance then makes it possible to carry out step S5 of labeling the reflections which will be detailed later with reference to figure 4. It is simply indicated here that this labeling is based on a distance preservation criterion according to which, for a source moving from one instant to the next, the distance between two
[0112]
[0113]
[0114]
[0115]
[0116]
[0117] respective positions of the images of the source relative to (first) reflections on the same wall is equivalent to the distance between the two respective positions of the source. Once the trajectories have been labeled in step S5, they can be fed into an inference engine to finely determine the geometry of the environment, as well as the respective positions of the sources as a function of time. We saw in a previous passage describing in particular [Fig.6] that, in cases of possible reflection angles, the estimates of m and d0 may not be robust. The identification (or "labeling") of the reflections advantageously makes it possible to converge the determination of m and d0 towards reliable solutions, and more generally, to robustly determine the positions of the walls. The labeling step S5 is detailed below. It is assumed that a set of labeled position vectors in time has been collected); , e1 ' ' " , where ? is just an index to indicate a data at the time instance* , and not its correspondence to a particular wavefront (i.e. » i! i and r, t / » 1 ) may correspond to position vectors of different wavefronts). The labeling step S5 aims to gather the estimated reflection data for different source positions, in order to verify the best distance preservation criterion within each group. An example of an iterative process is then described here, with: - As input, the positions of the source and the image |{^ (0} 1 re" l ' 1 iJ t collected from acoustic fingerprints on frames r, an image of index i being linked to a reflection of a source without a priori coherence along frames l, - At output, the sets of trajectories (or reflection groups), a trajectory Tfc being defined by a triplet £^1 comprising: the index of the frame, the index of the source image to this image as it appears in the input data, a distance error 6^ where P is the index of the row in the table T),. An algorithm for executing the process in Figure 4, which is discussed in detail below, is presented below in APPENDIX 1 for illustrative purposes. The labeling step includes a first sub-step S501, where several parameters are initialized, including an empty set of trajectories, a threshold value çthres distance between a source and its image and a threshold value of temporal depth jAPth. Step S502 consists of a first exploration of the time frames, explored according to the index t. here we consider as an example that time is decomposed according to a discrete representation illustrated by successive frames t. We recall that the frames comprise a succession of sound data acquired over time. We thus have these frames containing the acquired sound data, the position of the source r0(f ) defined in step S4 precisely thanks to the position information of the microphone relative to the wall which supports it (distance m). Step S502 is iterated for all the collected frames.
[0119] Step S502 comprises a sub-step S503 in which a second exploration of the indices i of the estimated positions of the images is carried out. The intermediate steps S504 to S511 described below are repeated until each image position has been explored.
[0120] The parameters constituting the criteria to be evaluated are initialized in step S504, with the best trajectory index ^best equal to zero and the associated median error equal to infinity.
[0121] The evaluation of the criterion of conservation of the distance between the sound source and its reflected image makes it possible to classify the sound data according to their source, fixed or mobile, and its calculation is done in the following steps.
[0122] First, in step S505, the indices k of each source-image trajectory Tk are explored in the search domain, i.e. such that each index t explored in the frame respects the threshold value fdePth defined in step S501, with 0 < t - max( < ^dePth. The intermediate steps S506 to S507 described below are repeated until all trajectories have been explored.
[0123] Then in step S506, for each element p in the trajectory T^, the criterion for preserving the distance between the sound source and its reflected image is calculated by an expression of the type:
[0124] ep= HA)W-?o(0-|rz(0-^(OI-
[0125] The median of all the conservation criteria for the same trajectory is then calculated.
[0126] In the following step S507, the best candidates for best trajectory indices ^best cl of associated median errors are chosen according to the median of the set of calculated preservation criteria. More precisely, the median is compared to the distance threshold value defined in step S501. This condition defined in step S507 makes it possible to select the smallest difference in distance between the source and the image over the iterations, in order to constitute the classification criterion for each group of trajectories.
[0127] If the median is less than the threshold value £tiires C( sj | the median is less than the median error associated with / <best, alors l’indice k remplace l’indice de best trajectory ^best and the value of replaces the value of The explored trajectory Tf, is then updated with the best value of the median error, according to Tnew = [ ti at step S508.
[0128] If on the contrary, the median is higher than the distance threshold value according to the condition of step S507, a new trajectory such that ie=0]].is instantiated in step S508. The new trajectory is reimplemented in step S505, and explored according to steps S505 to S508, until the calculated median gW meets the condition of step S507. The trajectories whose medians do not meet the condition of step S507 belong to other groups of trajectories, generated by another source.
[0129] A first condition is defined in step S509, where, the index p of the updated trajectory Tnew exists such that the explored index of the time frame f is equal to the time frame index of the best trajectory (t = In other words, the condition S509 tests, for a previous frame iteration of step S502, if a position p has already been identified in a previous best trajectory associated with a previous best median error k
[0130] If the test condition of step S509 is met, a second test condition is implemented in the intermediate step S510 which is defined such that, if the best median value, £test, evaluated in S507, is less than the previous best median value of the triplet of the previous best trajectory T^, then the best median value replaces the value of the previous best median of the triplet of the previous best trajectory T^.
[0131] If the test condition of step S510 is not validated, the iteration on frame ' is terminated and the algorithm resumes at step S502 with a new frame t + 1.
[0132] If the test condition of step S509 is not validated, that is to say if a position p has not already been identified in a previous best trajectory T^, then the triplet [ ti Efaest] is associated with the new trajectory Tnew5 which becomes the best trajectory
[0133] Once step S511 is completed, that is to say, when each of the trajectories of the frame has been associated with its triplet [ ti Cbest ], it is possible to group them according to the values of the best criterion for preserving the distance between the source and the image. Each value £best defines a different identified sound source.
[0134] Finally, in the last step, we only keep the indices of the frames and the positions of the source / image pairs for each observed trajectory, rather than referring to the initial indices of image i.
[0135] Thus, a precise estimation of the distance dO from the microphone to the source is carried out using the knowledge or estimation of the height of the microphone (for example on a table). Then, from this estimation of distance dO at different times (over several consecutive frames for example), it is possible to label (or "label" according to another possible terminology) in a simplified manner the trajectories of the reflections according to the method illustrated in Figure 4. The result of this labeling can be put as input to an inference engine (not described) to estimate the geometry of the environment (for example a room in which the microphone and at least one sound source are placed). It is thus possible to precisely define the orientations and relative positions of the walls of the environment. It is also possible to follow the trajectories at any time of one or more sources, possibly mobile.
[0136] [Fig.5] shows a device for implementing the above method and typically comprising: An INT input interface for receiving sound data acquired by the MIC microphone, A memory MEM storing at least the instructions of a computer program to execute the steps of the method described above, and a processor PROC capable of reading these instructions and processing the data received from the interface INT to deliver in particular data of an inference of geometry of the environment.
[0137] Quantifying the acoustic and geometric properties of the environment (for example to simultaneously obtain a room geometry and / or the localization and separation of sound sources in this room) makes it possible to obtain or improve the obtaining of relevant results in the processing of audio signals for various applications of spatial encoding, augmented reality, robot navigation, room characterization, and others.
[0138] APPENDIX 1____________________________________________________ Labeling Algorithm_______________________________________________________________ initialization: - Set of empty trajectories (jf = 0), Set s*™ to a given distance threshold (e.g. 0.5 meters) Set 11'*1 to Ltne maximum temporal search depth (which can be infinite) For each new frame t where data has been collected If the position of the 'source' t(t) is available, then add t3 [Ta [ro é]T]T - For each index i of the estimated position of the image o Inft "best trajectory" empty index and the median error, associated with Mini. o For each index fe (1 < fé < A') of the existing source-image trajectory rfe inside the search field, i.e. such that oct - max(tf) < evaluate the median error of the preservation criterion .of. your distance, that is to say: • For each position p of the trajectory, i < p < ps, PK being the current number of elements of the trajectory, » Calculate the unsigned difference of the distances traveled: <?”' = - ’ïODI - [n(*> - ^(fD|| • <3^ = medi.Bn({eî'}i <f,sPA' J (« NaN » si l'ensemble est vide, c'est-à-dire si p* = o) Update the best candidate, i.e. * If < g*™® and <: e^'atars Jfb5!3 = k. eb5Bt = o If no suitable candidate is found, i.e. if is infinite ■ Then instantiate a new trajectory: • K if + i. T«. [T^] = [[tie = 0d] • Otherwise prepare the trajectory update: * qrii'ew _ fx ,• ,-bestl • A — J 4 î fr 1 Add trajectory or replace existing estimate if error is smaller. » If 3?? such that t = ï^be8T «s If then replace [t i.ebesl • Otherwise add T^st <- J>H3t J- | The NaN notation above stands for "Word a Number" and is imposed to avoid an algorithmic error.
Claims
Claims
1. Method for processing sound data acquired by a microphone array, to determine at least one distance d0 between the microphone array and a sound source (So) in an environment comprising at least one wall, the microphone array being separated from said wall by a fixed distance m, the method comprising: - An estimation of a temporal expression of a velocity vector, - An estimation, from said temporal expression of the velocity vector, of at least one delay (r«) of arrival of the sound at the microphone array along an acoustic path having undergone at least one reflection on the wall of the environment, and - A determination of said distance d0 between the microphone array and the sound source (So) as a function of the distance m between the microphone array and said wall.
2. Method according to claim 1, in which said distance d0 between the microphone array and the sound source is expressed as a function of the distance m from the microphone array to said wall, by a relation of the type: 2mM (cr^2 where c is the speed of sound, Th is said estimated delay, and 0 — cT;,-2msinÿ0 is an angle that the wall forms with a straight line passing through the source and microphone array and relative to a direct direction of arrival of the sound at the microphone array (DoA), given by the velocity vector.
3. Method according to one of the preceding claims, in which: - for a plurality of positions of the source, first estimates of the distance d0 between the array of microphones and the sound source are obtained from the velocity vector, - a characteristic distance m from the array of microphones to said wall is determined from said first estimates, and - said distance d0 between the array of microphones and the sound source is determined as a function of said characteristic distance m for any current position of the source (So).
4. Method according to claim 3, in which said first estimates are given by a relation of the type: A _..................... 0 / ] < max ■—A—4 -i \ Stnÿf / Where: - c is the speed of sound, -rn is the said estimated delay, - is an estimate of an angle of reflection of the sound on the wall, given by the velocity vector, - and 1 is an estimate of an angle that the wall forms with a straight line passing through the source and microphone array and relative to a direct direction of arrival of the sound at the microphone array (DoA), given by the velocity vector.
5. Method according to one of claims 3 and 4, in which said wall is horizontal and arranged under the array of microphones, and said characteristic distance m is calculated from first estimates by a relation of the type: । / 1A yf \ A \ m = 5 V^o2 n + + CTh ) -^osin^
6. Method according to one of claims 3 and 4, in which said wall is horizontal and arranged above the microphone array, and said characteristic distance m is calculated from first estimates by a relation of the type: m = 4 ( A 2 sinX + ( M + CTh ) + 4)^ )
7. Method according to one of the preceding claims, in which the estimation of said temporal expression is that of a generalized velocity vector.
8. Method according to one of the preceding claims, in which said delay (r«) at least is given by an impulse response (RdRIR) characterizing the environment and resulting from an autoregressive average modeling (ARMA) of the temporal expression of the velocity vector.
9. Method according to one of the preceding claims, in which the environment comprises a plurality of walls, the method further comprising a labeling of each acoustic reflection on one of said walls, from the determination of said distance (d0) between the array of microphones and the sound source (So).
10. A method according to claim 9, wherein said labeling is conducted for a plurality of sound source positions in the environment, associated with various sources emitting successively over time, and / or with at least one source moving as a function of time.
11. A method according to claim 10, wherein the labeling of the reflections satisfies a distance preservation criterion according to which, for a moving source between a first instant and a second instant, a distance between two respective positions of the source is equivalent to a distance between two images of this source.
12. Method according to one of claims 9 to 11, further comprising a determination of a geometry of the environment and of said walls that the environment comprises as a function of said labeling of the reflections (S6).
13. Method according to one of claims 9 to 12, wherein said walls are horizontal or vertical.
14. Computer program, comprising instructions for implementing the method according to one of the preceding claims, when executed by a processing circuit.
15. Device comprising a processing circuit for implementing the method according to one of claims 1 to 13.
Citation Information
Patent Citations
FR2201475A1
device FOR MEASURING THE BRAKE TORQUE OF MOTOR VEHICLES AND TRAILER BRAKES
FR2213494A1
Advanced localization of an acoustic source
FR3102325A1
Advanced localization of an acoustic source
FR3116348A1
Improved location of an acoustic source
WO2022106765A1
