The invention relates to a method for reproducing spatially distributed sounds 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.
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 actual 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.
Patent application WO2008/113428 discloses a technique a conversion between arbitrary multi-channel formats. An input multi-channel representation is converted into a different output multi-channel representation of a spatial audio signal. An intermediate representation of the spatial audio signal is derived, the intermediate representation having direction parameters indicating a direction of origin of a portion of the spatial audio signal. The output multi-channel representation of the spatial audio signal is generated using the intermediate representation of the spatial audio signal.
The method is intended to provide a method for reproducing spatially distributed sounds of a multichannel audio signal with an audio system comprising loudspeakers in an actual spatial configuration which is different of the prescribed spatial configuration associated with the format of the multichannel audio signal.
In accordance with a first aspect of the present invention, this object is achieved by a method for reproducing spatially distributed sounds of a multichannel audio signal with electroacoustic transducers positioned at actual positions with respect to a reference listening point in an actual spatial configuration, wherein the multichannel audio signal comprises time-dependent input audio signals, each time-dependent input audio signal being associated with an input channel, each channel corresponding to a prescribed position of a electroacoustic transducer with respect to the reference listening point in a prescribed spatial configuration, said method comprising the following steps:
Other preferred, although non limitative, aspects of the method of the invention are as follows, isolated or in a technically feasible combination:
In accordance with a second aspect of the present invention, there is provided 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 first aspect.
In accordance with a third aspect of the present invention, there is provided a system for reproducing spatially distributed sounds of a multichannel audio signal, said system comprising:
The system is configured for implementing the method according to the invention.
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 method may be implemented by a system for reproducing spatially distributed sounds of a multichannel audio signal, said system comprising:
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
However, the actual audio system intended to playback the multichannel audio signal comprises electroacoustic transducers positioned at actual positions with respect to the reference listening point in an actual spatial configuration. The method for reproducing spatially distributed sounds of a multichannel audio signal is described below in reference to
Frequency Analysis
The received time-dependent input audio signals ai(t) may be analogue, 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.
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
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 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.
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 (al)}:
with {right arrow over (ex)}, {right arrow over (ey)}, and {right arrow over (ez)} 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).
Audio Source Extraction
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. Indeed, two models are reliable with the analysis based on the exploitation of both the active and reactive components of the acoustical intensity, a model with two sound sources and a model with three 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.
It is explained below how to proceed with two virtual sound sources or three virtual sound sources.
Source Extraction: Two 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.
Audio Source Extraction: Three Virtual Sound Sources
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:
Sound Synthesis
Once the attributes of the virtual sound sources have been determined (positions and time-frequency signal values), sound synthesis may be performed (step S13). The time-frequency signal values Sj(k,n) of said virtual sound sources may be distributed (step S33) to electroacoustic transducers on the basis of a comparison between the positions of the virtual sound sources in the virtual spatial configuration and the actual positions of said electroacoustic transducers in an actual spatial configuration. This might be called spatial synthesis.
For doing so, spatial data relative to the actual positions of each electroacoustic transducer h are used. Spatial data are exemplified by actual source direction vectors {right arrow over (bh)} with h=1, 2, 3, . . . ) originating from the reference listening point O and pointing in the direction of each electroacoustic transducer, as shown in
For each time-frequency tile, the various time-frequency signal values Sj(k,n), associated virtual source direction vector {right arrow over (sJ)}(k,n), are used in conjunction with actual source direction vectors {right arrow over (bh)}(k,n) in order to derive panning gains Gjh(k,n). Panning gains Gjh(k,n) define the sound level (and potentially phase) of each virtual sound source j within the output channel fed to the electroacoustic transducer h, for the time-frequency tile (k,n).
A panning gain Gjh(k,n) is determined by considering the geometric relationships between the virtual source direction vector {right arrow over (sj)}(k,n) of the considered virtual sound source and the actual source direction vector {right arrow over (bh)} of an electroacoustic transducer. To make it simple, the virtual source direction vector {right arrow over (sJ)}(k,n) is in some way projected onto the actual source direction vector {right arrow over (bh)}(k,n). For example, in
It shall be noted that it is possible to also implement a head-related transfer function (HRTF) processing in order to synthesize a binaural sound. Since the HRTF may depend on the virtual sound source location, a set of predetermined HRTFs may be stored, and the HRTF to be used selected on the basis of the locations of the virtual sound sources, as explained by Michael M. Goodwin and Jean-Marc Jot in “Binaural 3D audio rendering based on spatial audio scene coding”, Audio Engineering Society, 123rd Convention, New York, N.Y., 2007.
For the same frequency bin, a virtual source direction vector {right arrow over (sJ)}(k,n) may vary rapidly from one frame to the next one. As a result, the panning gains Gjh(k,n), may also vary abruptly from one frame to the next one. The panning gains Gjh(k,n) may be smoothed by combining at least two temporally successive panning gains Gjh(k,n) of the same frequency bin, such as:
Ĝ
jh(k,n)=λĜjh(k,n−1)+(1−λ)Gjh(k,n)
with λ a real number between 0 and 1.
For each time-frequency tile, the time-frequency audio output channel signal Bh(k,n) is then calculated by summing the respective contributions of each virtual sound source for that output channel:
The time-frequency audio output channel signals Bh(k,n) are then converted back into time-dependent output channel signals bh(t). An Inverse Short-Time Fourier Transformation (ISTFT) may be used for that purpose.
Finally, each time-dependent output channel signal bh(t) is fed to each corresponding electroacoustic transducer, i.e. the electroacoustic transducer of said output channel. The electroacoustic transducer then produces sounds from the received time-dependent output channel signals bh(t) (step S04).
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 |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2017/073565 | 9/19/2017 | WO | 00 |