1. Field of the Invention
The present invention relates to signal processing techniques. More particularly, the present invention relates to methods for processing audio signals.
2. Description of the Related Art
Two-channel phase-amplitude stereo encoding, also known as “matrixed surround encoding” or “matrix encoding”, is widely used for connecting the audio output of a video gaming system to a home theater system for multichannel surround sound reproduction, and for low-bandwidth or two-channel transmission or recording of surround sound movie soundtracks. Typically, in the gaming application, a multi-channel audio mix is computed in real time (during game play) by an interactive audio spatialization engine and down-mixed to two channels by use of a matrixed surround encoding process identical to those used for matrix encoding multi-channel movie soundtracks. As a result of the encoding-decoding process, schematically illustrated in
An advantage of phase-amplitude stereo encoding compared to alternative discrete multi-channel audio data formats (such as Dolby Digital or DTS) is that the encoded data stream is a two-channel audio signal that can be played back directly (without any decoding) over standard two-channel stereo loudspeakers or headphones. For multichannel loudspeaker presentation, a matrixed surround decoder can be used to recover a multichannel signal from the matrix-encoded two-channel signal. However, with currently available time-domain matrixed surround decoders, the fidelity of the spatial reproduction typically suffers from inaccurate source loudness reproduction, inaccurate spatial reproduction, localization steering artifacts, and lack of “discreteness” (or “source separation”), when compared to direct multi-channel reproduction without matrixed surround encoding/decoding.
MPEG Surround technology enables the transmission, over one low-bit-rate digital audio connection, of a two-channel matrix-encoded signal compatible with existing commercial matrixed surround decoders, along with an auxiliary spatial information data stream that an MPEG Surround decoder utilizes in order to recover a faithful reproduction of the original discrete multi-channel mix. However, the transmission of auxiliary data along with the audio signal requires a new digital connection format incompatible with standard stereo equipment.
Another limitation of the above audio encoding-decoding technologies is their restriction to horizontal-only spatialization, their bias towards a particular multi-channel loudspeaker layout, and their reliance on the spatial audio rendering technique known as multi-channel amplitude panning. This makes these technologies non-ideal for reproduction using headphones or alternative loudspeaker layouts and spatialization techniques (such as ambisonic or binaural technologies, for instance), which are more effective than the amplitude panning technique for improved spatial audio reproduction in some listening conditions. For headphone playback, in particular, a superior listening experience could be obtained by use of binaural 3-D audio spatialization methods, also requiring only two audio transmission channels. However, due to the inclusion of head-related inter-channel delay and frequency-dependent amplitude difference cues in the encoded signal, a binaural transmission format would be unsuited to multi-channel surround sound reproduction over an extended home theater listening area.
It is desired to overcome the above limitations of existing matrixed surround encoding and decoding technology by providing more flexible and spatially accurate encoding and decoding schemes.
In accordance with one embodiment of the present invention, provided is a method for two-channel phase-amplitude stereo encoding of one or more sound sources, in the time domain or in the frequency domain, such that the energy of each sound source is preserved in the matrix encoded signal.
In accordance with another embodiment of the present invention, provided is a method, operating in the time domain or in the frequency domain, for two-channel phase-amplitude stereo encoding of one or more localized sound sources and one or more unlocalized sound sources such that the contribution of an unlocalized source in the matrix encoded signal is substantially uncorrelated between the left and right encoded output channels.
In accordance with another embodiment of the present invention, provided is a method for two-channel phase-amplitude stereo encoding of one or more localized sound sources, operating in the time domain or in the frequency domain, such that each sound source is assigned a localization in three dimensions (including up-down discrimination in addition to left-right and front-back discrimination) by use of frequency-independent inter-channel phase and amplitude differences.
In accordance with another embodiment of the invention, provided is a frequency-domain method for phase-amplitude stereo decoding of a two-channel stereo signal, including frequency-domain spatial analysis of 2-D or 3-D localization cues in the recording and re-synthesis of these localization cues using any preferred spatialization technique, thereby allowing faithful reproduction of 2-D or 3-D positional audio cues and reverberation or ambient cues over headphones or arbitrary multi-channel loudspeaker reproduction formats, while preserving source separation despite prior encoding over only two audio channels.
These and other features and advantages of the present invention are described below with reference to the drawings.
Reference will now be made in detail to preferred embodiments of the invention. Examples of the preferred embodiments are illustrated in the accompanying drawings. While the invention will be described in conjunction with these preferred embodiments, it will be understood that it is not intended to limit the invention to such preferred embodiments. On the contrary, it is intended to cover alternatives, modifications, and equivalents as may be included within the spirit and scope of the invention as defined by the appended claims. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. The present invention may be practiced without some or all of these specific details. In other instances, well known mechanisms have not been described in detail in order not to unnecessarily obscure the present invention.
It should be noted herein that throughout the various drawings like numerals refer to like parts. The various drawings illustrated and described herein are used to illustrate various features of the invention. To the extent that a particular feature is illustrated in one drawing and not another, except where otherwise indicated or where the structure inherently prohibits incorporation of the feature, it is to be understood that those features may be adapted to be included in the embodiments represented in the other figures, as if they were fully illustrated in those figures. Unless otherwise indicated, the drawings are not necessarily to scale. Any dimensions provided on the drawings are not intended to be limiting as to the scope of the invention but merely illustrative.
Matrixed Surround Principles
Multichannel Matrixed Surround Encoding Equations
LT=L+√{square root over (½)}C+j(cos σSLS+sin σSRS)
RT=R+√{square root over (½)}C−j(sin σSLS+cos σSRS) (1.)
where j denotes an idealized 90-degree phase shift and the angle σS is within [0, π/4]. A common choice for σS is 29 degrees, which yields:
cos σS=0.875; sin σS=0.485 (2.)
As illustrated in
Passive Matrixed Surround Decoding Equations
For any phase-amplitude encoding matrix, a “passive” decoding matrix can be defined as the Hermitian transpose of the encoding matrix. If the encoding equations (1) are formulated in matrix form:
[LTRT]T=E[LSLCRRS]T, (3.)
then the passive decoding equations produce five corresponding output channels as follows:
[LS′L′C′R′RS′]T=EH[LTRT]T. (4.)
Since the encoding matrix E is preferably energy-preserving (i.e. the sum of the squared left and right encoding coefficients in each column of E is unity), the diagonal coefficients of the combined 5×5 encoding/decoding matrix EH E are all unity. This implies that each channel of the original multichannel signal is exactly transmitted to the corresponding decoder output channel. However, each decoder output channel also receives significant additional contributions (i.e. “bleeding”) from the other encoder input channels, which results in significant spatial audio reproduction discrepancy between the original multichannel signal {LS, L, C, R, RS} and the reproduced signal {LS′, L′, C′, R′, RS′} after matrixed surround encoding and decoding.
Active Matrixed Surround Decoders
By varying the coefficients of the decoding matrix, an active matrixed surround decoder can improve the “source separation” performance compared to that of a passive matrixed surround decoder in conditions where the matrix-encoded signal presents a strong directional dominance. This enhancement is achieved by a “steering logic” which continuously adapts the decoding matrix according to a measured dominance vector, denoted by δ=(δx, δy), which can be derived from the 4-channel passive matrixed surround decoder output signals L′=LT, R′=RT, C′=0.7(L′+R′), and S′=0.7(L′−R′), as follows:
δx=(|R′|2−|L′|2)/(|R′|2+|L′|2)
δy=(|C′|2−|S′|2)/(|C′|2+|S′|2), (5.)
where the squared norm |.|2 denotes signal power. The magnitude of the dominance vector |δ|=(δx2+δy2)1/2 measures the degree of directional dominance in the encoded signal and is never more than 1.
The effect of the steering logic is to redistribute signal power towards the channels indicated by the direction of the dominance vector δ observed on the encoding circle, as illustrated in
In general, prior art 5-2-5 matrix encoding/decoding schemes based on time-domain active matrixed surround decoders are able to accurately reproduce the pairwise amplitude panning of a single primary source anywhere on the encoding circle. However, they cannot produce an effective and accurate directional enhancement in the presence of multiple concurrent primary sound components, nor preserve the diffuse spatial distribution of ambient sound in the presence of a dominant primary source. In such situations, noticeable steering artifacts tend to occur (e.g. shifting of sound effect localization or narrowing of the stereo image in the presence of centered dialogue). For this reason, it is recommended for mixing engineers to monitor a matrix-encoded mix through the encode-decode chain in the studio, in order to detect and avoid the occurrence of such artifacts. However, this precaution is not possible in a gaming application where the mix is automatically driven by real-time game play.
Design Criteria
In order to characterize the performance of a matrixed surround encoding-decoding scheme in accordance with the present invention, it is useful to define general spatial synthesis principles applicable in the design of interactive audio rendering systems (for e.g. gaming, computer music or virtual reality), regardless of the spatial rendering technique or setup used. From these general principles, we shall derive spatial audio scene preservation requirements for the matrix encoding-decoding process, in terms of energetic and spatial properties of the primary and ambient sound components in the spatial audio scene, regardless of the playback context.
Spatial Audio Scene and Signal Model
As illustrated in
g=Σmpmem (6.)
where the “channel vector” em is a unit vector in the direction of the m-th output channel (
pm=Pm/∥P∥1 for the “velocity vector” (7.)
pm=|Pm|2/∥P∥2 for the “energy vector” (8.)
where ∥P∥1 denotes the amplitude-sum of the M-channel signal, and ∥P∥2 denotes its total signal power.
The Gerzon “velocity vector” defined by equations (6, 7) is proportional to the active acoustic intensity vector measured at the listening location. It is adequate for describing the perceived localization of primary components at low frequencies (below roughly 700 Hz) for a centrally located listener, whereas the “energy vector” defined by equations (6, 8) may be considered more adequate for representing the perceived sound localization at higher frequencies. Multi-channel sound spatialization techniques such as Ambisonics or VBAP can be regarded as different approaches to solving for the set of panning weights pm in equation (6) given the desired direction of the Gerzon vector. Spatialization techniques differ in their practical engineering compromises and in their ability to accurately control the magnitude of the Gerzon vector, which characterizes the spatial “sharpness” or “focus” of sound images and, when less than 1, may reflect interior panning across the loudspeaker array (such as a “fly-by” or “fly-over” sound event).
The Gerzon vector may also be applied for characterizing the directional distribution of ambient sound components in multichannel reproduction, such as room reverberation or spatially extended sound events (e.g. surrounding applause, or the more localized sound of a nearby waterfall). In this case, the loudspeaker signals should be mutually uncorrelated, and the Gerzon energy vector is then proportional to the active acoustic intensity. Its magnitude is zero for evenly distributed ambient sound and otherwise increases in the direction of spatial emphasis.
System Design Criteria
Based on the above principles, the design requirements for a matrix encode-decode system in terms of spatial audio scene reproduction can be formulated as follows: the power and the Gerzon vector direction of each individual sound component (primary or ambient) in the scene, hereafter referred to as the spatial cues associated to each sound source, should be correctly reproduced. In the preferred embodiments considered in the following description, it is assumed that ambient components are spatially diffuse, i.e. that their Gerzon energy vector is null. This assumption is not restrictive in practice for simulating room reverberation or surrounding background ambience in the virtual environment.
Additional design criteria for a matrixed surround encoding-decoding scheme according to a preferred embodiment of the present invention arise from technology compatibility requirements: it is desirable that the proposed interactive matrix encoder consistently produce an output suitable for decoding with prior-art matrix surround decoders, which assume specific phase-amplitude relationships between the encoded channel signals LT and RT for a sound component panned to one of the five channels (LS, L, C, R, RS), as indicated by equation (1). Conversely, in a preferred embodiment of the present invention, the matrixed surround decoder is compatible with legacy matrix encoded content, i.e. responds to strong directional dominance in its input signal in a manner consistent with the response of a prior-art matrixed surround decoder.
Further, in a preferred embodiment of the present invention, the matrixed surround decoder should produce a natural sounding “upmix” when subjected to any standard stereo source (not necessarily matrix encoded), ideally without need to modify its operation (such as switching from “movie mode” to “music mode”, as is common in prior-art matrixed surround decoders). This implies that ambient sound components in the input stereo signal should be extracted and re-distributed by the decoder to make use of the surround output channels (LS and RS) in order to enhance the sense of immersion, while maintaining the original localization of primary sound components in the stereo image and making use of the center loudspeaker to improve the robustness of the sound image against lateral displacements of the listener away from the “sweet spot”.
Improved Phase-Amplitude Stereo Encoder
An improved phase-amplitude matrixed surround encoder according to one embodiment of the present invention is elaborated in the following. In a first step, the positional encoding of primary sound components in the 2-D horizontal circle is considered. Then, a 3-D spherical encoding scheme is derived. Lastly, the encoding scheme is completed by including the addition of spatially diffuse ambient sound components in the encoded signal. In a preferred embodiment, spatial cues are provided for each individual sound source by a gaming engine or by a studio mixing application and the encoder operates on a time domain or frequency-domain representation of the source signals. In other embodiments, a multi-channel source signal is provided in a known spatial audio recording format, this signal is converted to or received in a frequency domain representation, and the spatial cues for each time and frequency are derived by spatial analysis of the multi-channel source signal.
2-D Peripheral Encoding
Considering a set of M monophonic sound source signals {Sm[t]}, a two-channel stereo mixture {LT[t], RT[t]} of primary sound components can be expressed as:
LT[t]=ΣmLmSm[t]
RT[t]=ΣmRmSm[t] (9.)
where Lm and Rm denote the left and right panning coefficients for each source. For a source assigned the panning angle α on the encoding circle (as illustrated in
L(α)=cos(α/2+π/4)
R(α)=sin(α/2+π/4) (10.)
where the panning angle α is measured clockwise from the front direction (C), and varies from α=−π/2 (radians) for a signal panned to the left channel to α=π/2 for a signal panned to the right channel. Assuming that a spans an interval extended to [−π, π], all positions on the encoding circle of
σS=|αS/2+π/4|. (11.)
For encoding at intermediate positions on the circle, any monotonous mapping from θ to α is in principle appropriate. In order to ensure compatibility with the matrix encoding of 5-channel mixes using equations (1), a suitable θ-to-α angular mapping function is one which is equivalent to 5-channel pairwise amplitude panning, using a well-known prior art panning technique such as the vector-based amplitude panning method (VBAP), followed by 5-to-2 matrix encoding.
However, the 5-to-2 encoding matrix is not actually energy preserving when its inputs are not mutually uncorrelated, as is the case when a source is amplitude panned between channels. For instance, it boosts signal power by 1+sin(2σS) i.e. approximately 3 dB for a sound panned to rear center, and by 1+√{square root over (½)} or 2.3 dB for a sound panned equally between C and L. In an encoder according to an embodiment of the present invention, such energy deviations are eliminated by scaling each source signal according to its panning position. As a simplification, it is also advantageous to pan over only 4 channels (LS, L, R, RS), ignoring C, before matrix encoding.
2-D Encoding with Interior Panning
An important difference between direct 2-channel encoding using equations (10) and multichannel panning with matrix encoding using equations (1) is that the latter incorporate a 90-degree phase shift applied to the surround channels LS and RS, which has the effect of distributing the 180-degree phase difference equally between the left and right encoded channels. Without this phase shift, denoted by j in equation (1), a “fly-by” or “fly-over” sound effect panned between front center position and the rear center position would be encoded as panning along the left half of the encoding circle. Denoting ρ(θ) the set of panning weights obtained by peripheral panning (using, for instance, the VBAP technique), the horizontal multichannel panning algorithm can be extended to include interior panning localizations as follows:
P(θ,ψ)=cos ψρ(θ)+sin ψε (12.)
where P is the resulting set of panning weights (prior to scaling for energy preservation), cos ψ and sin ψ are “radial panning” coefficients with ψ within [0, π/2], and ε is a set of energy-preserving non-directional (or “middle”) panning weights that yields a Gerzon velocity vector of zero magnitude by equations (6, 7). In the case of 4-channel panning over (LS, L, R, RS), the preferred solution for the set of non-directional panning weights ε is the one that exhibits left-right symmetry and a front-to-back amplitude panning ratio equal to |cos θS/cos θF|.
Since the matrix encoding equations (1) are linear, the application of any 4-channel radial panning technique followed by matrix encoding can also be viewed as a cross-fading operation applied to the phase-amplitude stereo encoding coefficients:
L(α,ψ)=cos ψL(α)+sin ψεL
R(α,ψ)=cos ψR(α)+sin ψεR (13.)
where, εL and εR are derived by matrix encoding from the set of “middle” panning weights ε. Because of the 90-degree phase shifts in the matrix encoding equations (1), εL and εR are conjugate complex coefficients including a phase shift:
εL=|cos θS|+j cos θF(cos σS+sin σS)
εr=|cos θS|−j cos θF(cos σS+sin σS). (14.)
Since the stereo encoding coefficients are generally not real factors, the direct implementation of 2-channel panning for each primary sound source is impractical in the time domain. Preferred time-domain embodiments of the invention use the 4-channel peripheral-radial panning and encoding scheme described above, or may use panning and mixing in the 5-channel format (LS, L, T, R, RS), where T represents a virtual “middle” channel as indicated in
LT=L+εLT+j(cos σSLS+sin σSRS)
RT=R+εRT−j(sin σSLS+cos σSRS). (15.)
3-D Positional Phase-Amplitude Stereo Encoding
When cos ψ=0 (and therefore sin ψ=1) in equation (12), the notional localization of the sound event coincides with the reference listening position. However, in 4-channel loudspeaker reproduction, a listener located at this position would perceive a sound event localized above the head. This suggests that increasing the value of the radial panning angle ψ from 0 to 90 degrees could be interpreted as increasing the elevation angle φ of the virtual source position on the listening sphere from 0 to 90 degrees. This interpretation of radial panning enables establishing an equivalence between 2-D peripheral-radial panning at a localization (θ, r) in the horizontal listening circle of
The choice of mapping functions from the radial panning angle ψ to the radius r and to the elevation angle φ is not critical, provided that the mapping functions be monotonous and such that, when ψ increases from 0 to 90 degrees, the radius r decreases from 1 to 0 and the elevation angle φ increases from 0 to 90 degrees. The most straightforward assumption, adopted in the following embodiments, is that r=cos ψ and φ=ψ, which implies that r and φ are related by vertical projection:
r=cos φ. (16.)
Upon matrix encoding, any source localization on the upper hemisphere or the horizontal circle is thereby encoded by inter-channel amplitude and phase differences in the 2-channel signal {LT, RT} In order to examine the properties of phase-amplitude stereo encoding systems, it is common to employ a spherical representation of stereo phase-amplitude encoding that extends the panning equations (10) to include arbitrary inter-channel phase differences:
L(α,β)=cos(α/2+π/4)ejβ/2
R(α,β)=sin(α/2+π/4)e−jβ/2. (17.)
In graphical representation, as shown in
βT=2 arctan[(cos σS+sin σS)cos θF/|cos θS|] (18.)
A useful property is that the dominance vector δ derived by equations (5) coincides with the vertical projection onto the horizontal plane of the position (α, β) on the Scheiber sphere:
δx=sin α
δy=cos α cos β. (19.)
Consequently, a dominance plot such as
LT=L+εLT+εRB+j(cos σSLS+sin σSRS)
RT=R+εRT+εLB−j(sin σSLS+cos σSRS) (20.)
where εL=√{square root over (½)} exp(jβT/2) and εR=√{square root over (½)} exp(−jβT/2), so that εL2+εR2=1.
In the 6-channel 3-D positional panning module depicted in
L(θ,φ)=cos φL(θ) LS(θ,φ)=cos φLS(θ)
R(θ,φ)=cos φR(θ) RS(θ,φ)=cos φRS(θ)
T(θ,φ)=sin φ[φ>0?] B(θ,φ)=−sin φ[φ<0?] (21.)
where [<condition>?] denotes a logical bit (i.e. 1 if <condition> is true, 0 if it is false). In a preferred embodiment, the coefficients LS(θ), L(θ), R(θ) and RS(θ) in equation (21) are energy-preserving 4-channel 2-D peripheral amplitude panning coefficients derived from the azimuth angle θ using the VBAP method, according to the front and surround loudspeaker azimuth angles respectively denoted as θF and θS and assigned respectively to the front channel pair (L, R) and to the surround channel pair (LS, RS). Further, in a preferred embodiment of the present invention, the source signal feeding each panning module is scaled by an energy normalization factor 602, equal to:
where LT(θ, φ) and RT(θ, φ) are derived by applying the encoding matrix defined by equations (20) to the panning coefficients defined by equations (21). This normalization ensures that the contribution of each source signal Sm in the matrix-encoded signal {LT, RT} is energy-preserving, regardless of its panning localization (θm, φm).
The particular embodiment of the encoding matrix 610 in
LT=L+√{square root over (½)}(T+B)cos(βT/2)+j[(T−B)sin(βT/2)+cos σSLS+sin σSRS]
RT=R+√{square root over (½)}(T+B)cos(βT/2)−j[(T−B)sin(βT/2)+sin σSLS+cos σSRS]. (23.)
The resulting encoding matrix is an extension of the prior-art encoding matrix depicted in
Mapping the Listening Sphere to the Scheiber Sphere
The combined effect of the 3-D positional panning module 600 and of the 3-D stereo encoding matrix 610 is to map the due localization (θ, φ) on the listening sphere to a notional position (α, β) on the Scheiber sphere. This mapping can be configured by setting the values of the angular parameters defined previously: θF within [0, π/2]; θS within [π/2, π]; σS within [0, π/4]; and βT within [0, π]. Two examples of such mapping are illustrated in
Further, it is straightforward to extend the preferred embodiment described above, within the scope of the invention, to use any intermediate P-channel format (C1, C2, . . . Cp . . . ) instead of the preferred 6-channel format (LS, L, T, B, R, RS), associated to additional or alternative intermediate channel positions {(θp, φp)} in the horizontal plane or anywhere on the listening sphere, using any 2-D or 3-D multi-channel panning technique to implement the multichannel positional panning module for each sound source signal Sm, and matrix-encoding each intermediate channel Cp as a 3-D source with localization (θp, φp) according to the panning and encoding scheme defined by equations (21, 23) or (21, 20).
Alternatively, in another embodiment of the invention, the localization of a sound source on the listening sphere is expressed according to the Duda-Algazi angular coordinate system, where the azimuth angle μ is measured in a plane containing the source and the left-right ear axis, and the elevation angle ν measures the rotation of this plane with respect to the left-right ear axis. In this case the localization coordinates μ and ν can be mapped separately to the amplitude panning angle α and the inter-channel phase difference angle β. One embodiment consists of setting α=μ and β=ν, in which case the listening sphere maps identically to the Scheiber sphere, and phase-amplitude 3-D stereo encoding is achieved directly by applying equations (17).
It will be readily apparent that, regardless of the chosen mapping from localization to encoding position on the Scheiber sphere, the phase-amplitude stereo encoding of the signals according to the invention can be realized in the frequency domain by applying encoding coefficients L(αm, βm) and L(αm, βm) to a frequency-domain representation of the sound source signal Sm.
Ambience Encoding
In a preferred embodiment of the invention, the interactive phase-amplitude stereo encoder includes means for incorporating spatially diffuse ambience and reverberation components in the 2-channel encoded output signal {LT, RT}.
Let us assume that the spatial audio scene contains only ambient components. In prior-art matrixed surround decoders, this condition is associated with zero dominance, and occurs when the signals LT and RT are uncorrelated and of equal energy (which is consistent with the signal properties of ambient components in conventional stereo recordings). In these conditions, a prior-art multichannel matrixed surround decoder falls into its passive decoding behavior, which has the effect of spreading signal energy into the surround channels. This is a desirable property both for matrixed surround decoders and for music upmixers.
However, a drawback of any matrixed surround encoding-decoding system using a prior-art time-domain matrix encoder complying with equation (1) is that the spatial distribution of an ambient sound scene reproduced by the decoder is not consistent with the original recording: it exhibits a significant systematic bias toward the rear channels LS and RS. An analogous phenomenon is visible in
Improved Phase-Amplitude Matrixed Surround Decoder
In accordance with one embodiment of the invention, provided is a frequency domain method for phase-amplitude matrixed surround decoding of 2-channel stereo signals such as music recordings and movie or video game soundtracks, based on spatial analysis of 2-D or 3-D directional cues in the input signal and re-synthesis of these cues for reproduction on any headphone or loudspeaker playback system, using any chosen sound spatialization technique. As will be apparent in the following description, this invention enables the decoding of 3-D localization cues from two-channel audio recordings while preserving backward compatibility with prior-art two-channel horizontal-only phase-amplitude matrixed surround encoding-decoding techniques such as described previously.
The present invention uses a time/frequency analysis and synthesis framework to significantly improve the source separation performance of the matrixed surround decoder. The fundamental advantage of performing the analysis as a function of both time and frequency is that it significantly reduces the likelihood of concurrence or overlap of multiple sources in the signal representation, and thereby improves source separation. If the frequency resolution of the analysis is comparable to that of the human auditory system, the possible effects of any overlap of concurrent sources in the frequency-domain representation is substantially masked during reproduction of the decoder's output signal over headphones or loudspeakers.
By operating on frequency-domain signals and incorporating primary-ambient decomposition, a matrixed surround decoder according to the invention overcomes the limitations of prior-art matrix surround decoders in terms of diffuse ambience reproduction and directional source separation, and is able to analyze dominance information for primary sound components while avoiding confusion by the presence of ambient components in the scene, in order to accurately reproduce 2-D or 3-D positional cues via any spatial reproduction system. This enables a significant improvement in the spatial reproduction of two-channel matrix-encoded movie and game soundtracks or conventional stereo music recordings over headphones or loudspeakers.
Next, in block 704, a primary-ambient decomposition occurs. This decomposition is advantageous because primary signal components (typically direct-path sounds) and ambient components (such as reverberation or applause) generally require different spatial synthesis strategies. The primary-ambient decomposition separates the two-channel input signal ST={LT, RT} into a primary signal SP{PL, PR} whose channels are mutually correlated and an ambient signal SA={AL, AR} whose channels are mutually uncorrelated or weekly correlated, such that a combination of signals SP and SA reconstructs an approximation of signal ST and the contribution of ambient components existing in signal ST are significantly reduced in the primary signal SP. Frequency-domain methods for primary-ambient decomposition are described in the prior art, for instance by Merimaa et al. in “Correlation-Based Ambience Extraction from Stereo Recordings”, presented at the 123rd Convention of the Audio Engineering Society (October 2007).
The primary signal SP={PL, PR} is then subjected to a localization analysis in block 706. For each time and frequency, the spatial analysis derives a spatial localization vector d representative of a physical position relative to the listener's head. This localization vector may be three-dimensional or two-dimensional, depending of the desired mode of reproduction of the decoder's output signal. In the three-dimensional case, the localization vector represents a position on a listening sphere centered on the listener's head, characterized by an azimuth angle θ and an elevation angle φ. In the two-dimensional case, the localization vector may be taken to represent a position on or within a circle centered on the listener's head in the horizontal plane, characterized by an azimuth angle θ and a radius r. This two-dimensional representation enables, for instance, the parametrization of fly-by and fly-through sound trajectories in a horizontal multichannel playback system.
In the localization analysis block 706, the spatial localization vector d is derived, for each time and frequency, from the inter-channel amplitude and phase differences present in the signal SP. These inter-channel differences can be uniquely represented by a notional position (α, β) on the Scheiber sphere as illustrated in
α=2 tan−1(1/m)−π/2 (24.)
According to one embodiment on the invention, the operation of the localization analysis block 706 consists of computing the inter-channel amplitude and phase differences, followed by mapping from the notional position (α, β) on the Scheiber sphere to the direction (θ, φ) in the three-dimensional physical space or to the position (θ, r) in the two-dimensional physical space. In general, this mapping may be defined in an arbitrary manner and may even depend on frequency.
According to another embodiment of the invention, the primary signal SP is modeled as a mixture of elementary monophonic source signals Sm according to the matrix encoding equations (9, 10) or (9, 17), where the notional encoding position (αm, βm) of each source is defined by a known bijective mapping from a two-dimensional or three-dimensional localization in a physical or virtual spatial sound scene. Such a mixture may be realized, for instance, by an audio mixing workstation or by an interactive audio rendering system such as found in video gaming systems and depicted in
In another embodiment of the present invention, the localization analysis 706 is performed, at each time and frequency, by computing the dominance vector according to equations (5) and applying a mapping from the dominance vector position in the encoding circle to a physical position (θ, r) in the horizontal listening circle, as illustrated in
φ=cos−1(r)sign(β) (25.)
where the sign of the inter-channel difference β is used to differentiate the upper hemisphere from the lower hemisphere.
Block 708 realizes, in the frequency domain, the spatial synthesis of the primary components in the decoder output signal by applying to the primary signal SP the spatial cues 707 derived by the localization analysis 706. A variety of approaches may be used for the spatial synthesis (or “spatialization”) of the primary components from a monophonic signal, including ambisonic or binaural techniques as well as conventional amplitude panning methods. In one embodiment of the present invention, a mono primary signal P to be spatialized is derived, at each time and frequency, by a conventional mono downmix where P=√{square root over (½)}(PL+PR). In another embodiment, the computation of the mono signal P uses downmix coefficients that depend on time and frequency by application of the passive decoding equation for the notional position (α, β) derived from the inter-channel amplitude and phase differences computed in the localization analysis block 706:
P=L*(α,β)PL+R*(α,β)PR (26.)
where L*(α, β) and R*(α, β) respectively denote the complex conjugates of the left and right encoding coefficients expressed by equations (17):
L*(α,β)=cos(α/2+π/4)e−jβ/2
R*(α,β)=sin(α/2+π/4)ejβ/2. (27.)
In general, the spatialization method used in the primary component synthesis block 708 should seek to maximize the discreteness of the perceived localization of spatialized sound sources. For ambient components, on the other hand, the spatial synthesis method, implemented in block 710, should seek to reproduce (or even enhance) the spatial spread or diffuseness of sound components. As illustrated in
In an alternative embodiment of the present invention, the primary-ambient decomposition 704 and the spatial synthesis of ambient components 710 are omitted. In this case, the localization analysis 706 is applied directly to the input signal {LT, RT}.
In yet another embodiment of the present invention, the time-frequency conversions blocks 702 and 712 and the ambient processing blocks 704 and 710 are omitted. Despite these simplifications, a matrixed surround decoder according to the present invention can offer significant improvements over prior art matrixed surround decoders, notably by enabling arbitrary 2-D or 3-D spatial mapping between the matrix-encoded signal representation and the reproduced sound scene.
Spatial Analysis
The spatial analysis of the primary signal SP={PL, PR} produces, at each time and frequency, a format-independent spatial localization vector d, characterized by an azimuth angle θ and an elevation angle φ or a radius r, to be used in the spatial synthesis of primary signal components, according to any chosen multi-channel audio output format or spatial reproduction technique.
In one embodiment, it is assumed that the input signal ST={LT, RT} was encoded according to the phase-amplitude 3-D positional encoding method defined previously by equations (20, 21) or (21, 23) and illustrated in
In a preferred embodiment, this inverse mapping operation is realized by a table-lookup method that returns the values of the azimuth angle θ and of the radius r given the coordinates δx and δy of the dominance vector δ. The lookup tables are generated as follows:
In the preferred embodiment, the inverse mapping operation for the spatial analysis of the localization (θ, φ) from the dominance (δx, δy) is performed in two steps, using the first table to derive (θ′, r′) and then the second table to obtain (θ, φ). The advantage of this two-step process is that it ensures high accuracy in the estimation of the localization coordinates θ and φ without employing extremely large lookup tables, despite the fact that the mapping function is heavily non uniform and very “steep” in some regions of the encoding circle (as is visible in
In an embodiment of the spatial analysis for a 2-D matrixed stereo decoder, the 2-D localization (θ, r) is derived from (θ, φ) by taking r=cos φ. In a preferred embodiment of the spatial analysis for a 3-D phase-amplitude stereo decoder, the sign of the inter-channel phase difference β, denoted sign(β), is computed in order to select the upper or lower hemisphere, and replace φ by its opposite if β is negative. The sign of β may be computed from the complex values of the signals PL and PR at each time and frequency, without explicitly computing their phase difference β:
sign(β)=sign(Im(PLPR*)) (28.)
where sign(.) is −1 for a strictly negative value and 1 otherwise, Im(.) denotes the imaginary part, and * denotes complex conjugation.
Spatial Synthesis
In one embodiment of block 705, the primary passive upmix forms a mono downmix of its input signal SP={PL, PR} and populates each of its output channels with this downmix. In one embodiment, the mono primary downmix signal, denoted as P, is derived by applying the passive decoding equation (26) for the time- and frequency-dependent encoding position (α, β) on the Scheiber sphere determined by the computed dominance vector δ and sign(β) in the spatial analysis block 706. The spatial synthesis then consists of re-weighting the output channels of block 705 in block 709, at each time and frequency with gain factors computed based on the spatial cues 707, that is d=(θ, r) or d=(θ, φ).
Using an intermediate mono downmix when upmixing a two-channel signal can lead to undesired spatial “leakage” or cross-talk: signal components presented exclusively in the left input channel PL may contribute to output channels on the right side as a result of spatial ambiguities due to frequency-domain overlap of concurrent sources. Although such overlap can be minimized by appropriate choice of the frequency-domain representation, it is preferable to minimize its potential impact on the reproduced scene by populating the output channels with a set of signals that preserves the spatial separation already provided in the decoder's input signal. In another embodiment of block 705, the primary passive upmix performs a passive matrix decoding into the N output signals according to equation (4) as
Pn=L*(αn,βn)PL+R*(αn,βn)PR for n=1 . . . N (29.)
where (αn, βn) corresponds to the notional position of output channel n on the Scheiber sphere. The resulting N signals are then re-weighted in block 709 with gain factors computed based on the spatial cues 707. In one embodiment of block 709, the gain factors for each channel are determined by deriving multichannel panning coefficients at each time and frequency based on the localization vector d and on the output format, which may be provided by user input or determined by automated estimation.
In the case where the decoder's input signal ST={LT, RT} is a matrix-encoded signal generated according to an embodiment of invention, and the decoder's output format exactly corresponds to the 4-channel layout (LS, L, R, RS) characterized by the front-channel azimuth angle θF and the surround-channel azimuth angle θS, then an embodiment of the spatial synthesis block 708 generating a mono downmix signal in block 705 according to equations (26, 27), and panning this downmix signal over the output channels (LS, L, R, RS) in block 709 according to the 2-D peripheral-radial panning method described previously can reconstruct the original set of primary signal components {LS, L, R, RS} as if no intermediate matrix encoding-decoding had taken place (assuming that the primary-ambient decomposition 704 has successfully extracted all ambient signal components from the signal SP={PL, PR} and assuming that concurrent sound sources are perfectly separated in the chosen time-frequency signal representation).
Similarly, an embodiment of the frequency-domain spatial synthesis block 708 according to the invention may be realized using any sound spatialization or positional audio rendering technique whereby a mono signal is assigned a 3-D localization (θ, φ) on the listening sphere or a 2-D localization (θ, r) on the listening circle, for spatial reproduction over loudspeakers or headphones. Such spatialization techniques include, and are not limited to, amplitude panning techniques (such as VBAP), binaural techniques, ambisonic techniques, and wave-field synthesis techniques. Methods for frequency-domain spatial synthesis using amplitude panning techniques are described in more detail in U.S. patent application Ser. No. 11/750,300, entitled Spatial Audio Coding Based on Universal Spatial Cues. Methods for frequency-domain spatial synthesis using binaural, ambisonic, wave-field synthesis or other spatialization techniques based on inter-channel amplitude and phase differences are described further in U.S. patent application Ser. No. 12/243,963, entitled “Spatial Audio Analysis and Synthesis for Binaural Reproduction and Format Conversion”, filed Oct. 1, 2008 and incorporated by reference
Block 713 in
A perceptually accurate multi-channel spatial reproduction of the ambient components over loudspeakers requires that the ambient output signals be mutually uncorrelated. This may be achieved by applying all-pass (or substantially all-pass) “decorrelation filters” (or “decorrelators”) to at least some of the ambient output channel signals before combination with the primary output channel signals. In one embodiment of the spatial synthesis of ambient components in block 710 of
Finally, the primary and ambient signals corresponding to each of the N output channels are summed and converted to the time domain in block 712. The time-domain signals are then directed to the N transducers 714.
The matrixed surround decoding methods described result in a significant improvement in the spatial quality of reproduction of 2-channel Dolby-Surround movie soundtracks over headphones or loudspeakers. Indeed, this invention enables a listening experience that is a close approximation of that provided by direct discrete multichannel reproduction or by discrete multi-channel encoding-decoding technology such as Dolby Digital or DTS. Furthermore, the decoding methods described enable faithful reproduction of the original spatial sound scene not only over the originally assumed target multi-channel loudspeaker layout, but also over headphones or loudspeakers with full flexibility in the number of output channels, their layout, and the spatial rendering technique.
Improved Multi-Channel Matrixed Surround Encoder
In one embodiment, the multi-channel source signal is a 5-channel signal in the standard “3-2 stereo” format (LS, L, C, R, RS) corresponding to the loudspeaker layout depicted in
LT=ΣpL(αp,βp)Cp
RT=ΣpR(αp,βp)Cp (30.)
where (αp, βp) is derived by mapping each localization (θp, φp) to its corresponding notional encoding position (αp, βp) on the Scheiber sphere, and the phase-amplitude encoding coefficients L(αp, βp) and R(αp, βp) are given by equations (17). Alternatively the encoding coefficients may be derived by equations (20) or by any chosen localization-to-dominance mapping convention.
In other embodiments of the primary matrix encoding block 806, the spatial localization cues (θ, φ) are derived, at each time and frequency, by spatial analysis of the primary multi-channel signal, and the phase-amplitude encoding coefficients L(α, β) and R(α, β) are obtained by mapping (θ, φ) to (α, β), as described earlier. In one embodiment, this mapping is realized by applying, at each time and frequency, the encoding scheme described by equations (20, 21) or (21, 23) and
Although the foregoing invention has been described in some detail for purposes of clarity of understanding, it will be apparent that certain changes and modifications may be practiced within the scope of the appended claims. Accordingly, the present embodiments are to be considered as illustrative and not restrictive, and the invention is not to be limited to the details given herein, but may be modified within the scope and equivalents of the appended claims.
This application claims priority to and the benefit of the disclosures of U.S. Provisional Patent Application Ser. No. 60/977,432, filed on Oct. 4, 2007, and entitled “Phase-Amplitude Stereo Decoder and Encoder”, and of U.S. Provisional Patent Application Ser. No. 61/102,002, filed on Oct. 1, 2008, and entitled “Phase-Amplitude Stereo Decoder and Encoder”, the disclosures of which are incorporated by reference herein. This application is a continuation-in-part of U.S. patent application Ser. No. 11/750,300, which is entitled Spatial Audio Coding Based on Universal Spatial Cues, and filed on May 17, 2007 which claims priority to and the benefit of the disclosure of U.S. Provisional Patent Application Ser. No. 60/747,532, filed on May 17, 2006, and entitled “Spatial Audio Coding Based on Universal Spatial Cues”, the disclosures of which are incorporated herein by reference in their entirety. Further, this application is a continuation-in-part of U.S. patent application Ser. No. 12/047,285 which is entitled Phase-Amplitude Matrixed Surround Decoder, and filed on Mar. 12, 2008 which claims priority to and the benefit of the disclosures of U.S. Provisional Patent Application Ser. No. 60/894,437, filed on Mar. 12, 2007, and entitled “Phase-Amplitude Stereo Decoder and Encoder” and of U.S. Provisional Patent Application Ser. No. 60/977,432, filed on Oct. 4, 2007, and entitled “Phase-Amplitude Stereo Decoder and Encoder”, all of the disclosures of which are incorporated by reference herein. This application is a continuation in part of the U.S. application Ser. No. 12/243,963, filed Oct. 1, 2008 and entitled “Spatial Audio Analysis and Synthesis for Binaural Reproduction and Format Conversion”, which claims priority to and the benefit of the disclosures of U.S. Provisional Patent Application Ser. No. 60/977,345, filed on Oct. 3, 2007 and entitled “Spatial Audio Analysis and Synthesis for Binaural Reproduction, the entire disclosures of which are incorporated by reference for all purposes herein.
Number | Name | Date | Kind |
---|---|---|---|
5598478 | Tanaka et al. | Jan 1997 | A |
5633981 | Davis | May 1997 | A |
5857026 | Scheiber | Jan 1999 | A |
5890125 | Davis et al. | Mar 1999 | A |
7853022 | Thompson et al. | Dec 2010 | B2 |
7970144 | Avendano et al. | Jun 2011 | B1 |
20060106620 | Thompson et al. | May 2006 | A1 |
20080002842 | Neusinger et al. | Jan 2008 | A1 |
20080205676 | Merimaa et al. | Aug 2008 | A1 |
20080267413 | Faller | Oct 2008 | A1 |
20090129601 | Ojala et al. | May 2009 | A1 |
20090150161 | Faller | Jun 2009 | A1 |
Number | Date | Country |
---|---|---|
2007031896 | Mar 2007 | WO |
Entry |
---|
Christof Faller, ‘Parametric Coding of Spatial Audio’, Proc. of the 7th Int. Conf. DAFx'04, Napoles, Italy, Oct. 5-8, 2004. |
Number | Date | Country | |
---|---|---|---|
20090092259 A1 | Apr 2009 | US |
Number | Date | Country | |
---|---|---|---|
60977432 | Oct 2007 | US | |
61102002 | Oct 2008 | US | |
60747532 | May 2006 | US | |
60894437 | Mar 2007 | US | |
60977432 | Oct 2007 | US | |
60977345 | Oct 2007 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12047285 | Mar 2008 | US |
Child | 12246491 | US | |
Parent | 11750300 | May 2007 | US |
Child | 12047285 | US | |
Parent | 12243963 | Oct 2008 | US |
Child | 12246491 | US |