The invention relates to a method and apparatus for visualizing the directional sound activity of a multichannel audio signal.
Audio is an important medium for conveying any kind of information, especially sound direction information. Indeed, the human auditory system is more effective than the visual system for surveillance tasks. Thanks to the development of multichannel audio format, spatialization has become a common feature in all domains of audio: movies, video games, virtual reality, music, etc. For instance, when playing a First Person Shooting (FPS) game using a multichannel sound system (5.1 or 7.1 surround sound), it is possible to localize enemies thanks to their sounds.
Typically, such sounds are mixed onto multiple audio channels, wherein each channel is fed to a dedicated loudspeaker. Distribution of a sound to the different channels is adapted to the configuration of the dedicated playback system (positions of the loudspeakers), so as to reproduce the intended directionality of said sound.
Multichannel audio streams thus require to be played back over suitable loudspeaker layouts. For instance, each of the channels of a five-channel formatted audio signal is associated with its corresponding loudspeaker within a five-loudspeaker array.
A multichannel audio signal is thus encoded according to an audio file format dedicated to a prescribed spatial configuration where loudspeakers are arranged at prescribed positions to a reference listening point. Indeed, each time-dependent input audio signal of the multichannel audio signal is associated with a channel, each channel corresponding to a prescribed position of a loudspeaker.
If multichannel audio is played back over an appropriate sound system, i.e. with the required number of loudspeakers and correct angular distances between them, a normal hearing listener is able to detect the location of the sound sources that compose the multichannel audio mix. However, should the sound system exhibit inappropriate features, such as too few loudspeakers, or an inaccurate angular distance thereof, the directional information of the audio content may not be delivered properly to the listener. This is especially the case when sound is played back over headphones.
As a consequence, there is in this case a loss of information since the multichannel audio signal conveys sound direction information through the respective sound levels of the channels, but such information cannot be delivered to the user. Accordingly, there is a need for conveying to the user the sound direction information encoded in the multichannel audio signal.
Some methods have been provided for conveying directional information related to sound through the visual modality. However, these methods were often a mere juxtaposition of volume meters, each dedicated to a particular loudspeaker, and thus unable to render precisely the simultaneous predominant direction of the sounds that compose the multichannel audio mix except in the case of one unique virtual sound source whose direction coincides with a loudspeaker direction. Other methods intended to more precisely display sound locations are so complicated that they reveal themselves inadequate since sound directions cannot be readily derived by a user.
For example, U.S. patent application US 2009/0182564 describes a method wherein sound power level of each channel is displayed, or alternatively wherein position and power level of elementary sound components are displayed.
U.S. Pat. No. 9,232,337 B2 describes a method for visualizing a directional sound activity of a multichannel audio signal that displays a visualization of a directional sound activity of the multichannel audio signal through a graphical representation of directional sound activity level within a sub-division of space. For a channel and for a frequency sub-band, a sound activity vector is formed by associating the sound activity level corresponding to the frequency-domain signal of said channel and said sub-band to the unit vector corresponding to the spatial information associated with said channel. In an embodiment of this patent, the energy vector sum representative for the perceived directional energy is directly calculated using Gerzon's energy vectors, as a mere summation of the sound activity vectors related to the channels for said frequency sub-band. This directional sound activity vector represents the predominant sound direction that would be perceived by a listener according to the recommended loudspeaker layout for sounds within that particular frequency sub-band.
However, if this method visually renders the main sound direction, it may not always achieve optimal results for a user. Indeed, this method does not exploit diffuse sounds, but focuses on identifying and displaying the main sound directions, regardless of the nature of the sound (directivity or diffuseness). As a result, when the sound is very diffuse, it may not be able to correctly extract a useful main sound direction from the noisy environment.
The method and system according to the invention is intended to provide a simple and clear visualization of sound activity in any direction.
In accordance with a first aspect of the present invention, this object is achieved by a method for visualizing a directional sound activity of a multichannel audio signal, wherein the multichannel audio signal comprises time-dependent input audio signals, each time-dependent input audio signal being associated with an input channel, spatial information with respect to a reference listening point being associated with each one of said channel, the method comprising:
Other preferred, although non-limitative, aspects of the pixel circuit of the Invention are as follows, isolated or in a technically feasible combination:
The invention also relates to a non-transitory tangible computer-readable medium having computer executable instructions embodied thereon that, when executed by a computer, perform the method according to the invention.
The invention also relates to an apparatus for visualizing directional sound activity of a multichannel audio signal, comprising:
Other aspects, objects and advantages of the present invention will become better apparent upon reading the following detailed description of preferred embodiments thereof, given as a non-limiting example, and made with reference to the appended drawings wherein:
The operation of a directional sound activity analyzing unit, which may be part of a device comprising a processor, typically a computer, further provided with means for acquiring audio signals and means for displaying a visualization of sound activity data, for example visual display unit such as a screen or a computer monitor. The directional sound activity analyzing unit comprises means for executing the described method, such as a processor or any computing device, and a memory for buffering signals or storing various process parameters.
The directional sound activity analyzing unit receives an input signal constituted by a multichannel audio signal. This multichannel audio signal comprises K time-dependent input audio signals associated with K input audio channels, each time-dependent input audio signal being associated with an input channel. Each channel is associated with spatial information. Spatial information describes the location of the associated loudspeaker relative to the listener's location, called the reference listening point. For example, spatial information can be coordinates or angles and distances used to locate a loudspeaker with respect to the reference listening point, generally a listener's recommended location. Typically, three values per audio channel are provided to describe this localization. Spatial parameters constituting said spatial information may then be represented by a K×3 matrix.
An input receives the multichannel audio signal comprising time-dependent input audio signals for a plurality of input channels (step S01). Each time-dependent input audio signal is associated with an input channel. Each input channel corresponds to a prescribed position of an electroacoustic transducer with respect to a reference listening point in a prescribed spatial configuration. For example, in the prescribed spatial configuration shown by
Under the plane-wave model assumption, the position of a sound source (e.g. the location of each loudspeaker) may be defined solely by the direction of the sound source with respect to the reference listening point. A unitary vector is then sufficient to locate a sound source. Accordingly, each of the prescribed positions defines a unitary vector {right arrow over (al)}representing the sound direction and originating from the reference listening point and pointing in the direction of each loudspeaker. As a result, each input channel i is associated with a sound direction {right arrow over (al)} defined between the reference listening point and the prescribed position of the loudspeaker associated with said input channel i. For example, in the prescribed spatial configuration shown in
The directional sound activity analyzing unit receives these input audio channels, and then determines directional sound activity levels to be displayed for visualizing the directional sound activity of a multichannel audio signal. The directional sound activity analyzing unit is configured to perform the steps of the above-described method. The method is performed on an extracted part of the input signal corresponding to a temporal window. For example, a 50 ms duration analysis window can be chosen for analyzing the directional sound activity within said window.
First, a frequency band analysis aims at estimating the sound activity level for a predetermined number of frequency sub-bands for each channel of the windowed multichannel audio signal.
The received time-dependent input audio signals ai(t) may be analog, but they preferably are digital signals. There are as many input audio signals ai (t) as input channels i. During the frequency analysis (step S10), the time-dependent input audio signals ai(t) are converted into the frequency domain by performing a time-frequency conversion (step S02). Typically, the time-frequency conversion uses a Fourier-related transform such as a Short-time Fourier transform (STFT), which is used to determine the sinusoidal frequency and phase content of local sections of a signal as it changes over time.
More precisely, each time-dependent input audio signal ai(t) is converted into a plurality of time-frequency representations Ai(k, n) for the input channel i associated with said time-dependent input audio signal. Each time-frequency representation Ai(k, n) corresponds to a time-frequency tile defined by a time frame and a frequency sub-band. The conversion is made on a frame-by-frame basis.
Preferably, the frame length is comprised between 5 ms and 80 ms. Preferably, the width of the frequency sub-band is comprised between 10 Hz and 200 Hz. Preferably the inter-frame spacing is comprised between 1/16th and one half of the frame length. For instance, for a sampling rate of 48 kHz and an FFT-based STFT processing framework, the frame length may be of 1024 samples with a related frequency sub-band width (or bin width) of 46.875 Hz and an inter-frame spacing of 512 samples. The time-frequency tiles are the same for the different input channels i.
The frequency sub-bands are subdivisions of the frequency band of the audio signal, which can be divided into sub-bands of equal widths or preferably into sub-bands whose widths are dependent on human hearing sensitivity to the frequencies of said sub-bands.
In the following, k is used as a frequency index of a frequency sub-band and n is a frame index, so that the time-frequency representation Ai(k, n) refers to a complex number associated with the kth frequency sub-band and the nth frame of the signal of the input channel i. The time-frequency representations Ai(k, n) and the sound directions {right arrow over (al)}are then used in a time-frequency processing (step S03) wherein the data of a time-frequency tile are processed.
Spatial analysis (step S11) is performed from time-frequency representations Ai(k, n) and the sound directions {right arrow over (al)}of a time-frequency tile. For each time-frequency tile, an active directional vector {right arrow over (Da)}(k, n) and a reactive directional vector {right arrow over (Dr)}(k, n) are determined (step S31) from time-frequency representations Ai(k, n) of different input channels for said time-frequency tile.
The active directional vector {right arrow over (Da)}(k, n) of a time-frequency tile is proportional to the active acoustical intensity vector which is representative of the sound energy flow at the reference listening point for the time frame and the frequency sub-band of said time-frequency tile. More specifically, the active directional vector {right arrow over (Da)}(k, n) corresponds to the active acoustical intensity vector, normalized by the sum of the acoustic energies Ep(k, n) and EK(k, n) at the reference listening point O, with an added minus sign in order to have it directed from the reference listening point O towards the unitary circle. It is possible to use a different normalization or to omit the minus sign, in which case the vectors would be pointing towards the reference listening point O.
The reactive directional vector {right arrow over (Dr)}(k, n) is proportional to the reactive acoustical intensity vector which is representative of acoustic perturbations at the reference listening point with respect to the sound energy flow for the same time-frequency tile. More specifically, the reactive directional vector {right arrow over (Dr)}(k, n) corresponds to the reactive acoustical intensity vector, normalized by the sum of the acoustic energies Ep(k, n) and EK(k, n) at the reference listening point O. A minus sign is also added but could be omitted. As for the active directional vector, it is possible to use a different normalization.
From a perceptual point of view, if the active directional vector {right arrow over (Da)}(k, n) can be related to the primary directional sound field, the reactive directional vector {right arrow over (Dr)}(k, n) is related to the ambient diffuse sound field. Moreover, the directional information of the reactive directional vector {right arrow over (Dr)}(k, n) enables the handling of the spatial characteristics of this ambient sound field, and thus it can be used to describe not only totally diffused ambient sound fields but also partially diffused ones.
This new approach is by nature more robust as it takes benefits of the reliability of the active directional vector {right arrow over (Da)}(k, n) which is a true acoustical spatial cue (compared to the Gerzon vectors which are empiric perceptual cues), but also exploits the diffuseness of sound through the reactive directional vector {right arrow over (Dr)}(k, n).
It has been found that the combination of the active directional vector {right arrow over (Da)}(k, n) and the reactive directional vector {right arrow over (Dr)}(k, n) may be used to identify the locations of sound sources, as depicted with the example on
However, most of the time, the sound sources VS1, VS2 are not totally uncorrelated. It has been found that whatever the exact locations of the two sound sources VS1, VS2, the reactive intensity is maximal when the source signals are totally uncorrelated. Conversely, the reactive intensity is minimal when the source signals are totally correlated. In a similar way, where the sound source signals are totally uncorrelated, the reactive intensity is maximal when the source directions are spatially negatively correlated (i.e. opposite) with respect to the reference listening point O. Conversely, the reactive intensity is minimal when the source directions are spatially correlated (i.e. in the same direction) with respect to the reference listening point O.
For determining the active directional vector {right arrow over (Da)}(k, n) and the reactive directional vector {right arrow over (Dr)}(k, n), the prescribed positions of the loudspeakers with respect to the reference listening point O in a prescribed spatial configuration are used. As indicated above, each input channel i is associated with a sound direction {right arrow over (al)} defined between the reference listening point O and the prescribed position of the loudspeaker associated with said input channel i.
A sound pressure value P(k, n) for a time-frequency tile defined by a sum of the time-frequency representations Ai(k, n) of the different input channels of the same for said time-frequency tile is determined:
A sound velocity vector {right arrow over (V)}(k, n) for the time-frequency tile is determined, said sound velocity vector {right arrow over (V)}(k, n) being proportional to a sum of each sound direction {right arrow over (al)} weighted by the time-frequency representation Ai(k, n) corresponding to the input channel i associated with said sound direction {right arrow over (ζl)}:
with {right arrow over (ex)}, {right arrow over (ey)} and {right arrow over (z)} the unitary vectors of a coordinate system used as a reference frame for the virtual spatial configuration, ρ the density of air and c the speed of sound. For example, the speed of sound in dry air at 20° C. is 343.2 meters per second, which may be approximated to 340 m·s−1. At sea level and at 15° C., air density is approximately 1.225 kg/m3, which may be approximated to 1.2 kg/m3. Other values may be used.
A complex intensity vector {right arrow over (I)}(k, n) resulting from a complex product between a conjugate of the sound pressure value P(k, n) for a time-frequency tile and the sound velocity vector {right arrow over (V)}(k, n) for said time-frequency tile is determined:
{right arrow over (I)}(k, n)=P(k, n)*{right arrow over (V)}(k, n)
and is used to determine the active directional vector {right arrow over (Da)}(k, n) and the reactive directional vector {right arrow over (Dr)}(k, n) of said time-frequency tile. More precisely, the active directional vector {right arrow over (Da)}(k, n) is determined from the real part of the complex product {right arrow over (I)}(k, n) and the reactive directional vector {right arrow over (Dr)}(k, n) is determined from the imaginary part of the complex product {right arrow over (I)}(k, n).
The active directional vector {right arrow over (Da)}(k, n) and the reactive directional vector {right arrow over (Dr)}(k, n) may be calculated as follows:
It shall be noted that the active directional vector {right arrow over (Da)}(k, n) and the reactive directional vector {right arrow over (Dr)}(k, n) are here normalized by the energies EK(k, n) and Ep(k,n), but could be calculated otherwise. It shall be noted that that a minus sign is added to the expressions of the active directional vector {right arrow over (Da)}(k, n) and reactive directional vector {right arrow over (Dr)}(k, n) in order to have them directed from the reference listening point O towards the unitary circle. It would be possible to omit the minus sign, in which case the vectors would be pointing towards the reference listening point O.
Once the active directional vector {right arrow over (Da)}(k, n), the reactive directional vector {right arrow over (Dr)}(k, n), the sound pressure value P(k, n) and the sound velocity vector {right arrow over (V)}(k, n) (or the equivalents thereof) have been determined, it is possible to perform the audio source extraction (step S12) for determining positions and time-frequency signal values of virtual sound sources (step S32).
The method requires determining the attributes (position and time-frequency signal values) of virtual sound sources that will be used thereafter to determine the signals of the electroacoustic transducers of the actual spatial configuration.
For each time-frequency tile, the active directional vector {right arrow over (Da)}(k, n) and the reactive directional vector {right arrow over (Dr)}(k, n) are used to determine the positions of the virtual sound sources with respect to the reference listening point in a virtual spatial configuration (step S32).
The determined positions of the virtual sound sources, the active directional vector {right arrow over (Da)}(k, n), the reactive directional vector {right arrow over (Dr)}(k, n), the sound pressure value P(k, n) and the sound velocity vector {right arrow over (V)}(k, n) are used to determine virtual first-order directional microphone signals (step S122) corresponding to the sounds that would be acquired by virtual microphones arranged at the reference listening point O and directed towards each virtual sound sources. There are as many virtual microphones as virtual sound sources.
A virtual microphone signal is a function of the sum of the sound pressure value P(k, n), and of the scalar product between the sound velocity vector {right arrow over (V)}(k, n) and a unitary vector in the direction of a sound source, possibly weighted by the density of air ρ and the speed of sound c. For example, a virtual cardioid microphone signal Mj(k, n) associated with a virtual sound source arranged in the direction defined by {right arrow over (sj)}(k, n) can be calculated as follows:
A virtual microphone signal highlights the sound of the corresponding virtual sound source perceived at the reference listening point O, but also contains interferences from the other virtual sound sources. However, defining the virtual microphone signals for every virtual sound source allows identifying the virtual sound source signal of each virtual sound source.
It shall be noted that spatial manipulation may be performed by modifying the positions of the virtual sound sources. This approach is much safer than modifying the input channel data side defining the prescribed positions, because the original primary/ambient energy ratio is kept.
The details of the source extraction process however change depending on the number of virtual sound sources. The audio source extraction process estimates the locations and frequency signal values of virtual sound sources that generate the same sound field characteristics as the sound field defined by the time-dependent input audio signals in the prescribed configuration. Source-related sound field models need to be defined, as the audio source extraction process may be highly different from one model to another. Two reliable models with the analysis based on the exploitation of both the active and reactive components of the acoustical intensity are described below: a model with two virtual sound sources and a model with three virtual sound sources.
The “two-source” model handles the diffuseness (and thus makes use of the reactive component) as an indicator of the perceptual width of a sound source or local diffuseness. Two sound sources are sufficient to simulate a wider sound source, their spatial and signal correlation defining the perceived wideness of this composite sound source. The “three-source” model handles the diffuseness (and thus makes use of the reactive component) as an indicator of the ambience level within the sound scene or global diffuseness. Two uncorrelated sound sources of opposite directions are suitable to simulate this ambient component, in addition to a first virtual sound source corresponding to the primary component. It is explained below how to proceed with two virtual sound sources or three virtual sound sources.
In a spatial configuration of a unitary circle centered on the reference listening point O, the virtual sound sources are positioned on the unitary circle. A position of a virtual sound source is therefore at the intersection of the unitary circle with a directional line extending from the reference listening point. The position of each virtual sound source can be defined by a unitary source direction vector {right arrow over (sj)}(k, n) originating from the reference listening point. This is shown in
As indicated above, the first step of the source extraction consists in determining the positions of the two virtual sound sources (step S121). As shown in
If the analyzed sound field is generated by two uncorrelated sound sources (not necessary of equal energy), this technique enables to retrieve the exact location of those two sound sources. If the two sound sources used to generate the sound field tend to be in-phase (respectively opposite-phase), their exact locations cannot be retrieved anymore. The technique over-estimates (respectively under-estimates) the spatial correlation between the two sound source directions. However, this relationship between signal correlation and spatial correlation is perceptively coherent.
Determining the locations of the two virtual sound sources VS1, VS2 is equivalent to solving a geometry problem of the intersection of a line with a circle (or a sphere for three-dimensional sound field). Solving this problem is equivalent to solving a second order equation, which solutions are
It shall be noted that there are:
We thus have a source direction vector {right arrow over (s1)}(k, n) of a first virtual sound source VS1, and a source direction vector {right arrow over (s2)}(k, n) of a second virtual sound source VS2. As depicted in
As explained above, after the computation of the directions of the two virtual sound sources VS1, VS2, it is possible, by combining the sound pressure value P(k, n) and the sound velocity vector {right arrow over (V)}(k, n) to the source direction vectors {right arrow over (s1)}(k, n), {right arrow over (s2)}(k, n), to create two virtual directional microphones. As depicted in
As explained above, each virtual microphone signal highlights the sound signal of the corresponding virtual sound source VS1, VS2 perceived at the reference listening point O, but also contains interferences from the other virtual sound source:
where S1(k, n) is the time-frequency signal value of the first virtual sound source VS1 and S2(k, n) is the time-frequency signal value of the second virtual sound source VS2. A last processing step permits to extract the time-frequency signal values S1(k, n), S2(k, n) of each virtual sound source by unmixing the source signals from the virtual microphone signals (step S123):
The positions of the two virtual sound sources VS1, VS2, defined by the source direction vectors {right arrow over (s1)}(k, n) and {right arrow over (s2)}(k, n), and their respective time-frequency signal values S1(k, n) and S2(k, n) have been determined.
It shall be noted that the two virtual sound sources VS1, VS2 are equivalent, in the sense that they contain both primary component (through the active directional vector {right arrow over (Da)}(k, n)) and ambient components (through the reactive directional vector {right arrow over (Dr)}(k, n)). An ambience extraction processing may be performed for implementing additional refinement.
As explained before, the first step of the audio source extraction consists in determining the positions of the three virtual sound sources, through unitary source direction vectors {right arrow over (sj)}(k, n) defined by the active directional vector {right arrow over (Da)}(k, n) and reactive directional vector {right arrow over (Dr)}(k, n). In a spatial configuration of a unitary circle centered on the reference listening point O, the virtual sound sources are positioned on the unitary circle. A position of a virtual sound source is therefore at the intersection of the unitary circle with a directional line extending from the reference listening point. The position of each virtual sound source can be defined by a unitary source direction vector {right arrow over (sj)}(k, n) originating from the reference listening point. The unitary source direction vector {right arrow over (sj)}(k, n) is defined through the active directional vector {right arrow over (Da)}(k, n) and reactive directional vector {right arrow over (Dr)}(k, n). This is shown in
As already explained, the active directional vector {right arrow over (Da)}(k, n) indicates the main perceptual sound event direction, the reactive intensity indicates the “direction of maximum perceptual diffuseness”. Using three virtual sound sources VS1, VS2, VS3 thus appears relevant to approximate the sound field properties:
As a consequence, there are:
Indeed, determining the positions of the virtual sound sources VS1, VS2, VS3 is much simpler for the three-source model than for the two-source model, since their source direction vectors {right arrow over (sl)}(k, n) are directly computed from the active directional vector {right arrow over (Da)}(k, n) and the reactive directional vector {right arrow over (Dr)}(k, n):
with a first source direction vector {right arrow over (s1)}(k, n) of a first virtual sound source VS1, a second source direction vector {right arrow over (s2)}(k, n) of a second virtual sound source VS2, and a third source direction vector {right arrow over (s3)}(k, n) of a third virtual sound source VS3. As depicted in
As explained above, after the computation of the directions of the three virtual sound sources VS1, VS2, VS3, it is possible, by combining the sound pressure value P(k, n), the sound velocity vector {right arrow over (V)}(k, n) to a source direction vector, to create three virtual directional microphones. As depicted in
As explained above, each virtual microphone signal M1(k, n) , M2(k, n) , M3(k, n) highlights the sound of the corresponding virtual sound source VS1, VS2, VS3 perceived at the reference listening point O, but also contains interferences from the other virtual sound source VS1, VS2, VS3. More precisely, since the second source direction vector {right arrow over (s2)}(k, n) and the third source direction vector {right arrow over (s3)}(k, n) are of opposite direction, interference between the second virtual sound source VS2 and the third virtual sound source VS3 is negligible, whereas they both interfere with the first virtual sound source VS1:
A last processing step (step S123) permits to extract the time-frequency signal value of each virtual sound source by unmixing the source time-frequency values:
Contrary to the model with two virtual sound sources, the three virtual sound sources are already decomposed between primary components and ambient components:
Once the attributes of the virtual sound sources have been determined (positions and time-frequency signal values), it is possible to determine a directional sound activity vector related to a time-frequency tile from the virtual sound sources. This directional sound activity vector represents the predominant sound direction that would be perceived by a listener according to the recommended loudspeaker layout for sounds within the particular frequency sub-band of the time-frequency tile.
The attributes of the directional sound activity vector is calculated from the positions and time-frequency signal values of the virtual sound sources.
With three virtual sound sources, the energy vectors relative to the sound sources of a time-frequency tile are:
The energy vector sum representative for the perceived directional energy is then:
The first virtual sound source VS1 is more related to the main perceptual sound event direction and the two other virtual sound sources VS2, VS3 more related to the direction of the maximum perceptual diffuseness. It may be then relevant to take only the first virtual sound source VS1 for the directional sound activity vector. Generally, a weighting of the different virtual sound sources VS1, VS2, VS3 may be used, with a source-weighted directional sound activity vector expressed as:
with ωj weighting factors between 0 and 1. Preferably, the sum of the weighting factors ωj is 1. Preferably, none of the weighting factors ωj is 0. Preferably, the weighting factors ω2 and ω3 are equal. Preferably, ω1>ω2, and ω1>ω3.
With two virtual sound sources, it is also possible to use a weighted sum of the energy vectors relative to the two sound sources as with the three virtual sound sources. Preferably, the two weighting factors ω1 and ω2 are equal.
An optional, however advantageous, frequency masking (step S13) can adapt directional sound activity vectors according to their respective frequency sub-bands. In order to tune reactivity with respect to sound frequencies, the norms of the directional sound activity vectors can be weighted based on their respective frequency sub-bands. The weighted directional sound activity vector is then
{right arrow over (G)}[k, n]=∝[k].{right arrow over (E)}[k, n]
where a[k] is a weight, for instance between 0 and 1, which depends on the frequency sub-band of each directional sound activity vector. Such a weighting allows enhancing particular frequency sub-bands of particular interest for the user. This feature can be used for discriminating sounds based on their frequencies. For instance, frequencies related to particularly interesting sounds can be enhanced in order to distinguish them from ambient noise. The directional sound analyzing unit can be fed with spectral sensitivity parameters which define the weight attributed to each frequency sub-band.
In order to directionally visualize sound activity, space is divided into sub-divisions which are intended to discretely represent the acoustic environment of the listener.
For each frequency sub-band, the dominant sound direction and the sound activity level associated to said direction is now determined and described by the directional sound activity vector, preferably weighted as described above. The visualization of such directional information must be very intuitive so that sound direction information can be restituted to the user without interfering with other source of information.
The beam clustering stage (S14) corresponds to allocating to each of the sub-division a part of each frequency sub-band sound activity.
To this end the contributions of each frequency sub-band sound activity to each sub-division of space are determined on the basis of directivity information. For each sub-division of space, a directional sound activity level is determined within said sub-division of space by combining, for instance by summing, the contributions of said frequency sub-band sound activity to said sub-division of space.
Directivity information is associated to each sub-division 6. Such directivity information relates to level modulation as a function of direction in an oriented coordinate system, typically centered on a listener's position. This directivity information can be described by a directivity function which associates a weight to space directions in an oriented coordinate system. Typically, such a directivity function exhibits a maximum for a direction associated with the related sub-division.
For each sub-division 6 of space, norms of directional sound activity vectors are weighted on the basis of a directivity information associated with said sub-division 6 of space and the directions of said directional sound activity vectors. These weighted norms can thus represent the contribution of said directional sound activity vectors within said sub-divisions of space.
For instance, a directivity function can be parameterized by a beam vector {right arrow over (vm)} and an angular value θm corresponding to the angular width of the beam, wherein m identifies a space sub-division. The direction associated with a sub-division 6 can be the main direction defined by the beam vector {right arrow over (vm)}. Accordingly, the angular distance between a beam vector {right arrow over (vm)} and a directional sound activity vector {right arrow over (G)}[k] can define the clustering weight Cm[k]. For instance, a simple directional weighting function may be 1 if the angular distance between a beam vector {right arrow over (vm)} and a directional sound activity vector {right arrow over (G)}[k] is less than θm/2 and 0 otherwise:
The beam vector {right arrow over (vm)} and the angular value θm used for define the parameters of the directivity function can constitute an example of directivity information by which contribution of each one of said directional sound activity vectors within sub-divisions of space can be estimated.
The directional sound activity within a beam or sub-division of space can then be determined by summing said contributions, such as weighted norms in this example, of said directional sound activity vectors related to L frequency sub-bands:
Once determined, the directional sound activity for each of the M beam can be fed to a visualizing unit, typically to a screen associated with the computer which comprises or constitutes the directional sound analyzing unit.
For every space sub-division 6, such as the beams illustrated in
Other graphical representation can be used, such a radar chart wherein directional sound activity levels are represented on axes starting from the center, lines or curves being drawn between the directional sound activity levels of adjacent axes. Preferably, the lines or curves define a colored geometrical shape containing the center.
The invention thus allows sound direction information to be delivered to the user even if said user does not possess the recommended loudspeaker layout, for example with headphones. It can also be very helpful for hearing-impaired people or for users who must identify sound directions quickly and accurately.
Preferably, the graphical representation shows several directional sound activity levels for each sub-division, these directional sound activity levels being calculated with different frequency masking parameters.
For example, at least two set of spectral sensitivity parameters are chosen to parameterize two frequency masking process respectively used in two directional sound activity level determination processes. The two set of directional sound activity vectors determined from the same input audio channels are weighted based on their respective frequency sub-bands in accordance with two different set of weighting parameters. Consequently, for each sub-division, each one of the two directional sound activity levels enhanced some particular frequencies in order to distinguish different sound types.
The two directional sound activities can then be displayed simultaneously within the same sub-divided space, for example with a color code for distinguishing them and a superimposition, for instance based on level differences.
The method of the present invention as described above can be realized as a program and stored into a non-transitory tangible computer-readable medium, such as CD-ROM, ROM, hard-disk, having computer executable instructions embodied thereon that, when executed by a computer, perform the method according to the invention.
While the present invention has been described with respect to certain preferred embodiments, it will be apparent to those skilled in the art that various changes and modifications may be made without departing from the scope of the invention as defined in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
16306190.6 | Sep 2016 | EP | regional |
This application claims priority under 35 U.S.C 119(a) to European patent application Ser. No. 16306190.6 filed on Sep. 19, 2016, all of which is hereby expressly incorporated by reference into the present application.