The present invention relates to multi-channel encoders, for example multi-channel audio encoders utilizing parametric descriptions of spatial audio. Moreover, the invention also relates to methods of processing signals, for example spatial audio signals, in such multi-channel encoders. Furthermore, the invention relates to decoders operable to decode signals generated by such multi-channel encoders.
Audio recording and reproduction has in recent years progressed from monaural single-channel format to dual-channel stereo format and more recently to multi-channel format, for example five-channel audio format as often used in home movie systems. The introduction of super audio compact disk (SACD) and digital versatile disc (DVD) data carriers has resulted in such five-channel audio reproduction contemporarily gaining interest. Many users presently own equipment capable of providing five-channel audio playback in their homes; correspondingly, five-channel audio program content on suitable data carriers is becoming increasingly available, for example the aforementioned SACD and DVD types of data carriers. On account of growing interest in multi-channel program content, more efficient coding of multi-channel audio program content is becoming an important issue, for example to provide one or more of enhanced quality, longer playing time or even more channels.
Encoders capable of representing spatial audio information such as for audio program content by way of parametric descriptors are known. For example, in a published international PCT patent application no. PCT/IB2003/002858 (WO 2004/008805), encoding of a multi-channel audio signal including at least a first signal component (LF), a second signal component (LR) and a third signal component (RF) is described. This coding utilizes a method comprising steps of:
(a) encoding the first and second signal components by using a first parametric encoder for generating a first encoded signal (L) and a first set of encoding parameters (P2);
(b) encoding the first encoded signal (L) and a further signal (R) by using a second parametric encoder for generating a second encoded signal (T) and a second set of encoding parameters (P1) wherein the further signal (R) is derived from at least the third signal component (RF); and
(c) representing the multi-channel audio signal at least by a resulting encoded signal (T) derived from at least the second encoded signal (T), the first set of encoding parameters (P2) and the second set of encoding parameters (P1).
Parametric descriptions of audio signals have gained interest in recent years because it has been shown that transmitting quantized parameters that describe audio signals requires relative little transmission capacity. These quantized parameters are capable of being received and processed in decoders to regenerate audio signals perceptually not significantly differing from their corresponding original audio signals.
Contemporary multi-channel encoders generate output encoded data at a bit rate that scales substantially linearly with a number of audio channels conveyed in the output encoded data. Such a characteristic renders inclusion of additional channels problematic because playing duration for a given data carrier storage capacity or quality of audio representation would have to be accordingly sacrificed to accommodate more channels.
An object of the present invention is to provide for a multi-channel encoder which is operable to provide more efficient encoding of multi-channel data content, for example multi-channel audio data content.
The inventors have appreciated that, by use of appropriate encoding methods, output encoded data is capable of conveying information corresponding to, for example, five-channel audio program content, whilst using a bit rate conventionally required to convey two-channel audio program content, namely stereo.
Thus, according to a first aspect of the present invention, there is provided a multi-channel encoder arranged to process input signals conveyed in N input channels to generate corresponding output signals conveyed in M output channels together with parametric data such that M and N are integers and N is greater than M, the encoder including:
(a) a down-mixer for down-mixing the input signals to generate corresponding output signals; and
(b) an analyzer for processing the input signals either during down-mixing or as a separate process, said analyzer being operable to generate said parametric data complementary to the output signals, said parametric data describing mutual differences between the N channels of input signal so as to allow substantially for regenerating during decoding of one or more of the N channels of input signal from the M channels of output signal, said output signals being in a form compatible for reproduction in decoders providing for N or for fewer than N output channels to enable backwards compatibility.
The invention is of advantage in that the multi-channel encoder is capable of more efficiently encoding multi-channel input signals into an output stream which, for example, can be rendered to be compatible with two-channel stereo playback apparatus.
Such backwards compatibility of the encoder with earlier types of corresponding decoder is provided in three ways:
(a) the output down-mixed signals from the encoder are generated in such a way that playback of these signals, namely without additional processing or decoding, results in a spatial image which is a good approximation of, for example, a 5-channel spatial image, given the limitations of a corresponding limited number of loudspeakers. This property assures backward playback compatibility;
(b) spatial parameters associated with the down-mixed signals are placed in the ancillary data portion of the bit stream. A decoder which is not able to decode the ancillary data portion will still be able to decode the transmitted signal. This property assures backward decoding compatibility; and
(c) parameters stored in the ancillary part of the bit-stream and the decoder structure are formulated in such a way that a parametric decoder is able to regenerate appropriate 2-, 3- and 4-channel signals. This property provides flexibility in terms of playback system utilized, and hence provides backwards compatibility with 2-, 3- and 4-channel systems.
Preferably, in the encoder, the analyzer includes processing means for converting the input signals by way of transformation from a temporal domain to a frequency domain and for processing these transformed input signals to generate the parametric data. Processing of the input signals in a frequency domain is of benefit in providing efficient encoding within the encoder. More preferably, in the encoder, at least one of the down-mixer and analyzer are arranged to process the input signals as a sequence of time-frequency tiles to generate the output signals.
Preferably, in the encoder, the tiles are obtained by transformation of mutually overlapping analysis windows. Such overlapping allows for better continuity and thereby reducing encoding artefacts when the output signals are subsequently decoded to regenerate a representation of the input signals.
Preferably, the encoder includes a coder for processing the input signals to generate M intermediate audio data channels for inclusion in the M output signals, the analyzer being arranged to output information in the parametric data relating to at least one of:
(a) inter-channel input signal power ratios or logarithmic level differences
(b) inter-channel coherence between the input signals;
(c) a power ratio between the input signals of one or more channels and a sum of powers of the input signals of one or more channels; and
(d) phase differences or time differences between signal pairs.
More preferably, the phase differences in (d) are average phase differences.
Preferably, in the encoder, calculation of at least one of the phase differences, the coherence data and the power ratio is followed by principal component analysis (PCA) and/or inter-channel phase alignment to generate the output signals.
Preferably, to provide a closer resemblance to the original input signals when the input data is regenerated, in the encoder, at least one of the input signals conveyed in the N channels corresponds to an effects channel.
Preferably, the encoder is adapted to generate the output signals in a form suitable for playback using conventional playback systems.
According to a second aspect of the invention, there is provided a method of encoding input signals conveyed in N input channels in a multi-channel encoder to generate corresponding output signals conveyed in M output channels together with parametric data such that M and N are integers and N is greater than M, the method including steps of:
(a) down-mixing the input signals to generate the corresponding output signals; and
(b) processing in an analyzer the input signals either when being down-mixed or separately, said processing providing said parametric data complementary to the output signals, said parametric data describing mutual differences between the N channels of input data so as to allow substantially for regeneration of the N channels of input signal from the M channels of output signal during decoding, said output signals being in a form compatible for reproduction in decoders providing for N or for fewer than N output channels.
Preferably, the method is adapted to encode input signals corresponding to 5-channel and generate the output signals and parametric data in a form compatible with one or more of corresponding 2-channel stereo decoders, 3 channel decoders and 4-channel decoders.
Preferably, in the method, the processing includes converting the input signals by way of transformation from a temporal domain to a frequency domain.
Preferably, in the method, at least one of the input signals is processed as a sequence of time-frequency tiles to generate the output signals.
Preferably, in the method, the tiles correspond to mutually overlapping analysis windows.
Preferably, the method includes a step of using a coder for processing the input signals to generate M intermediate audio data channels for inclusion in the output signals, the coder being arranged to output information in the parametric data relating to at least one of:
(a) inter-channel input signal power ratios or logarithmic level differences;
(b) inter-channel coherence between the input signals;
(c) a power ratio between the input signals of one or more channels and a sum of powers of the input signals of one or more channels; and
(d) phase differences or time differences between signal pairs.
More preferably, the phase differences in (d) are average phase differences.
Preferably, in the method, calculation of at least one of the level differences, the coherence data and the power ratio is followed by principal component analysis and/or phase alignment to generate the output signals.
Preferably, in the method, at least one of the input signals conveyed in the N channels corresponds to an effects channel.
According to a third aspect of the invention, there is provided encoded data content stored on a data carrier, said data content being generated using the method according to the second aspect of the invention.
According to a fourth aspect of the invention, there is provided a decoder operable to decode encoded output data as generated by an encoder according to the first aspect of the invention, said encoded output data comprising M channels and associated parametric data generated from input signals of N channels such that M<N where M and N are integers, the decoder including a processor:
(a) for receiving the encoded output data and converting it from a time domain to a frequency domain;
(b) for applying the parametric data in the frequency domain to extract content from the M channels to regenerate from the M channels regenerated data content corresponding to input signals of one or more of N channels not directly included in or omitted from the encoded output data; and
(c) for processing the regenerated data content for outputting one or more of the regenerated input signals of N channels at one or more outputs of the decoder.
Preferably, in the decoder, the processor is operable to apply an all-pass decorrelation filter to obtain decorrelated versions of signals for use in regenerating said one or more input signals of N channels at the decoder.
Preferably, in the decoder, the processor is operable to apply inverse encoder rotation to split signals of the M channels and decorrelated versions thereof into their constituent components for regenerating said one or more input signals of N channels at the decoder.
It will be appreciated that features of the invention are susceptible to being combined in any combination without departing from the scope of the invention.
Embodiments of the invention will now be described, by way of example only, with reference to the following diagrams wherein:
In order to improve encoding executed within a multi-channel encoder provided with N channels of input data and arranged to encode the input data to generate a corresponding encoded output data stream, the inventors have envisaged that the encoder is beneficially operable:
(a) to down-mix the input data of the N channels into M channels such that M<N; and
(b) to generate a relatively small amount of parametric overhead data to combine with data of the M channels when generating the output data stream, the parametric data being arranged to enable reconstruction of data corresponding to the N channels at a subsequent decoder supplied with the output data stream.
For example, the multi-channel encoder is preferably a five-channel encoder, namely N=5. The five-channel encoder is configured to down-mix data corresponding to five input channels to generate two channels of intermediate data, namely M=2. Moreover, the five-channel encoder is operable to generate associated parametric overhead data to combine with data of the two channels to generate the output data stream, the parametric data being sufficient to enable the decoder to reconstruct a representation of the five input channels. The decoder is of benefit in that it is capable of being backwards compatible to support situations where N=2, 3, 4, namely backwards compatible with 2-channel, 3-channel and 4-channel output situations.
In a preferred embodiment of the invention, an encoder is operable to process N input data channels. The N input channels preferably correspond to a center audio data channel, a left-front audio data channel, a left-rear audio data channel, a right-front audio data channel and a right rear audio data channel; such five channels are capable of creating an apparent 3-dimensional distribution of sound appropriate for domestic cinema-type program content reproduction. The N input data channels are down-mixed into two intermediate audio data channels, for example encoded using a contemporary stereo audio coder. The coder beneficially employs principal component analysis and/or phase alignment of the left-front and the left-rear data channels. The encoder is also arranged to employ a separate principal component analysis and/or phase alignment on the right-front and the right-rear input channels. Moreover, the encoder is operable to generate parametric overhead data including information relating to the following:
(a) inter-channel level differences between the left-front and left-rear data channels;
(b) inter-channel level differences between the right-front and right-rear data channels;
(c) inter-channel coherence data relating to the left-front and left-rear channels;
(d) inter-channel coherence data relating to the right-front and right-rear data channels; and
(e) a power ratio between the center data channel and a sum of powers of the left-front, left-rear, right-front and right rear data channels.
The two intermediate data channels and the parametric overhead data are combined to generate encoded output data from the encoder. Optionally, data relating to inter-channel phase differences and preferably overall phase differences between the left-front and left-rear data channels on the one hand, and right-front and right-rear data channels on the other hand are included in the encoded output data from the encoder. Parametric analysis performed in (a) to (e) with regard to this example embodiment of the invention preferably involves temporal and frequency analysis; more preferably, the analysis is performed by way of time-frequency tiles as will be further elucidated later.
Operation of the encoder in the preferred embodiment of the invention will now be described in greater detail in terms of its associated mathematical functions with reference to
In
The first channel 20 includes a segment and transform unit 100 for receiving left front and left rear input signals 300, 310 respectively, namely Slf, Slr. Corresponding left front and left rear transformed signals 350, 360, namely TSlf, TSlr, are coupled to a down-mix unit 130 of the channel 20, and also to parameter analysis unit 110 of the channel 20. A first parameter set signal 370, namely PS1, is coupled to an input of the parameter-to-down-mix vector conversion unit 120 whose corresponding output is coupled to the down-mix unit 130.
The second channel 30 includes a segment and transform unit 140 arranged to receive a center input signal 320, namely Sc. The center intermediate signal 400, namely CI, is coupled from the transform unit 140 to the parameter extraction unit 200 as described in the foregoing.
The third channel 40 includes a segment and transform unit 150 for receiving right front and right rear input signals 330, 340 respectively, namely Srf, Srr. Corresponding right front and right rear transformed signals 410, 420, namely TSrf, TSrr, are coupled to a down-mix unit 180 of the channel 40, and also to parameter analysis unit 160 of the channel 40. A second parameter set signal 430, namely PS2, is coupled to an input of the parameter-to-down-mix vector conversion unit 170 whose corresponding output is coupled to the down-mix unit 180.
The Parameter extraction unit 200 is arranged to receive signal 380, 400, 440 from the channels 20, 30, 40 to generate the third parameter set output 450, namely PS3, as well as the pre-output signals 470, 460, namely PRout, PLout for the OLA unit 210.
The encoder 10 is susceptible to being implemented in dedicated hardware. Alternatively, the encoder 10 can be based on computer hardware arranged to execute software for implementing processing functions of the encoder 10. As a further alternative, the encoder 10 can be implemented by a combination of dedicated hardware coupled to computer hardware operating under software control.
Operation of the encoder 10 will now be described with reference to
In the parameter extraction unit 200, data processing is executed in a first step to estimate relevant parameters between left-front and left-rear signals. These parameters include a level difference IIDL, a phase difference IPDL and a coherence ICCL. Preferably, the phase difference IPDL corresponds to an average phase difference. Moreover, these parameters IIDL, IPDL and ICCL are calculated as provided in Equations 1 to 3 (Eq. 1 to 3):
wherein a symbol * denotes a complex conjugate.
The processes described by Equations 1 to 3 is also repeated for right-front and right-rear signals, such processing resulting in corresponding parameters IIDR, IPDR and ICCR relating to level difference, phase difference and coherence respectively.
In the parameter-to-down-mix vector conversion unit 120, data processing is executed in a second step to compute complex weights for the down-mix of the two signals left-front Lf and left-rear Lr. In the preferred embodiment, the down-mix vector sent to the down-mix unit 130 is arranged to maximize the energy of the down-mix signal Y[k] by applying a rotation α of the input signal space and/or complex phase alignment.
The down-mix is applied as follows. The two signals Lf and Lr are rotated to obtain a dominant signal Y[k] and a corresponding residual signal Q[k] using a rotation angle α which maximizes the energy of the dominant signal Y[k] as depicted by Equation 4 (Eq. 4):
wherein an angle OPDL denotes an overall phase rotation angle, whilst the phase difference IPDL is calculated to ensure a maximum phase-alignment of the two signals Lf, Lr. The rotation angle α is calculable from the extracted parameters using Equations 5 and 6 (Eq. 5 and 6):
The signal Q[k] from Equation 4 is subsequently discarded in the parameter extraction unit 200, the signal Y[k] is scaled by a scalar β to obtain the signal L[k] in such a way that the signal L[k] has a similar power to that of the signal Q[k] plus the power of the signal Y[k]; in other words, the signal Q[k] is discarded whilst a corresponding loss in signal power arising is compensated by scaling the signal Y[k]. The scalar β is calculable using Equations 7 and 8 (Eq. 7 and 8):
wherein
The first and second steps are also repeated for the right-front and right-rear signal pairs, resulting in generation of the corresponding signal R[k]. It is to be noted that the use of PCA rotation can be circumvented by using a fixed value for the rotation angle α.
A third processing step executed within the encoder 10 involves mixing the center signal C[k] into both of the signals L[k] and R[k] resulting in generation of the pre-output signals 470, 460 respectively, namely PLout, PRout. Such mixing is executed according to Equation 9 (Eq. 9):
wherein a parameter ε denotes a weight determining the strength of the signal C[k] in mixing associated with Equation 9, for example ε=0.707 typically. Preferably, respective combinations of L, C and R are aligned in terms of phase, otherwise phase cancellation would occur.
A parameter IIDC describing the power of signal C with respect to the power of signals L and R is calculable from Equation 10 (Eq. 10):
The foregoing process comprising the aforementioned first, second and third steps is repeated in the encoder 10 for each time/frequency tile.
The signals PLout[k] and PRout[k] are subsequently transformed in the encoder to a temporal domain and combined with previous segments using an overlap-add type of summation to generate the aforesaid output signals 490, 480 respectively, namely Lout, Rout.
Output data from the encoder 10 is susceptible to being communicated by way of a communication network, for example via the Internet or other similar broadcast network. Alternatively, or additionally, the output data is capable of being conveyed by way of a data carrier, for example a DVD optical data disk or other similar type of data carrying medium.
The output data from the encoder 10 is capable of being decoded in decoders compatible with the encoder 10, for example in a decoder indicated generally by 800 in
In order to provide backwards compatibility, such decoders can be at least one of stereo, 3-channel and 5-channel apparatus. In a stereo-type decoder compatible with the encoder 10, namely where decoder 800 includes only two decoded outputs for DOP, the stereo-type decoder having two playback channels, the signals Rout, Lout provided from the encoder 10 are reproduced in the stereo-type decoder over two playback channels without further processing being performed.
In a 3-channel decoder compatible with the encoder 10, the decoder having three playback channels, namely where the decoder 800 includes three decoded outputs for DOP, the two signals Rout, Lout, for example read from a data carrier such as a DVD optical disk, are segmented and then transformed to the aforementioned frequency domain. Corresponding recreated signals L[k], R[k] and C[k] are then derived using Equations 11 to 16 (Eq. 11 to 16)
wherein
Three-channel audio signals for user-appreciation are then derived from the signals L[k], R[k] and C[k] in a manner similar to that described in the foregoing.
In a five-channel decoder compatible with the encoder 10, namely the decoder 800 providing five decoded outputs, a three-channel playback reconstruction as described in the foregoing is employed resulting in regeneration of the signals L[k], R[k] and C[k] at the decoder. In the five-channel decoder, a further step is executed which involves splitting the signal L[k] in its constituent components, namely a front left component Lf[k ] and a rear left component Lr[k]; similarly, the signal R[k] is also split into its constituent components, namely a front right component Rf[k] and a rear right component Rr[k]. Such signal splitting utilizes an inverse encoder rotation operation complementary to the rotation performed in the encoder 10 as described in the foregoing. The dominant signal Y[k] and the residual signal Q[k] required for the inverse rotation are derived in the five-way decoder using Equations 17 and 18 (Eq. 17, 18):
wherein
for which the parameter t is previous defined in Equation 8 (Eq. 8) in the foregoing. In Equation 17, H[k] denotes an all-pass decorrelation filter to obtain a decorrelated version of the signal L[k]. Subsequently, the signals Lf[k] and Lr[k] are generated using an inverse encoder rotation function as described by Equation 19 (Eq. 19):
Similar processing is also applied for right hand channel components.
In a four-channel decoder compatible with the encoder 10, the four-channel decoder is operable to firstly decode five channels in a manner akin to that employed in the aforementioned five-channel decoder to generate five audio signals Slf, Slr, Srf, Srr and Sc. Thereafter, simple mixing occurs according to Equations 20 and 21 (Eq. 20, 21) to generate left-front and right-front audio signals Slf,playback, Srf,playback for user appreciation:
Slf,playback=Slf+qSc Eq.20
Srr,playback=Srf+qSc Eq.21
wherein a coefficient q=0.707.
The coefficient q ensures for the four-channel decoder that the total power of the center signal components is substantially constant, irrespective of playback through a single center loudspeaker or as a phantom apparent source of sound for the user created by left front and right front loudspeakers coupled to the four-channel decoder.
It will be appreciated that embodiments of the invention described in the foregoing are susceptible to being modified without departing from the scope of the invention as defined by the accompanying claims.
The inventors have identified that the encoder 10 does not support coding of an effects channel (LFE), for example a low frequency effects channel. Such a LFE channel is of benefit, for example, for conveying sound effects information such as thunder-sound information or explosion sound information which beneficially accompanies visual information simultaneously presented to users in, for example, a home movie system. Thus, the inventors have appreciated in an embodiment of the present invention that it is beneficial to modify the encoder 10 to enhance its second channel 30 and thereby generate an encoder as depicted in
The encoder 600 is generally similar to the encoder 10 except that the second channel 30 of the encoder 600 is furnished with a parameter analysis unit 630, a parameter to down-mix vector unit 640 and a down-mix unit 650 connected in a similar manner to corresponding components of the first and third channels 20, 40 respectively; the channel 30 of the encoder 600 is operable to output a fourth parameter set 690, namely PS4. Moreover, the second channel 30 of the encoder 600 includes a low frequency effects (lfe) input 610 for receiving a low frequency effects signal Slfe, and also an input 620 for receiving the aforementioned center signal SC. Preferably, processing of the signal Slfe is limited to a frequency bandwidth of 120 Hz from sub-audio frequencies upwards and therefore potentially suitable for driving contemporary sub-woofer type loudspeakers. However, embodiments of the invention are susceptible to being implemented with the second channel 30 having a much greater bandwidth than 120 Hz, for example to provide high frequency signal information corresponding to impulse-like sounds.
Inclusion of low frequency effect information in output from the encoder 600 requires use of additional parameters in comparison to the encoder 10. A signal presented to the input 610 is analyzed in the encoder 600 to determine corresponding representative parameters which are analyzed on a time/frequency tile basis in a similar manner to other aforementioned audio signals processed through the encoder 10. Corresponding decoders are preferably arranged to include additional features for decoding the low frequency information to regenerate, for example, a signal suitable for amplification to drive audio sub-woofer loudspeakers in home movie systems.
In the accompanying claims, numerals and other symbols included within brackets are included to assist understanding of the claims and are not intended to limit the scope of the claims in any way.
Expressions such as “comprise”, “include”, “incorporate”, “contain”, “is” and “have” are to be construed in a non-exclusive manner when interpreting the description and its associated claims, namely construed to allow for other items or components which are not explicitly defined also to be present. Reference to the singular is also to be construed to be a reference to the plural and vice versa.
Number | Date | Country | Kind |
---|---|---|---|
04101405 | Apr 2004 | EP | regional |
04102863 | Jun 2004 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB2005/051037 | 3/25/2005 | WO | 00 | 10/2/2006 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2005/098821 | 10/20/2005 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5857026 | Scheiber | Jan 1999 | A |
5982903 | Kinoshita et al. | Nov 1999 | A |
7394903 | Herre et al. | Jul 2008 | B2 |
7447317 | Herre et al. | Nov 2008 | B2 |
20040028244 | Tsushima et al. | Feb 2004 | A1 |
20050195981 | Faller et al. | Sep 2005 | A1 |
20080195397 | Myburg et al. | Aug 2008 | A1 |
Number | Date | Country |
---|---|---|
WO2004008805 | Jan 2004 | WO |
WO2005069274 | Jul 2005 | WO |
Number | Date | Country | |
---|---|---|---|
20070194952 A1 | Aug 2007 | US |