1. Field of the Invention
This invention relates to mixing of audio signals and more specifically to a mix or downmix of two or more audio channels using a correlated output.
2. Description of the Related Art
Multi-channel audio has received enthusiastic acceptance by movie watchers in both traditional theater and home theater venues as it provides a true “surround sound” experience far superior to mixed stereo content. Dolby AC3 (Dolby digital) audio coding system is a world-wide standard for encoding stereo and 5.1 channel audio sound tracks. DTS Coherent Acoustics is another frequently used multi-channel audio coding system. DTS Coherent Acoustics is now being used to provide multi-channel music for special events and home listening via broadcast, CDs and DVDs 5.1, 6.1, 7.1, 10.2 and other multi-channel formats
Car audio systems have over the years advanced from mono to stereo to the multi-speaker systems standard in most every automobile today. However, most content is still provided in a 2-channel stereo (L,R) format. The audio system mixes and delays the two channels to the multi-speaker lay out to provide an enhanced audio experience. However with the growing availability of multi-channel music, multi-channel audio systems are being implemented in automobiles to provide passengers with a “surround sound” experience.
Although a significant improvement over existing audio systems, the confines of the car and proximity of passengers to particular speakers affect the surround-sound experience. In general, the desired mix embodied in the multi-channel format may become “unbalanced”. For example, a passenger sitting in the front passenger's seat may here too much of the discrete R channel that is emanating from the front right speaker effectively losing some of the benefits of the surround sound presentation. Even more extreme, a passenger in the back seat may here only the surround sound channels.
As a result, automakers have found that some amount of remixing of the discrete channels can reestablish the desired balance and improve the surround sound experience for everyone in the car. As shown in
R=G1*R+G2*C
C=G3*C+G4*L+G5*R, and
L=G6*L+G7*C.
The mixed channels are passed through equalizers 30 to the output channels 18,20,22 for playback on the L,C,R channel speakers in the automobile.
Although this approach is generally effective at rebalancing the audio to provide a reasonable surround-sound experience for every passenger in the automobile there are a few potential problems. This approach may introduce unwanted artifacts when two channels include the same or very similar content but with a relative time or phase delay. Furthermore, this approach may over mix the signals that were assigned to a specific channel thereby degrading the “discreteness” of the multi-channel audio.
The present invention provides a method of mixing audio channels that is effective at rebalancing the audio or downmixing audio channels without introducing unwanted artifacts or overly degrading the discrete presentation of the original audio.
This is accomplished between any two or more input channels by processing the audio channels to generate one or more “correlated” audio signals for each pair of input channels. The correlated audio signal(s) are then mixed with the input audio channels to provide the output channels. The correlator can be implemented using any suitable technology including but not limited to Neural Networks, Independent Component Analysis (ICA), Adaptive Filtering or Matrix Decoders.
In one embodiment, only the in-phase correlated signal is mixed with the two input channels. The in-phase correlated signal represents the same or very similar signals that are present in both channels and in-phase (no or minimal time delay). By mixing only this portion of the audio signals we are able to achieve the desired rebalancing without introducing unwanted artifacts or degrading the discreteness of multi-channel audio.
In another embodiment, the correlation process provides the in-phase correlated signal, an out-of-phase correlated signal (same or similar signals with appreciable time or phase delay) and one or more independent signals (signals not present in the other input channel) that are mixed with the input channels. This approach provides more mixing flexibility. The mixer may set the mixing coefficients of the out-of-phase and independent signals to zero thereby achieving the same results as if only the in-phase correlated signal were mixed. Or the mixer may simply lower the coefficients in these signals to provide a smoother mix. In other applications, the mixer may want to reduce or remove the out-of-phase signal but retain some of the independent signal. For example, in a 3:2 downmix from L,C,R input channels to L,R output channels it may be desirable to mix the independent C channel signals into the L and R output channels.
These and other features and advantages of the invention will be apparent to those skilled in the art from the following detailed description of preferred embodiments, taken together with the accompanying drawings, in which:
a through 5h are simplified diagrams showing time and frequency domain representations of the L and R input channels and frequency domain representations of 2:1 and 4:1 correlated outputs;
The application of multi-channel audio to automobiles revealed the desirability for remixing of the discrete audio channels to provide a more uniform surround sound experience for all passengers. However, although a straightforward mix was effective at rebalancing the multi-channel audio this approach could produce unwanted artifacts. If, for example, the R and C channels included the same or very similar content with appreciable phase or time delays, remixing these two channels could produce phase distortion and/or amplitude distortion. Furthermore, much of the desirability of multi-channel audio stems from the discrete unmixed presentation of the audio channels. The remixing process may soften the discrete presentation of the audio.
Therefore, the present invention provides a method of mixing audio channels that is effective at rebalancing the audio without introducing unwanted artifacts or overly softening the discrete presentation of the original audio. This is accomplished between any two or more input channels by processing the audio channels to generate one or more “correlated” audio signals for each pair of input channels. The in-phase correlated signal representing content in both channels that is the same or very similar with little or no phase or time delay is mixed with the input channels. The present approach may also generate an out-of-phase correlated signal (same or similar signals with appreciable time or phase delay) that is typically discarded and a pair of independent signals (signals not present in the other input channel) that may be mixed with the input channels. The provision of both the in-phase correlated signal and the pair of independent signals makes the present approach well suited for the downmixing of audio channels as well.
Although the techniques were developed in the context of improving the surround sound experience provided by multi-channel audio in a automobile, the present invention is generally applicable to any two or more audio channels in which mixing occurs in any setting.
As shown in
The correlators 56 and 58 can be implemented using any suitable technology including but not limited to Neural Networks, Independent Component Analysis (ICA), Adaptive Filtering or Matrix Decoders. As shown in
R=G8*R+G9*RCC (1)
C=G10*C+G11*LCC+G12*RCC, and (2)
L=G13*L+G14*LCC. (3)
In this approach, the out-of-phase correlated signals and independent signals are removed. Of course there are no bright lines or clear definitions that separate in-phase from out-of-phase and correlated from independent. How these components of the audio content are separated will depend upon the technology used to implement the correlator and the desired characteristics of the correlated signal. In some applications it may be desirable to retain only very high correlated signals. In other applications, it may be desirable to retain some of the out-of-phase and independent signals.
As shown in
R=G15*R+(G16*RIP+G17*ROP+G18*RCI+G19*CRI) (4)
C=G20*C+(G21*LIP+G22*LOP+G23*LCI+G24*CLI)+(G25*RIP+G26*ROP+G27*RCI+G28*CRI), and (5)
L=G29*L+(G30*LIP+G31*LOP+G32*LCI+G33*CLI). (6)
Similar to above how these different correlated components are computed will depend upon the implementing technology and the desired characteristics of the different components.
In a typical implementation, the out of phase components and the independent components for that output channel may be discarded. In this case the equations simplify to:
R=G15*R+(G16*RIP+G19*CRI) (7)
C=G20*C+(G21*LIP+G23*LCI)+(G25*RIP+G27*RCI), and (8)
L=G29*L+(G30*LIP+G33*CLI) (9)
leaving only the in-phase correlated signals and the independent signals from the other channel.
a through 5h illustrate a simple four tone example highlighting the benefits and flexibility provided by mixing correlated outputs. In this example, the L channel includes a 1 kHz tone, a 5 kHz tone and a 15 kHz tone. The R channel has a 5 kHz tone, a 10 kHz tone and a 15 kHz tone. The 5 kHz tones are in phase and correlated. The 15 kHz tones are out of phase. The time domain waveforms 72 and 74 for the L (top) and R (bottom) channels are shown in
A 2:1 correlator of the type illustrated in
A 2:4 correlator of the type illustrated in
Matrix Decoder
As mentioned above, the correlator may be implemented using a matrix decoder. The earliest multi-channel systems matrix encoded multiple audio channels, e.g. left, right, center and surround (L,R,C,S) channels, into left and right total (Lt,Rt) channels and recorded them in the standard stereo format. The Prologic encoder 4 matrix encodes this mix as follows:
Lt=L+0.707C+S(+90°), and (10)
Rt=R+0.707C+S(−90), (11)
A matrix decoder decodes the two discrete channels Lt,Rt and expands them into four discrete reconstructed channels L,R,C and S that are amplified and distributed to a five speaker system. Many different proprietary algorithms are used to perform an active decode and all are based on measuring the power of Lt+Rt (C), Lt−Rt (S), Lt (L) and Rt (R) to calculate gain factors Hi whereby,
L=H1*Lt+H2*Rt (12)
R=H3*Lt+H4*Rt (13)
C=H5*Lt+H6*Rt, and (14)
S=H7*Lt+H8*Rt. (15)
More specifically, Dolby Pro Logic provides a set of gain factors for a null point at the center of a five-point sound field. The Pro Logic decoder measures the absolute power of the two-channel matrix encoded signals Lt and Rt and calculates power levels for each of the L, R, C and S channels. These power levels are then used to calculate L/R and C/S dominance vectors whose vector sum defines a single dominance vector in the five-point sound field from which the single dominant signal should emanate. The power levels and dominance vectors are time averaged to improve stability. The decoder scales the set of gain coefficients at the null point according to the dominance vectors to provide gain factors Hi.
DTS Neo:6 decoder includes a multiband filter bank, a matrix decoder and a synthesis filter, which together decode Lt and Rt and reconstruct the multi-channel output. Neo:6 computes L/R and C/S dominance vector for each subband and averages them using both a slow and fast average. Neo:6 uses the dominance vector to map the Lt, Rt subband signals into an expanded 9-point sound field. Neo:6 computes gain coefficients for the vector in each subband based on the values of the gain coefficients in the sound field. This allows the subbands to be steered independently in a sound field that observes the motion picture channel configuration.
Matrix Decoder as a Correlator
As shown in
Therefore, as shown in
The specific algorithm used to calculate the gain factors Hi will determine the degree of correlation, phase shift or independence captured in each of these channels. To illustrate, consider the following idealized cases:
In this case, L, R and S will be 0 and C will contain equal amounts of both L and R. As expected, in-phase contribution will be large and the other components will be zero. Depending on where the steering vector ends up new coefficients are calculated from a grid of optimal ones using interpolation
In this case, all of the outputs will be zero.
In this case, all of the outputs are zero except for the left channel which contains the left input.
As discussed above the motivation for the present invention was to improve the surround sound experience provided by multi-channel audio such as provided by Dolby AC3 or DTS Coherent Acoustics. By mixing correlated audio signals, the multi-channel mixer provides the desired rebalanced of the multi-channel audio without producing unwanted artifacts or softening the discrete presentation of the audio.
As shown in
A multi-channel mixer 110 mixes the discrete R,C,L channels using correlated outputs into the R,C,L channels for the respective speakers. Each channel is passed through a delay 112. The R and C and L and C channels are input to correlators 114 and 116, respectively, which generate correlated audio signals 118 and 120. These correlated audio signals 118 and 120 are mixed (multiplied by gain coefficients Gi 122 and summed 124) with the adjacent channels. The mixed channels are passed through equalizers 126 to the R,C, L output channels for playback on the R,C,L channel speakers.
In this particular application 5.1 audio is being mixed into a 7 speaker system, which is not uncommon. Because of typical home speaker configurations, 5.1 content is more common but many cars use 7 speaker systems. In this case the Rs and Ls discrete channels are mixed to the R side and R read and L side and L rear, respectively. The Rs (Ls) channel is passed through a delay 130, split and multiplied by mixing coefficients 132. One branch is passed through an equalizer 134 and provided to the R read (L rear). The other branch is mixed with the mixed R (L) channel (delay 136, mixing coefficient 138, and summing node 140), passed through an equalizer 142 and provided to the R side (L side).
If the content were provided in a 7.1 format, the R, R side and R rear discrete audio channels could be mixed using correlated outputs in a manner similar to that described for the R,C,L. The left side channels could be similarly mixed. Furthermore, if the audio was available in an 8.1 format and the speaker system included a C rear speaker, all of the rear speakers could be so mixed.
As shown in
Instead, the correlators 150 and 152 generate the in-phase, out-of-phase, and pair of independent audio signals. The mixer now has the flexibility to mix the in-phase components as needed to rebalance the signal, discard the out-of-phase components to avoid phase distortion and mix the independent C channel to preserve the audio signals in that channel.
The capability to flexibly downmix N channels into M where N>M in this manner will have applicability outside automotive applications. For example, content is being generated for new exhibition venues with more discrete channels, e.g. 10.2. However, many of the commercial and consumer venues will have 5.1, 6.1 or 7.1 speaker configurations that will require downmixing.
While several illustrative embodiments of the invention have been shown and described, numerous variations and alternate embodiments will occur to those skilled in the art. Such variations and alternate embodiments are contemplated, and can be made without departing from the spirit and scope of the invention as defined in the appended claims.