The present invention relates to coding of multi-channel representations of audio signals using spatial parameters. The present invention teaches new methods for estimating and defining proper parameters for recreating a multi-channel signal from a number of channels being less than the number of output channels. In particular it aims at minimizing the bit rate for the multi-channel representation, and providing a coded representation of the multi-channel signal enabling easy encoding and decoding of the data for all possible channel configurations.
It has been shown in PCT/SE02/01372 “Efficient and scalable Parametric Stereo Coding for Low Bit rate Audio Coding Applications”, that it is possible to re-create a stereo image that closely resembles the original stereo image, from a mono signal given a very compact representation of the stereo image. The basic principle is to divide the input signal into frequency bands and time segments, and for these frequency bands and time segments, estimate inter-channel intensity difference (IID), and inter-channel coherence (ICC). The first parameter is a measurement of the power distribution between the two channels in the specific frequency band and the second parameter is an estimation of the correlation between the two channels for the specific frequency band. On the decoder side the stereo image is recreated from the mono signal by distributing the mono signal between the two output channels in accordance with the IID-data, and by adding a decorrelated signal in order to retain the channel correlation of the original stereo channels.
For a multi-channel case (multi-channel in this context meaning more than two output channels), several additional issues have to be accounted for. Several multi-channel configurations exist. The most commonly known is the 5.1 configuration (center channel, front left/right, surround left/right, and the LFE channel). However, many other configurations exist. From the complete encoder/decoder systems point-of-view, it is desirable to have a system that can use the same parameter set (e.g. IID and ICC) or subsets thereof for all channel configurations. ITU-R BS.775 defines several down-mix schemes to be able to obtain a channel configuration comprising fewer channels from a given channel configuration. Instead of always having to decode all channels and rely on a down-mix, it can be desirable to have a multi-channel representation that enables a receiver to extract the parameters relevant for the channel configuration at hand, prior to decoding the channels. Further, a parameter set that is inherently scaleable is desirable from a scalable or embedded coding point of view, where it is e.g. possible to store the data corresponding to the surround channels in an enhancement layer in the bitstream.
Contrary to the above it can also be desirable to be able to use different parameter definitions based on the characteristics of the signal being processed, in order to switch between the parameterization that results in the lowest bit rate overhead for the current signal segment being processed.
Another representation of multi-channel signals using a sum signal or down mix signal and additional parametric side information is known in the art as binaural cue coding (BCC). This technique is described in “Binaural Cue Coding—Part 1: Psycho-Acoustic Fundamentals and Design Principles”, IEEE Transactions on Speech and Audio Processing, vol. 11, No. 6, November 2003, F. Baumgarte, C. Faller, and “Binaural Cue Coding. Part II: Schemes and Applications”, IEEE Transactions on Speech and Audio Processing vol. 11, No. 6, November 2003, C. Faller and F. Baumgarte.
Generally, binaural cue coding is a method for multi-channel spatial rendering based on one down-mixed audio channel and side information. Several parameters to be calculated by a BCC encoder and to be used by a BCC decoder for audio reconstruction or audio rendering include inter-channel level differences, inter-channel time differences, and inter-channel coherence parameters. These inter-channel cues are the determining factor for the perception of a spatial image. These parameters are given for blocks of time samples of the original multi-channel signal and are also given frequency-selective so that each block of multi-channel signal samples have several cues for several frequency bands. In the general case of C playback channels, the inter-channel level differences and the inter-channel time differences are considered in each subband between pairs of channels, i.e., for each channel relative to a reference channel. One channel is defined as the reference channel for each inter-channel level difference. With the inter-channel level differences and the inter-channel time differences, it is possible to render a source to any direction between one of the loudspeaker pairs of a playback set-up that is used. For determining the width or diffuseness of a rendered source, it is enough to consider one parameter per subband for all audio channels. This parameter is the inter-channel coherence parameter. The width of the rendered source is controlled by modifying the subband signals such that all possible channel pairs have the same inter-channel coherence parameter.
In BCC coding, all inter-channel level differences are determined between the reference channel 1 and any other channel. When, for example, the center channel is determined to be the reference channel, a first inter-channel level difference between the left channel and the centre channel, a second inter-channel level difference between the right channel and the centre channel, a third inter-channel level difference between the left surround channel and the center channel, and a forth inter-channel level difference between the right surround channel and the center channel are calculated. This scenario describes a five-channel scheme. When the five-channel scheme additionally includes a low frequency enhancement channel, which is also known as a “sub-woofer” channel, a fifth inter-channels level difference between the low frequency enhancement channel and the center channel, which is the single reference channel, is calculated.
When reconstructing the original multi-channel using the single down mix channel, which is also termed as the “mono” channel, and the transmitted cues such as ICLD (Interchannel Level Difference), ICTD (Interchannel Time Difference), and ICC (Interchannel Coherence), the spectral coefficients of the mono signal are modified using these cues. The level modification is performed using a positive real number determining the level modification for each spectral coefficient. The inter-channel time difference is generated using a complex number of magnitude of one determining a phase modification for each spectral coefficient. Another function determines the coherence influence. The factors for level modifications of each channel are computed by firstly calculating the factor for the reference channel. The factor for the reference channel is computed such that for each frequency partition, the sum of the power of all channels is the same as the power of the sum signal. Then, based on the level modification factor for the reference channel, the level modification factors for the other channels are calculated using the respective ICLD parameters.
Thus, in order to perform BCC synthesis, the level modification factor for the reference channel is to be calculated. For this calculation, all ICLD parameters for a frequency band are necessary. Then, based on this level modification for the single channel, the level modification factors for the other channels, i.e., the channels, which are not the reference channel, can be calculated.
This approach is disadvantageous in that, for a perfect reconstruction, one needs each and every inter-channel level difference. This requirement is even more problematic, when an error-prone transmission channel is present. Each error within a transmitted inter-channel level difference will result in an error in the reconstructed multi-channel signal, since each inter-channel level difference is required to calculate each one of the multi-channel output signal. Additionally, no reconstruction is possible, when an inter-channel level difference has been lost during transmission, although this inter-channel level difference was only necessary for e.g. the left surround channel or the right surround channel, which channels are not so important to multi-channel reconstruction, since most of the information is included in the front left channel, which is subsequently called the left channel, the front right channel, which is subsequently called the right channel, or the center channel. This situation becomes even worse, when the inter-channel level difference of the low frequency enhancement channel has been lost during transmission. In this situation, no or only an erroneous multi-channel reconstruction is possible, although the low frequency enhancement channel is not so decisive for the listeners' listening comfort. Thus, errors in a single inter-channel level difference are propagated to errors within each of the reconstructed output channels.
Parametric multi-channel representations are problematic in that, normally, inter-channel level differences such as ICLDs in BCC coding or balance values in other parametric multi-channel representations are given as relative values rather than absolute values. In BCC, an ICLD parameter describes the level difference between a channel and a reference channel. Balance values can also be given as a ratio between two channels in a channel pair. When reconstructing the multi-channel signal, such level differences or balance parameters are applied to a base channel, which can be a mono base channel or a stereo base channel signal having two base channels. Thus, the energy included in the at least one base channel is distributed among the for example five or six reconstructed output channels. Thus, the absolute energy in a reconstructed output channel is determined by the inter-channel level difference or the balance parameter and the energy of the down-mix signal at the receiver input.
When there come situations, in which the energy of the down-mix signal at the receiver input varies with respect to a down-mix signal output by an encoder, level variations will occur. In this context, it is to be emphasized that, depending on the used parameterization scheme, such level variations will not only result in a general loudness variation of the constructed signal, but can also result in serious artefacts, when the parameters are given frequency-selective. When, for example, a certain frequency band of the down-mix signal is manipulated more than a frequency band at another place on the frequency scale, this manipulation will be readily apparent in the reconstructed output signal, since the frequency components in the output channel in the certain frequency band have a level, which is too low or too high
Additionally, timely varying level manipulations will also result in an overall level of the reconstructed output signal, which is varying over time and is, therefore, perceived as an annoying artefact.
While the above situations concentrated on level manipulations resulting by encoding, transmitting, and decoding a down-mix signal, other level deviations can occur. Due to phase dependencies between different channels being downmixed into one or two channels, a situation can occur, in which the mono signal has an energy, which is not equal to the sum of the energies in the original signal. Since the down-mix is normally performed sample-wise, i.e., by adding time wave forms, a phase difference between the left signal and the right signal of for example 180 degrees will result in a complete cancellation of both channels in the down-mix signal, which would result in a zero energy, although both signals have, of course, a certain signal energy. Although in normal situations such an extreme situation will not be very probable, energy variations still occur, since all signals are, of course, not completely uncorrelated. Such variations can also result in loudness fluctuations in the reconstructed output signal and will also result in artefacts, since the energy of the reconstructed output signal will be different from the energy of the original multi-channel signal.
It is the object of the present invention to provide a parameterization concept, which results in a multi-channel reconstruction having an improved output quality.
In accordance with a first aspect, the present invention provides an apparatus for generating a level parameter within a parameter representation of a multi-channel signal having several original channels, the parameter representation having a parameter set, which, when used together with at least one down-mix channel, allows a multi-channel reconstruction, the apparatus having: a level parameter calculator for calculating a level parameter, the level parameter being calculated such that an energy of the at least one downmix channel weighted by the level parameter is equal to a sum of energies of the original channels; and an output interface for generating output data including the level parameter and the parameter set or the level parameter and the at least one down-mix channel.
In accordance with a second aspect, the present invention provides an apparatus for generating a reconstructed multi-channel representation of an original multi-channel signal having at least three original channels using a parameter representation having a parameter set, which, when used together with at least one down-mix channel, allows a multi-channel reconstruction, the parameter representation including a level parameter, the level parameter being calculated such that an energy of the at least one downmix channel weighted by the level parameter is equal to a sum of energies of the original channels, the apparatus having: a level corrector for applying a level correction of the at least one down-mix channel using the level parameter so that a corrected multi-channel reconstruction by up-mixing using parameters in the parameter set is obtainable.
In accordance with a third aspect, the present invention provides a method of generating a level parameter within a parameter representation of a multi-channel signal having several original channels, the parameter representation having a parameter set, which, when used together with at least one down-mix channel, allows a multi-channel reconstruction, having the steps of: calculating a level parameter, the level parameter being calculated such that an energy of the at least one downmix channel weighted by the level parameter is equal to a sum of energies of the original channels; and generating output data including the level parameter and the parameter set or the level parameter and the at least one down-mix channel.
In accordance with a fourth aspect, the present invention provides a method of generating a reconstructed multi-channel representation of an original multi-channel signal having at least three original channels using a parameter representation having a parameter set, which, when used together with at least one down-mix channel, allows a multi-channel reconstruction, the parameter representation including a level parameter, the level parameter being calculated such that an energy of the at least one downmix channel weighted by the level parameter is equal to a sum of energies of the original channels, the method having the step of: applying a level correction of the at least one down-mix channel using the level parameter so that a corrected multi-channel reconstruction by up-mixing using parameters in the parameter set is obtained.
In accordance with a fifth aspect, the present invention provides a computer program having machine-readable instructions for performing one of the above-mentioned methods, when running on a computer.
In accordance with a sixth aspect, the present invention provides a parameter representation having a parameter set, which, when used together with at least one down-mix channel, allows a multi-channel reconstruction, the parameter representation including a level parameter, the level parameter being calculated such that an energy of the at least one downmix channel weighted by the level parameter is equal to a sum of energies of the original channels.
The present invention is based on the finding that, for high quality reconstruction, and in view of flexible encoding/transmission and decoding schemes, an additional level parameter is transmitted together with the down-mix signal or the parameter representation of a multi-channel signal so that, a multi-channel reconstructor can use this level parameter together with the level difference parameters and the down-mix signal for regenerating a multi-channel output signal, which does not suffer from level variations or frequency-selective level-induced artefacts.
In accordance with the present invention, the level parameter the level parameter is calculated such that an energy of the at least one downmix channel weighted (such as multiplied or divided) by the level parameter is equal to a sum of energies of the original channels.
In an embodiment, the level parameter is derived from a ratio between the energy of the down-mix channel(s) and the sum of the energies of the original channels. In this embodiment, any level differences between the down-mix channel(s) and the original multi-channel signal are calculated on the encoder side and input into the data stream as a level correction factor, which is treated as an additional parameter, which is also given for a block of samples of the down-mix channel(s) and for a certain frequency band. Thus, for each block and frequency band, for which inter-channel level differences or balance parameters exist, a new level parameter is added.
The present invention also provides flexibility, since it allows transmitting a down-mix of a multi-channel signal, which is different from the down-mix on which the parameters are based. Such situations can emerge, when, for example, a broadcast station does not wish to broadcast a down-mix signal generated by a multi-channel encoder, but wishes to broadcast a down-mix signal generated by a sound engineer in a sound studio, which is a down-mix based on the subjective and creative impression of a human being. Nevertheless, the broadcaster may have the wish to also transmit multi-channel parameters in connection with this “master down-mix”. In accordance with the present invention, the adaption between the parameter set and the master down-mix is provided by the level parameter, which is, in this case, a level difference between the master down-mix and the parameter down-mix, on which the parameter set is based.
The present invention is advantageous in that the additional level parameter provides improved output quality and improved flexibility, since parameter sets related to one down-mix signal can also be adapted to another down-mix, which is not being generated during parameter calculation.
For bit rate reduction purposes, it is preferred to apply Δ-coding of the new level parameter and quantization and entropy-encoding. Particular, Δ-coding will result in a high coding gain, since the variation from band to band or from time block to time block will not be so high so that relatively small difference values are obtained, which allow the possibility of a good coding gain when used in connection with subsequent entropy encoding such as a Huffman encoder.
In a preferred embodiment of the invention, a multi-channel signal parameter representation is used, which includes at least two different balance parameters, which indicate a balance between two different channel pairs. In particular, flexibility, scalability, error-robustness, and even bit rate efficiency are the result of the fact that the first channel pair, which is the basis for the first balance parameter is different from the second channel pair, which is the basis for the second balance parameters, wherein the four channels forming these channel pairs are all different from each other.
Thus, the preferred concept departs from the single reference channel concept and uses a multi-balance or super-balance concept, which is more intuitive and more natural for a human being's sound impression. In particular, the channel pairs underlying the first and second balance parameters can include original channels, down-mix channels, or preferably, certain combinations between input channels.
It has been found out that a balance parameter derived from the center channel as the first channel and a sum of the left original channel and the right original channel as the second channel of the channel pair is especially useful for providing an exact energy distribution between the center channel and the left and right channels. It is to be noted in this context that these three channels normally include most information of the audio scene, wherein particularly the left-right stereo localization is not only influenced by the balance between left and right but also by the balance between center and the sum of left and right. This observation is reflected by using this balance parameter in accordance with a preferred embodiment of the present invention.
Preferably, when a single mono down-mix signal is transmitted, it has been found out that, in addition to the center/left plus right balance parameter, a left/right balance parameter, a rear-left/rear-right balance parameter, and a front/back balance parameter are an optimum solution for a bit rate-efficient parameter representation, which is flexible, error-robust, and to a large extent artefact-free.
On the receiver-side, in contrast to BCC synthesis in which each channel is calculated by the transmitted information alone, the preferred multi-balance representation additionally makes use of information on the down-mixing scheme used for generating the down-mix channel(s). Thus, information on the down-mixing scheme, which is not used in prior art systems, is also used for up-mixing in addition to the balance parameter. The up-mixing operation is, therefore, performed such that the balance between the channels within a reconstructed multi-channel signal forming a channel pair for a balance parameter is determined by the balance parameter.
This concept, i.e., having different channel pairs for different balance parameters, makes it possible to generate some channels without knowledge of each and every transmitted balance parameter. In particular, the left, right and center channels can be reconstructed without any knowledge on any rear-left/rear-right balance or without any knowledge on a front/back balance. This effect allows the very fine-tuned scalability, since extracting an additional parameter from a bit stream or transmitting an additional balance parameter to a receiver consequently allows the reconstruction of one or more additional channels. This is in contrast to the prior art single-reference system, in which one needed each and every inter-channel level difference for reconstructing all or only a subgroup of all reconstructed output channels.
The preferred concept is also flexible in that the choice of the balance parameters can be adapted to a certain reconstruction environment. When, for example, a five-channel set-up forms the original multi-channel signal set-up, and when a four-channel set-up forms a reconstruction multi-channel set-up, which has only a single surround speaker, which is e.g. positioned behind the listener, a front-back balance parameter allows calculating the combined surround channel without any knowledge on the left surround channel, and the right surround channel. This is in contrast to a single-reference channel system, in which one has to extract an inter-channel level difference for the left surround channel and an inter-channel level difference for the right surround channel from the data stream. Then, one has to calculate the left surround channel and the right surround channel. Finally, one has to add both channels to obtain the single surround speaker channel for a four-channel reproduction set-up. All these steps do not have to be performed in the more-intuitive and more user-directed balance parameter representation, since this representation automatically delivers the combined surround channel because of the balance parameter representation, which is not tied to a single reference channel, but which also allows to use a combination of original channels as a channel of a balance parameter channel pair.
The present invention relates to the problem of a parameterized multi-channel representation of audio signals. It provides an efficient manner to define the proper parameters for the multi-channel representation and also the ability to extract the parameters representing the desired channel configuration without having to decode all channels. The invention further solves the problem of choosing the optimal parameter configuration for a given signal segment in order to minimize the bit rate required to code the spatial parameters for the given signal segment. The present invention also outlines how to apply the decorrelation methods previously only applicable for the two channel case in a general multi-channel environment.
In preferred embodiments, the present invention comprises the following features:
These and other objects and features of the present invention will become clear from the following description taken in conjunction with the accompanying drawings, in which:
The below-described embodiments are merely illustrative for the principles of the present invention on multi-channel representation of audio signals. It is understood that modifications and variations of the arrangements and the details described herein will be apparent to others skilled in the art. It is the intent, therefore, to be limited only by the scope of the impending patent claims and not by the specific details presented by way of description and explanation of the embodiments herein.
In the following description of the present invention outlining how to parameterize IID and ICC parameters, and how to apply them in order to re-create a multi-channel representation of audio signals, it is assumed that all referred signals are subband signals in a filterbank, or some other frequency selective representation of a part of the whole frequency range for the corresponding channel. It is therefore understood, that the present invention is not limited to a specific filterbank, and that the present invention is outlined below for one frequency band of the subband representation of the signal, and that the same operations apply to all of the subband signals.
Although a balance parameter is also termed to be a “inter-channel intensity difference (IID)” parameter, it is to be emphasized that a balance parameter between a channel pair does not necessarily has to be the ratio between the energy or intensity in the first channel of the channel pair and the energy or intensity of the second channel in the channel pair. Generally, the balance parameter indicates the localization of a sound source between the two channels of the channel pair. Although this localization is usually given by energy/level/intensity differences, other characteristics of a signal can be used such as a power measure for both channels or time or frequency envelopes of the channels, etc.
In
and thus the energies for the channels outlined above can be defined according to (here exemplified by the left surround channel):
A=E[a2(t)].
The five channels are on the encoder side down-mixed to a two channel representation or a one channel representation. This can be done in several ways, and one commonly used is the ITU down-mix defined according to:
The 5.1 to two channel down-mix:
ld(t)=αb(t)+βa(t)+γc(t)+δf(t)
rd(t)=αd(t)+βe(t)+γc(t)+δf(t)
And the 5.1 to one channel down-mix:
Commonly used values for the constants α, β, γ and δ are
The IID parameters are defined as energy ratios of two arbitrarily chosen channels or weighted groups of channels. Given the energies of the channels outlined above for the 5.1 channel configuration several sets of IID parameters can be defined.
In an ITU recommended down-mix, α is set to 1, β and γ are set to be equal, and equal to the square root of 0.5, and δ is set to 0. Generally, the factor α can vary between 1.5 and 0.5. Additionally, the factors β, and γ can be different from each other, and vary between 0 and 1. The same is true for the low frequency enhancement channel f(t). The factor δ for this channel can vary between 0 and 1. Additionally, the factors for the left-down mix and the right-down mix do not have to be equal to each other. This becomes clear, when a non-automatic down-mix is considered, which is, for example, performed by a sound engineer. The sound engineer is more directed to perform a creative down-mix rather than a down-mix, which is guided by any mathematic laws. Instead, the sound engineer is guided by his own creative feeling. When this “creative” down-mixing is recorded by a certain parameter set, it will be used in accordance with the present invention by an inventive up-mixer as shown in
When a linear down-mix has been performed as in
Given the 5.1 channel configuration outlined in
The present invention uses IID parameters that apply to all these channels, i.e. the four channel subset of the 5.1. channel configuration has a corresponding subset within the IID parameter set describing the 5.1 channels.
The following IID parameter set solves this problem:
It is evident that the r1 parameter corresponds to the energy ratio between the left down-mix channel and the right channel down-mix. The r2 parameter corresponds to the energy ratio between the center channel and the left and right front channels. The r3 parameter corresponds to the energy ratio between the three front channels and the two surround channels. The r4 parameter corresponds to the energy ratio between the two surround channels. The r5 parameter corresponds to the energy ratio between the LFE channel and all other channels.
In
Given the parameterization above and the energy of the transmitted single down-mixed channel:
the energies of the reconstructed channels can be expressed as:
Hence the energy of the M signal can be distributed to the re-constructed channels resulting in re-constructed channels having the same energies as the original channels.
The above-preferred up-mixing scheme is illustrated in
When
Given the above IID parameters it is evident that the problem of defining a parameter set of IID parameters that can be used for several channel configurations has been solved as will be obvious from the below. As an example, observing the three channel configuration (i.e. recreating three front channels from one available channel), it is evident that the r3, r4 and r5 parameters are obsolete since the A, E and F channels do not exist. It is also evident that the parameters r1 and r2 are sufficient to recreate the three channels from a downmixed single channel since r1 describes the energy ratio between the left and right front channels, and r2 describes the energy ratio between the center channel and the left and right front channels.
In the more general case it is easily seen that the IID parameters (r1 . . . r5) as defined above apply to all subsets of recreating n channels from m channels where m<n≦6. Observing
The above described scalability feature is illustrated by the table in
The preferred concept is especially advantageous in that the left and right channels can be easily reconstructed from a single balance parameter r1 without knowledge or extraction of any other balance parameter. To this end, in the equations for B, D in
Alternatively, when only the balance parameter r2 is considered, the reconstructed channels are the sum between the center channel and the low frequency channel (when this channel is not set to zero) on the one hand and the sum between the left and right channels on the other hand. Thus, the center channel on the one hand and the mono signal on the other hand can be reconstructed using only a single parameter. This feature can already be useful for a simple 3-channel representation, where the left and right signals are derived from the sum of left and right such as by halving, and where the energy between the center and the sum of left and right is exactly determined by the balance parameter r2.
In this context, the balance parameters r1 or r2 are situated in a lower scaling layer.
As to the second entry in the
When the equations in
When a 4-channel representation is to be up-mixed, it is sufficient to only extract parameters r1, r2, and r3 from the parameter data stream. In this context, r3 could be in a next-higher scaling layer than the other parameter r1 or r2. The 4-channel configuration is specially suitable in connection with the super-balance parameter representation of the present invention, since, as it will be described later on in connection with
Thus, the combined channel energy of both surround channels is automatically obtained without any further separate calculation and subsequent combination, as would be the case in a single reference channel set-up.
When 5 channels have to be recreated from a single channel, the further balance parameter r4 is necessary. This parameter r4 can again be in a next-higher scaling layer.
When a 5.1 reconstruction has to be performed, each balance parameter is required. Thus, a next-higher scaling layer including the next balance parameter r5 will have to be transmitted to a receiver and evaluated by the receiver.
However, using the same approach of extending the IID parameters in accordance to the extended number of channels, the above IID parameters can be extended to cover channel configuration s with a larger number of channels than the 5.1 configuration. Hence the present invention is not limited to the examples outlined above.
Now observing the case were the channel configuration is a 5.1 channel configuration this being one of the most commonly used cases. Furthermore, assume that the 5.1. channels are recreated from two channels. A different set of parameters can for this case be defined by replacing the parameters r3 and r4 by:
The parameters q3 and q4 represent the energy ratio between the front and back left channels, and the energy ratio between the front and back right channels. Several other parameterizations can be envisioned.
In
The present invention prefers that several parameter sets can be used to represent the multi-channel signals. An additional feature of the present invention is that different parameterizations can be chosen dependent on the type of quantization of the parameters that is used.
As an example, a system using coarse quantization of the parameterization, due to high bit rate constraints, a parameterization should be used that does not amplify errors during the upmixing process.
Observing two of the expressions above for the reconstructed energies in a system that re-creates 5.1 channels from one channel:
It is evident that the subtractions can yield large variations of the B and D energies due to quite small quantization effects of the M, A, C, and F parameters.
According to the present invention a different parameterization should be used that is less sensitive to quantization of the parameters. Hence, if coarse quantization is used, the r1 parameter as defined above:
can be replaced by the alternative definition according to:
This yields equations for the reconstructed energies according to:
and the equations for the reconstructed energies of A, E, C and F stay the same as above. It is evident that this parameterization represents a more well conditioned system from a quantization point of view.
In
Another important noteworthy feature of the present invention is that when observing the parameterization
it is not only a more well conditioned system from a quantization point of view. The above parameterization also has the advantage that the parameters used to reconstruct the three front channels are derived without any influence of the surround channels. One could envision a parameter r2 that describes the relation between the center channel and all other channels. However, this would have the drawback that the surround channels would be included in the estimation of the parameters describing the front channels.
Remembering that the, in the present invention, described parameterization also can be applied to measurements of correlation or coherence between channels, it is evident that including the back channels in the calculation of r2 can have significant negative influence of the success of re-creating the front channels accurately.
As an example, one could imagine a situation with the same signal in all the front channels, and completely uncorrelated signals in the back channels. This is not uncommon, given that the back channels are frequently used to re-create ambience information of the original sound.
If the center channel is described in relation to all other channels, the correlation measure between the center and the sum of all other channels will be rather low, since the back channels are completely uncorrelated. The same will be true for a parameter estimating the correlation between the front left/right channels, and the back left/right channels.
Hence, we arrive with a parameterization that can reconstruct the energies correctly, but that does not include the information that all front channels were identical, i.e. strongly correlated. It does include the information that the left and right front channels are decorrelated to the back channels, and that the center channel is also decorrelated to the back channels. However, the fact that all front channels are the same is not derivable from such a parameterization.
This is overcome by using the parameterization
as taught by the present invention, since the back channels are not included in the estimation of the parameters used on the decoder side to re-create the front channels.
The energy distribution between the center channel 103 and the left front 102 and right front 103 channels are indicated by r2 according to the present invention. The energy distribution between the left surround channel 101 and the right surround channel 105 is illustrated by r4. Finally, the energy distribution between the left front channel 102 and the right front channel 104 is given by r1. As is evident all parameters are the same as outlined in
In a two-base channel situation, the parameters r3 and r4, i.e. the front/back balance parameter and the rear-left/right balance parameter are replaced by two single-sided front/rear parameters. The first single-sided front/rear parameter q3 can also be regarded as the first balance parameter, which is derived from the channel pair consisting of the left surround channel A and the left channel B. The second single-sided front/left balance parameter is the parameter q4, which can be regarded as the second parameter, which is based on the second channel pair consisting of the right channel D and the right surround channel E. Again, both channel pairs are independent from each other. The same is true for the center/left-right balance parameter r2, which have, as a first channel, a center channel C, and as a second channel, the sum of the left and right channels B, and D.
Another parameterization that lends itself well to coarse quantization for a system re-creating 5.1 channels from one or two channel is defined according to the present invention below.
For the one to 5.1 channels:
And for the two to 5.1 channels case:
It is evident that the above parameterizations include more parameters than is required from the strictly theoretical point of view to correctly re-distribute the energy of the transmitted signals to the re-created signals. However, the parameterization is very insensitive to quantization errors.
The above-referenced parameter set for a two-base channel set-up, makes use of several reference channels. In contrast to the parameter configuration in
Although several inventive embodiments have been described, in which the channel pairs for deriving balance parameters include only original channels (
In order to be completely safe against such energy variations, an additional level parameter is transmitted for each block and frequency band for every downmix channel in accordance with the present invention. When the balance parameters are based on the original signal rather than the down-mix signal, a single correction factor is sufficient for each band, since any energy correction will not influence a balance situation between the original channels. Even when no additional level parameter is transmitted, any down-mix channel energy variations will not result in a distorted localization of sound sources in the audio image but will only result in a general loudness variation, which is not as annoying as a migration of a sound source caused by varying balance conditions.
It is important to note that care needs to be taken so that the energy M (of the down-mixed channels), is the sum of the energies B, D, A, E, C and F as outlined above. This is not always the case due to phase dependencies between the different channels being down-mixed in to one channel. The energy correction factor can be transmitted as an additional parameter rM, and the energy of the downmixed signal received on the decoder side is thus defined as:
In
There can be the case, for example, that a broadcaster wishes to not transmit the parameter down-mix but the master down-mix from a transmitter to a receiver. Additionally, for upgrading the master down-mix to multi-channel representation, the broadcaster also transmits a parametric representation of the original multi-channel signal. Since the energy (in one band and in one block) can (and typically will) vary between the master down-mix and the parameter down-mix, a relative level parameter rM is generated in block 900 and transmitted to the receiver as an additional parameter. The level parameter is derived from the master down-mix and the parameter down-mix and is preferably, a ratio between the energies within one block and one band of the master down-mix and the parameter down-mix.
Generally, the level parameter is calculated as the ratio of the sum of the energies (Eorig) of the original channels and the energy of the downmix channel(s), wherein this downmix channel(s) can be the parameter downmix (EPD) or the master downmix (EMD) or any other downmix signal. Typically, the energy of the specific downmix signal is used, which is transmitted from an encoder to a decoder.
Although
Studying the case when re-creating 5.1 channels from 2 channels, the following observation is made.
If the present invention is used with an underlying audio codec as outlined in
this parameter is implicitly available on the decoder side since the system is re-creating 5.1 channels from 2 channels, provided that the two transmitted channels is the stereo downmix of the surround channels.
However, the audio codec operating under a bit rate constraint may modify the spectral distribution so that the L and R energies as measured on the decoder differ from their values on the encoder side. According to the present invention such influence on the energy distribution of the recreated channels vanishes by transmitting the parameter
also for the case when reconstruction 5.1 channels from two channels.
If signaling means are provided the encoder can code the present signal segment using different parameter sets and choose the set of IID parameters that give the lowest overhead for the particular signal segment being processed. It is possible that the energy levels between the right front and back channels are similar, and that the energy levels between the front and back left channel are similar but significantly different to the levels in the right front and back channel. Given delta coding of parameters and subsequent entropy coding it can be more efficient to use parameters q3 and q4 instead of r3 and r4. For another signal segment with different characteristics a different parameter set may give a lower bit rate overhead. The present invention allows to freely switching between different parameter representations in order to minimize the bit rate overhead for the presently encoded signal segment given the characteristics of the signal segment. The ability to switch between different parameterizations of the IID parameters in order to obtain the lowest possible bit rate overhead, and provide signaling means to indicate what parameterization is presently used, is an essential feature of the present invention.
Furthermore, the delta coding of the parameters can be done in either the frequency direction or in the time direction, as well as delta coding between different parameters. According to the present invention, a parameter can be delta coded with respect to any other parameter, given that signaling means are provided indicating the particular delta coding used.
An interesting feature for any coding scheme is the ability to do scalable coding. This means that the coded bitstream can be divided into several different layers. The core layer is decodable by itself, and the higher layers can be decoded to enhance the decoded core layer signal. For different circumstances the number of available layers may vary, but as long as the core layer is available the decoder can produce output samples. The parameterization for the multi-channel coding as outlined above using the r1 to r5 parameters lend them selves very well to scalable coding. Hence, it is possible to store the data for e.g. the two surround channels (A and E) in an enhancement layer, i.e. the parameters r3 and r4, and the parameters corresponding to the front channels in a core layer, represented by parameters r1 and r2.
In
Another important aspect of the present invention is the usage of decorrelators in a multi-channel configuration. The concept of using a decorrelator was elaborated on for the one to two channel case in the PCT/SE02/01372 document. However when extending this theory to more than two channels several problems arise that the present invention solves.
Elementary mathematics show that in order to achieve M mutually decorrelated signals from N signals, M−N decorrelators are required, where all the different decorrelators are functions that create mutually orthogonal output signals from a common input signal. A decorrelator is typically an allpass or near allpass filter that given an input x(t) produces an output y(t) with E[|y|2]=E[|x|2] and almost vanishing cross-correlation E[yx*]. Further perceptual criteria come in to the design of a good decorrelator, some examples of design methods can be to also minimize the comb-filter character when adding the original signal to the decorrelated signal and to minimize the effect of a sometimes too long impulse response at transient signals. Some prior art decorrelators utilizes an artificial reverberator to decorrelate. Prior art also includes fractional delays by e.g. modifying the phase of the complex subband samples, to achieve higher echo density and hence more time diffusion.
The present invention suggests methods of modifying a reverberation based decorrelator in order to achieve multiple decorrelators creating mutually decorrelated output signals from a common input signal. Two decorrelators are mutually decorrelated if their outputs y1(t) and y2(t) have vanishing or almost vanishing cross-correlation given the same input. Assuming the input is stationary white noise it follows that the impulse responses h1 and h2 must be orthogonal in the sense that E[h1h2*] is vanishing or almost vanishing. Sets of pair wise mutually decorrelated decorrelators can be constructed in several ways. An efficient way of doing such modifications is to alter the phase rotation factor q that is part of the fractional delay.
The present invention stipulates that the phase rotation factors can be part of the delay lines in the all-pass filters or just an overall fractional delay. In the latter case this method is not limited to all-pass or reverberation like filters, but can also be applied to e.g. simple delays including a fractional delay part. An all-pass filter link in the decorrelator can be described in the Z-domain as:
where q is the complex valued phase rotation factor (|q|=1), m is the delay line length in samples and a is the filter coefficient. For stability reasons, the magnitude of the filter coefficient has to be limited to |a|<1. However, by using the alternative filter coefficient a′=−a, a new reverberator is defined having the same reverberation decay properties but with an output significantly uncorrelated with the output from the non-modified reverberator. Furthermore, a modification of the phase rotation factor q, can be done by e.g. adding a constant phase offset, q′=qejC. The constant C, can be used as a constant phase offset or could be scaled in a way that it would correspond to a constant time offset for all frequency bands it is applied on. The phase offset constant C, can also be a random value that is different for all frequency bands.
According to the present invention, the generation of n channels from m channels is performed by applying an upmix matrix H of size n×(m+p) to a column vector of size (m+p)×1 of signals
wherein m are the m downmixed and coded signals, and the p signals in s are both mutually decorrelated and decorrelated from all signals in m. These decorrelated signals are produced from the signals in m by decorrelators. The n reconstructed signals a′, b′, . . . are then contained in the column vector
x′=Hy
The above is illustrated by
Let R=E[xx*] be the correlation matrix of the original signal vector let R′=E[x′x′*] be the correlation matrix of the reconstructed signal. Here and in the following, for a matrix or a vector X with complex entries, X* denotes the adjoint matrix, the complex conjugate transpose of X.
The diagonal of R contains the energy values A, B, C, . . . and can be decoded up to a total energy level from the energy quotas defined above. Since R*=R, there are only n(n−1)/2 different off diagonal cross-correlation values containing information that is to be reconstructed fully or partly by adjusting the upmix matrix H. A reconstruction of the full correlation structure corresponds to the case R′=R. Reconstruction of correct energy levels only correspond to the case where Wand Rare equal on their diagonals.
In the case of n channels from m=1 channel, a reconstruction of the full correlation structure is achieved by using p=n−1 mutually decorrelated decorrelators an upmix matrix H which satisfies the condition
where M is the energy of the single transmitted signal. Since R is positive semidefinite it is well known that such a solution exists. Moreover, n(n−1)/2 degrees of freedom are left over for the design of H, which are used in the present invention to obtain further desirable properties of the upmix matrix. A central design criterion is that the dependence of H on the transmitted correlation data shall be smooth.
One convenient way of parametrizing the upmix matrix is H=UDV where U and V are orthogonal matrices and D is a diagonal matrix. The squares of the absolute values of D can be chosen equal to the eigenvalues of R/M. Omitting V and sorting the eigenvalues so that the largest value is applied to the first coordinate will minimize the overall energy of decorrelated signals in the output. The orthogonal matrix U is in the real case parameterized by n(n−1)/2 rotation angles. Transmitting correlation data in the form of those angles and the n diagonal values of D would immediately give the desired smooth dependence of H. However since energy data has to be transformed into eigenvalues, scalability is sacrificed by this approach.
A second method taught by the present invention, consists of separating the energy part from the correlation part in R by defining a normalized correlation matrix R0 by R=GR0G where G is a diagonal matrix with the diagonal values equal to the square roots of the diagonal entries of R, that is, √{square root over (A)}, √{square root over (B)} . . . , and R0 has ones on the diagonal. Let H0 be is an orthogonal upmix matrix defining the preferred normalized upmix in the case of totally uncorrelated signals of equal energy. Examples of such preferred upmix matrices are
The upmix is then defined by H=GSH0/√{square root over (M)}, where the matrix S solves SS*=R0. The dependence of this solution on the normalized cross-correlation values in R0 is chosen to be continuous and such that S is equal to the identity matrix I in the case R0=I.
Dividing the n channels into groups of fewer channels is a convenient way to reconstruct partial cross-correlation structure. According to the present invention, a particular advantageous grouping for the case of 5.1 channels from 1 channel is {a,e},{c},{b,d},{f}, where no decorrelation is applied for the groups {c},{f}, and the groups {a,e},{b,d} are produced by upmix of the same downmixed/decorrelated pair. For these two subsystems, the preferred normalized upmixes in the totally uncorrelated case are to be chosen as
respectively. Thus only two of the totality of 15 cross-correlations will be transmitted and reconstructed, namely those between channels {a,e} and {b,d}. In the terminology used above, this is an example of a design for the case n=6, m=1, and p=1. The upmix matrix H is of size 6×2 with zeros at the two entries in the second column at rows 3 and 6 corresponding to outputs c′ and f′.
A third approach taught by the present invention for incorporating decorrelated signals is the simpler point of view that each output channel has a different decorrelator giving rise to decorrelated signals sa, sb . . . The reconstructed signals are then formed as
a′=√{square root over (A/M)}(m cos φa+sa sin φa),
b′=√{square root over (B/M)}(m cos φb+sb sin φb),
etc. . .
The parameters φa, φb, . . . control the amount of decorrelated signal present in output channels a′, b′, . . . The correlation data is transmitted in form of these angles. It is easy to compute that the resulting normalized cross-correlation between, for instance, channel a′ and b′ is equal to the product cos φa cos φb. As the number of pairwise cross-correlations is n(n−1)/2 and there are n decorrelators it will not be possible in general with this approach to match a given correlation structure if n>3, but the advantages are a very simple and stable decoding method, and the direct control on the produced amount of decorrelated signal present in each output channel. This enables for the mixing of decorrelated signals to be based on perceptual criteria incorporating for instance energy level differences of pairs of channels.
For the case of n channels from m>1 channels, the correlation matrix Ry=E[yy*] can no longer be assumed diagonal, and this has to be taken into account in the matching of R′=HRyH* to the target R. A simplification occurs, since Ry has the block matrix structure
where Rm=E[mm*] and Rs=E[ss*]. Furthermore, assuming mutually decorrelated decorrelators, the matrix Rs is diagonal. Note that this also affects the upmix design with respect to the reconstruction of correct energies. The solution is to compute in the decoder, or to transmit from the encoder, information about the correlation structure Rm of the downmixed signals.
For the case of 5.1 channels from 2 channels a preferred method for upmix is
where s1 is obtained from decorrelation of m1=ld and s2 is obtained from decorrelation of m2=rd.
Here the groups {a,b} and {d,e} are treated as separate 1→2 channels systems taking into account the pairwise cross-correlations. For channels c and f, the weights are to be adjusted such that
E[|h31m1+h32m2|2]=C,
E[|h61m1+h62m2|2]=F.
The present invention can be implemented in both hardware chips and DSPs, for various kinds of systems, for storage or transmission of signals, analogue or digital, using arbitrary codecs.
In
Although the present invention has mainly been described with reference to the generation and usage of balance parameters, it is to be emphasized here that preferably the same grouping of channel pairs for deriving balance parameters is also used for calculating inter-channel coherence parameters or “width” parameters between these two channel pairs. Additionally, inter-channel time differences or a kind of “phase cues” can also be derived using the same channel pairs as used for the balance parameter calculation. On the receiver-side, these parameters can be used in addition or as an alternative to the balance parameters to generate a multi-channel reconstruction. Alternatively, the inter-channel coherence parameters or even the inter-channel time differences can also be used in addition to other inter-channel level differences determined by other reference channels. In view of the scalability feature of the present invention as discussed in connection with
Depending on certain implementation requirements of the inventive methods, the inventive methods can be implemented in hardware or in software. The implementation can be performed using a digital storage medium, in particular a disk or a CD having electronically readable control signals stored thereon, which cooperate with a programmable computer system such that the inventive methods are performed. Generally, the present invention is, therefore, a computer program product with a program code stored on a machine readable carrier, the program code being operative for performing the inventive methods when the computer program product runs on a computer. In other words, the inventive methods are, therefore, a computer program having a program code for performing at least one of the inventive methods when the computer program runs on a computer.
While this invention has been described in terms of several preferred embodiments, there are alterations, permutations, and equivalents, which fall within the scope of this invention. It should also be noted that there are many alternative ways of implementing the methods and compositions of the present invention. It is therefore intended that the following appended claims be interpreted as including all such alterations, permutations, and equivalents as fall within the true spirit and scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
0400998 | Apr 2004 | SE | national |
This application is a divisional U.S. Ser. No. 12/872,507 filed Aug. 31, 2010, which is a divisional of U.S. Ser. No. 11/517,900 filed Sep. 8, 2006 (now U.S. Pat. No. 8,223,976) which is a continuation of International Application No. PCT/EP2005/03848, filed Apr. 12, 2005, which claims Swedish Patent Application No. 0400998-1 filed Apr. 16, 2004.
Number | Name | Date | Kind |
---|---|---|---|
5291557 | Davis et al. | Mar 1994 | A |
5583962 | Davis et al. | Dec 1996 | A |
5859826 | Ueno et al. | Jan 1999 | A |
7292901 | Baumgarte et al. | Nov 2007 | B2 |
7447629 | Breebaart | Nov 2008 | B2 |
7508947 | Smithers | Mar 2009 | B2 |
7805313 | Faller et al. | Sep 2010 | B2 |
7986789 | Pumhagen et al. | Jul 2011 | B2 |
8208641 | Oh et al. | Jun 2012 | B2 |
8223976 | Purnhagen et al. | Jul 2012 | B2 |
8687829 | Hilpert | Apr 2014 | B2 |
8693696 | Purnhagen | Apr 2014 | B2 |
20020067834 | Shirayanagi | Jun 2002 | A1 |
20050157883 | Herre et al. | Jul 2005 | A1 |
20050169486 | Irwan | Aug 2005 | A1 |
20050169846 | Kennington | Aug 2005 | A1 |
20050180579 | Baumgarte et al. | Aug 2005 | A1 |
20060233380 | Holzer | Oct 2006 | A1 |
20110075848 | Purnhagen et al. | Mar 2011 | A1 |
20120213376 | Hellmuth et al. | Aug 2012 | A1 |
Number | Date | Country |
---|---|---|
2005-505298 | Aug 1993 | JP |
05505298 | Aug 1993 | JP |
08-065169 | Aug 1996 | JP |
09-505193 | May 1997 | JP |
2002-244698 | Aug 1997 | JP |
2001-100792 | Aug 2001 | JP |
201100792 | Aug 2001 | JP |
2002-175097 | Jun 2002 | JP |
2005-523479 | Aug 2005 | JP |
2005523479 | Aug 2005 | JP |
2005-533426 | Nov 2005 | JP |
2005533426 | Nov 2005 | JP |
2008-065169 | Mar 2008 | JP |
2008065169 | Mar 2008 | JP |
569551 | Jan 2004 | TW |
200407843 | May 2014 | TW |
WO-9212607 | Jul 1992 | WO |
WO 03007656 | Jan 2003 | WO |
WO-03044775 | May 2003 | WO |
WO 03090208 | Oct 2003 | WO |
WO-2004008865 | Jan 2004 | WO |
WO 2005025241 | Mar 2005 | WO |
Entry |
---|
Baumgarte, et al., “Binaural Cue Coding—Part I: Psychoacoustic Fundamentals and Design Principles”, IEEE Transactions on Speech and Audio Processing, vol. 11, No. 6, Nov. 2003, pp. 509-519. |
Faller, et al., “Binaural Cue Coding—Part II: Schemes and Applications”, IEEE Transactions on Speech and Audio Processing, vol. 11, No. 6, Nov. 2003, pp. 520-531. |
Faller, et al., “Binaural Cue Coding Applied to Stereo and Multi-Channel Audio Compression”, AES 112th Convention, May 10-13, 2002, 5 pages. |
Herre, Jurgen et al., “Intensity Stereo Coding”, Preprints of Papers Presented at the Audio Engineering Society Convention, vol. 96, No. 3799, XP009025131, Feb. 26, 1994, 1-10. |
Johnston, et al., “Sum-difference Stereo Transform Coding”, IEEE Int'l Conference on Acoustics, Speech, and Signal Processing, Mar. 1992, 4 pages. |
Liu, et al., “A New Intensity Stereo Coding Scheme for MPEG1 Audio Encoder—Layers I and II”, IEEE Transactions on Consumer Electronics, vol. 42, No. 3, Aug. 1996, pp. 535-539. |
Number | Date | Country | |
---|---|---|---|
20140236604 A1 | Aug 2014 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12872507 | Aug 2010 | US |
Child | 14157117 | US | |
Parent | 11517900 | Sep 2006 | US |
Child | 12872507 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/EP2005/003848 | Apr 2005 | US |
Child | 11517900 | US |