Improved estimation of source-microphone distance and room geometry
The method addresses the challenges of estimating source-microphone distance in adverse conditions by leveraging geometric relationships and temporal sound analysis, achieving robust and efficient distance calculation for improved sound reflection and room geometry identification.
Patent Information
- Application Number
- PCT/EP2024/060659
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-21
- Filing Date
- 2024-04-19
- Publication Date
- 2024-10-24
AI Technical Summary
Existing methods for estimating the distance between a sound source and a microphone array in adverse acoustic conditions are prone to performance degradation and require high computational costs, especially when dealing with mobile sources and multiple reflections.
A method that estimates the distance between a microphone array and a sound source by exploiting geometric relationships between the microphone array, the wall, and the sound source, using a temporal expression of the velocity vector and delay in sound arrival, allowing for robust and efficient distance calculation even in complex environments.
This approach enables reliable and efficient estimation of the source-microphone distance, improving the accuracy of sound reflection identification and room geometry determination, particularly in real-time applications with minimal computational complexity.
Smart Images

Figure EP2024060659_24102024_PF_FP_ABST
Abstract
Description
Improved estimation of source-microphone distance and room geometry
[0001] This description relates to the 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 signals measured by a microphone array, so-called echo-based methods are capable of improving the performance of source localization, speech and sound event separation and recognition. Furthermore, this also opens the possibility to address some unconventional problems such as localization behind soundproof obstacles, room geometry inference, distance estimation, room acoustic parameter identification, and acoustic adaptation.
[0003] However, when the sound source is mobile, the reflection parameters (even for a reflection on the same surface) can evolve, independently of a possible change in the acoustic environment. If we wish to exploit the spatiotemporal relationships between acoustic reflections, as for example in publication FR2201475, it becomes necessary to assign labels to the estimated parameters, i.e. to follow their trajectories over time. As described later, these trajectories can be estimated a posteriori, assuming however that we have a reliable estimate of the distance between the microphone and the source.
[0004] Estimating the distance (range) of a far-field sound source using a compact microphone array is considered a challenging problem. Early approaches were based on estimating 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, especially in the blind context. It has been proposed in the inventors' previous works (notably in publications FR3102325 and FR3116348) a distance estimation using the relative impulse response in the ambisonic domain, by 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 classical multi-source tracking algorithms, thus ignoring the intrinsic geometric relationships between these trajectories.
[0007] This description improves the situation.
[0008] A method is proposed for processing sound data acquired by a microphone array, to determine at least one distance 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 estimation of a temporal expression of a velocity vector, An estimation, from said temporal expression of the velocity vector, of at least one delay in 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 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 later, 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 placed 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 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]
[0015] where is the speed of sound, 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] However, this realization allows for variations. In particular, other types of relationship can involve an angle of reflection. sound on the wall. As an example of a relationship involving this angle , the distances m and d0 can be related by a relation of the type (as described later):
[0017]
[0018] In the example of the realization 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 the distance 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- said distance between the microphone array and the sound source is determined as a function of 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 outliers which may be due for example to incorrect labeling of the reflections (for example by counting a multiple reflection as a first reflection, by mistake).
[0021] The first estimates , mentioned above, can always be obtained “roughly” from the velocity vector. In one embodiment, they can be given by a relation of the type:
[0022]
[0023] Or :
[0024] -it's the speed of sound,
[0025] - is the said estimated delay,
[0026] - is an estimate of a sound reflection angle on the wall, given by the velocity vector,
[0027] - And 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.
[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 relative 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:
[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:
[0031] The difference between these two relationships is relative to the convention decided for the sign of the angle as detailed further below.
[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 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 this description) characterizing the environment and resulting from an autoregressive average modeling (noted “ARMA”) of the temporal expression of the velocity vector.
[0035] Once the distance m from the microphone array to the wall is obtained, it is then possible to reliably and robustly calculate the source-microphone array distance. From there, it becomes possible to robustly identify sound reflections, especially when multiple 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 between the microphone array 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 moving.
[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] This can therefore be at least one source moving over time or several sources (fixed or moving) emitting successively over 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 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 achievement can be implemented quite simply in relation to the calculations required, particularly in the case of an environment comprising horizontal or vertical walls. For example, these walls may be parallel or perpendicular to each other, but they may also be walls which may not be at right angles, for example a reflector such as a half-open door or window, or a wall which 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] This description also relates to a device comprising a processing circuit for implementing the above method.
[0047] Thus, a method is proposed to circumvent certain problems of known approaches for distance estimation, and this distance estimation is then exploited 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: La illustrates an example of positioning the microphone MIC on a wall (here horizontal, such as a table) in an environment with another wall (vertical), La 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, La summarizes the main steps of an example of realization of the method described above, Figure 4, split into la and la, details the operations of the labeling step S5 of the, La illustrates an example of realization of a device for implementing the method, and La illustrates cases of reflection on vertical walls as an example.
[0049] A processing method is presented below that demonstrates satisfactory efficiency in terms of the data complexity-accuracy trade-off. Implementations described in detail below allow for near-real-time applications (at the frequency of obtaining consecutive frames of sound data) and considerably improve the accuracy of reflection identifications.
[0050] First, 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) is used to obtain 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 treatment is presented more generally to label 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 treatment is able to blindly determine the number of reflections and their associated labels, with a minimal number of tunable 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 () 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 a 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 exploited for the estimation of the distance at the processing frequency of the acquired sound data frames, by proposing several new estimators, followed below by a description of the labeling process.
[0054] This estimation of the distance to the frequency of the frames obtained can also be applied from the characteristics of the generalized velocity vector GTVV alone and without improvement by ARMA modeling (which modeling therefore remains optional).
[0055] We note the vector of concatenated spherical harmonic (SH) expansion coefficients (commonly called "ambisonic channels" or "HOA channels" hereinafter) up to the order , at the frequency .
[0056] The recorded signals are assumed to be due to a far-field sound source at the azimuth , at the elevation and at a distance 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 broadband beamforming oriented (roughly) towards the direction of arrival of the direct sound between the source and the microphone MIC, noted "DoA" (for "Direction of Arrival"). In this case, the generalized velocity vector is expressed in the frequency domain (GFVV) as follows: (Eq. 1)
[0057] Or , And represent parameters of the nth reflected plane wave, which are:- the expansion vector in ambisonic representation in the direction ,- its relative attenuation n , and- its delay (relative to the direct propagation component DoA), respectively.
[0058] So, is the SH vector of the plane wave in the DoA direction , while is the beamforming response to the nth wavefront (with ).
[0059] The approximation of Eq.1 above is due to the simplifying assumptions built into the right-hand side of the equation: the plane wave decomposition has been given in terms of dominant acoustic reflections , and beamforming and relative attenuations are independent of frequency. This expression can be generalized, in the sense that beamforming and relative attenuations can vary from one frequency to another, under certain assumptions. However, a constraint of absence of distortion with must be satisfied for each .
[0060] The expression of the GFVV vector is only applicable in a noise-free environment, whereas a practical estimator must be robust to low signal-to-noise ratio (SNR), which is resolved in the same aforementioned document FR2213494.
[0061] The inverse Fourier transform of the GFVV vector allows to obtain its temporal representation, noted GTVV and presented as a fraction of series of Dirac type peaks:
[0062] Or And are both causal filters, connected by .
[0063] The "moving average" part 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 :
[0064] Reference may be made to the aforementioned document FR2213494 for details concerning the estimation of the filter. . After estimating this RdRIR, we can proceed to a simple selection of the peaks of the time series , and directly deduce 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 performed in the short-time Fourier transform (STFT) domain, and the temporal duration of the GTVV vector (and hence of the RdRIR) is dictated by the chosen window. The window length is centered on relative to the GTVV vector, i.e.
[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 voice activity has been detected, the procedure described above provides an estimate of the direct direction of arrival of the sound: DoA , as well as a number of estimated reflection directions with their associated delays We actually have a time series of peaks whose abscissas give such delays in relation to the DoA, as illustrated in the reproduction of publication FR3102325 or document FR3116348 from the same inventors as the aforementioned French application FR2213494.
[0068] A main assumption is made here as illustrated in: 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 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 can 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 below. If the latter assumption holds, according to the image-source model illustrated in the, even higher-order reflections from parallel surfaces would remain "horizontal" or "vertical" (although the plane of reflection 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 , are respectively linked by:
[0071] The relationship applies to 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. (or equality in the rare case of a source vertical to the microphone: , either . At the same time, we observe the ratio .
[0072] Similarly, the relationship applies to any reflection of order 1 or higher involving only vertical walls, because the associated images are all projected horizontally 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 or else (which in both cases amounts to , and at the same time ) or else .
[0073] Additionally, the distance from any image source to the microphone can also be given by , Or is the speed of sound and the corresponding relative delay. Substituting this expression into the above equations in place of And , and by rearranging the terms, we can deduce:
[0074] for reflection by one or more horizontal walls, or
[0075] for reflection by one or more vertical walls, or
[0076] We can also derive a generic formula for the distance from any reflection of these types:
[0077] In practice, applying this formula to estimated data requires some precautions.
[0078] On the one hand, the limited precision of angular estimation must be taken into account, particularly for reflections. And it should be noted on the other hand that a certain number of practical configurations do not allow for the reliable identification or exploitation of the case of reflections by one or more vertical walls. 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 to happen that the source is at 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.
[0079] Figure 6 (in vertical 2D section) illustrates that for a source significantly removed from the horizontal plane of the microphone , his image by the reflector , relatively close to the source and the microphone, has an elevation angle significant in absolute value, unlike a distant image (by a reflector 'further) for which is small. When the source and microphone are at close altitudes, the elevation angle Or of the image is usually small in absolute value.
[0080] Therefore, we understand that even a small error in the estimated angle relative to the true angle potentially induces large errors in the calculated ratio (including its sign, theoretically positive), therefore potentially on the diagnosis “horizontal wall” or “vertical wall” ( Or ), and in all cases on the estimated distance (as shown below). This type of risk should be ruled out by a test on : if it is below a certain threshold (for example 10°), we do not continue estimating the distance from this reflection. If its value is significant, that is to say if , we apply the distance estimation from source to microphone, given by:
[0081]
[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 , we propose to calculate a consistency indicator, measuring the gap between the vertical projections (on the same horizontal plane) of the source point estimates and image :
[0083]
[0084] Or is a projection operator onto a horizontal plane containing the orthonormal vectors And .
[0085] In the absence of error, 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 above: we must avoid situations where is too close to 1, which would cause instability of the result. This typically happens when (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 any case, a test on the proximity of with respect to 1 will be enough to decide whether or not to apply the estimate. If this is invalidated for a reflection , 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 And does not allow us to distinguish these cases. However, such reflections are of a higher order. However, it is generally mainly those of order 1 whose parameters we will obtain and use, because they appear by nature more clearly, having generally undergone less absorption.
[0088] In general, several reflections are extracted and exploited 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 . Due to errors in the DoA, or even in the type of reflection detected, the values obtained may vary, and some may be aberrant. We then seek to retain at least one that 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 elevation of the source are fairly robust estimates (the first due to peak selection and the second due to it being the "strongest" wavefront among all wavefronts). Unfortunately, the precise estimation of the elevation usually requires high-order microphone arrays (typically higher than 1, so the ambisonic microphone that can be used for this purpose becomes expensive).
[0090] However, by having the microphone altitude, noted , 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 that supports the microphone). In the case of a table supporting the microphone, according to the, it appears that: ,
[0091] Or .
[0092] Expanding the above expression and rearranging the terms, we obtain:
[0093] Conversely, if the altitude is unknown, but that the distance has been estimated elsewhere (for example, from the generic estimator presented previously), the altitudemcan be calculated as follows:
[0094]
[0095] It is suitable for use in elevation reflections. negative (coming from below) and such that . If several candidate reflections are considered, we retain the value of minimum among those calculated.
[0096] This formula can be transposed to the case of reflection by a horizontal surface above the microphone, such as the aforementioned ceiling, with then a reflection elevation positive and always as such . In this case, the altitude of the microphone (relative to the ceiling) is negative and now given by:
[0097]
[0098] If several candidate reflections are considered, we retain the value of minimum in absolute value 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, although it involves the angle , can be relatively robust in the tested cases:
[0100]
[0101] The latter has the advantage of being equally effective when applied to a horizontal surface below or above the microphone.
[0102] For this equation, we use reflection parameters from a horizontal wall (which will be at altitude 0 compared to the altitude of the microphone), so such as .
[0103] In a scenario where the microphone array is static and the source is moving (all parameters except sound speed being therefore likely to change), one could use these "instantaneous" altitude estimates to improve the estimate over time, given that the real value of should be constant (for the given horizontal reflecting surface). Once we have an accurate estimate of , it can be used to improve the distance estimation d0 using its altitude-based estimator m above. To select the altitude value among various estimates made during the movement of the source, several options are possible. We can choose for example the one associated with the estimated distance the shortest part of the trajectory, because this is generally the most favorable acoustic situation, where the estimation of the wave parameters is the most reliable and precise. We can also rely on a coherence indicator like the one ( ) described above by associating with each frame the indicator associated with wave parameters retained for the determination of the current distance and therefore the current estimate of . We will then choose the estimate of associated with the frame whose 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 elevation-based estimation requires precisely the reflection from the horizontal supporting surface.
[0105] Referring again to Figure 1, it appears that the source position vector: and altitude uniquely determine the position vector of the image source ( And being the unit vectors oriented towards the source and its image, respectively), or: (Eq. 2)
[0106] Therefore, even if the "measured" direction is not accurate enough to give a valid estimate of the distance, it can be combined with the associated delay and altitude-based distance estimation to calculate an “observed” position vector . The latter would be used for comparison with the theoretical position. given in Eq.2 above, in order to identify the desired horizontal reflection among other wavefronts. Equivalently, one can identify this reflection by comparing the two alternative estimates of make it higher.
[0107] The main processing steps are summarized, with a detail of labeling step S5 in Figure 4.
[0108] Referring to Figure 3, the first step S1 consists of encoding the signals acquired by the microphone array MIC into 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 images from the source to the MIC microphone.
[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 we obtain an impulse response RdRIR (or "reduced room impulse response") finely characterizing the environment and its reflection properties. Nevertheless, step S3 to obtain an environmental impulse response is optional (although it allows to obtain good estimates of the reflection parameters) and it is illustrated for this purpose in dotted lines on the.
[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 S0. Alternatively, it is possible to simply measure this altitude m. From the altitude m, the distance d0 from the source S0 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 respective positions of the images of the source with respect to (first) reflections on the same wall is equivalent to the distance between the two respective positions of the source.
[0112] Once the trajectories are labeled in step S5, they can feed an inference engine in order 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 that, in cases of possible reflection angles, the estimates of m and d0 could 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.
[0113] The labeling step S5 is detailed below.
[0114] It is assumed that a set of labeled position vectors in time has been collected , Or is just an index to indicate some data to the temporal instance , and not its correspondence to a particular wavefront (i.e. And can correspond to different wavefront position vectors).
[0115] 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 source and image positions collected from acoustic fingerprints on frames , a clue image being linked to a reflection of a source without a priori coherence along the frames ,Output, the sets of trajectories (or groups of reflections), a trajectory being defined by a triplet including: the index of the frame, the index from the source image to this image as it appears in the input data, a distance error Or is the index of the line in the table .
[0116] An algorithm for executing the process in Figure 4, which is discussed in detail below, is presented below in APPENDIX 1 for illustrative purposes.
[0117] The labeling step includes a first sub-step S501, where several parameters are initialized, including an empty set of trajectories, a threshold value distance between a source and its image and a threshold value of temporal depth .
[0118] 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. It is recalled 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 defined in step S4 precisely using the position information of the microphone relative to the wall supporting 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 performed. 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 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 allows 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 are explored in the search domain, that is to say such that each index t explored in the frame respects the threshold value defined in step S501, with . 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 , the criterion for preserving the distance between the sound source and its reflected image is calculated by an expression of the type:
[0124] .
[0125] The median of all conservation criteria of the same trajectory is then calculated.
[0126] At the next step S507, the best candidates of best trajectory indices and associated median errors are chosen based on 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 lower than the threshold value and if the median is less than the median error associated with , then the index replaces the best trajectory index and the value of replaces the value of The trajectory explored , is then updated with the best value of the median error, according to at step S508.
[0128] If, on the contrary, the median is higher than the threshold value distance according to the condition of step S507, a new trajectory , such as , is instantiated at step S508. The new trajectory is reimplemented in step S505, and explored according to steps S505 to S508, until the median calculated meets the condition of step S507. 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 exists such that the explored index of the time frame is equal to the time frame index of the best trajectory ( ). In other words, condition S509 tests, for a previous iteration of frame from step S502, if a position has already been identified in a previous best trajectory associated with a previous best median error .
[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, , evaluated in S507, is lower than the previous best median value of the triplet of the previous best trajectory , then the best median value replaces the value of the previous best median of the triplet of the previous best trajectory .
[0131] If the test condition of step S510 is not validated, the iteration on the frame is completed and the algorithm resumes at step S502 with a new frame .
[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 , then the triplet is associated with the new trajectory , which becomes the best trajectory .
[0133] Once step S511 is completed, that is, when each of the trajectories of the frame has been associated with its triplet , 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 defines a different identified sound source.
[0134] In the last step, we only keep the frame indices and the positions of the source / image pairs for each observed trajectory, rather than referring to the initial indices of the imagei.
[0135] Thus, a precise estimation of the distance d0 from the microphone to the source is made using the knowledge or estimation of the height of the microphone (for example on a table). Then, from this estimation of distance d0 at different times (over several consecutive frames for example), the trajectories of the reflections can be labeled (or "labeled" according to another possible terminology) in a simplified manner according to the process illustrated in Figure 4. The result of this labeling can be 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] A device for implementing the above method is shown, typically comprising: An input interface INT for receiving sound data acquired by the microphone MIC, A memory MEM storing at least the instructions of a computer program for executing 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 for an inference of geometry of the environment.
[0137] Quantifying the acoustic and geometric properties of the environment (e.g., 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]
Claims
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 (S0) 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 ( ) arrival of the sound at the microphone array along an acoustic path having undergone at least one reflection on the wall of the environment, andA determination of said distance d0 between the microphone array and the sound source (S0) as a function of the distance m between the microphone array and said wall. Method according to claim 1, in which said distance d0 between the array of microphones and the sound source is expressed as a function of the distance m from the array of microphones to said wall, by a relationship of the type: where is the speed of sound, 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 (DoA), given by the velocity vector. Method according to one of the preceding claims, in which:- for a plurality of positions of the source, first estimates the distance 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- said distance d0 between the microphone array and the sound source is determined as a function of said characteristic distance m for any current position of the source (S0). The method of claim 3, wherein said first estimates are given by a relation of the type: Where: -this is the speed of sound,- is the said estimated delay,- is an estimate of a sound reflection angle on the wall, given by the velocity vector,- and 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. 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 relationship of the type: 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 relationship of the type: Method according to one of the preceding claims, in which the estimation of said temporal expression is that of a generalized velocity vector. Method according to one of the preceding claims, wherein said delay ( ) 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. Method according to one of the preceding claims, in which the environment comprises a plurality of walls, the method further comprising labeling each acoustic reflection on one of said walls, from the determination of said distance (d0) between the array of microphones and the sound source (S0). The method of 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 at least one source moving as a function of time. Method according to claim 10, in which 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. 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). Method according to one of claims 9 to 12, in which said walls are horizontal or vertical. Computer program, comprising instructions for implementing the method according to one of the preceding claims, when executed by a processing circuit. 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
