Method and a device for coding audio signals and a method and a device for decoding a bit stream
First Claim
1. A method for coding discrete first time signals which have been sampled with a first sampling rate, comprising the following steps:
- generating second time signals, whose bandwidth corresponds to a second sampling rate, from the first time signals, the second sampling rate being equal to or less than the first sampling rate;
coding the second time signals according to a first coding algorithm to obtain coded second signals;
decoding the coded second signals according to the first coding algorithm to obtain coded/decoded second time signals whose bandwidth corresponds to the second sampling frequency;
transforming the first time signals into the frequency domain to obtain first spectral values;
calculating prediction coefficients from the first spectral values;
generating second spectral values from coded/decoded second time signals, the second spectral values being a representation of the coded/decoded second time signals in the frequency domain;
evaluating the first spectral values with the second spectral values to obtain evaluated spectral values whose number corresponds to the number of the first spectral values;
performing a prediction of the evaluated spectral values over the frequency by means of the calculated prediction coefficients to obtain evaluated residual spectral values; and
coding the evaluated residual spectral values according to a second coding algorithm to obtain coded evaluated residual spectral values.
1 Assignment
0 Petitions
Accused Products
Abstract
The present invention permits a combination of a scalable audio coder with the TNS technique. In a method for coding time signals sampled in a first sampling rate, second time signals are first generated whose sampling rate is smaller than the first sampling rate. The second time signals are then coded according to a first coding algorithm and written into a bit stream. The coded second time signals are, however, decoded again, and, like the first time signals, transformed into the frequency domain. From a spectral representation of the first time signals, TNS prediction coefficients are calculated. The transformed output signal of the coder/decoder with the first coding algorithm, like the spectral representation of the first time signal, undergoes a prediction over the frequency to obtain residual spectral values for both signals, though only the prediction coefficients calculated on the basis of the first time signals are used. These two signals are evaluated against each other. The evaluated residual spectral values are then coded by means of a second coding algorithm to obtain coded evaluated residual spectral values, which, together with the side information containing the calculated prediction coefficients, are written into the bit stream.
129 Citations
8 Claims
-
1. A method for coding discrete first time signals which have been sampled with a first sampling rate, comprising the following steps:
-
generating second time signals, whose bandwidth corresponds to a second sampling rate, from the first time signals, the second sampling rate being equal to or less than the first sampling rate;
coding the second time signals according to a first coding algorithm to obtain coded second signals;
decoding the coded second signals according to the first coding algorithm to obtain coded/decoded second time signals whose bandwidth corresponds to the second sampling frequency;
transforming the first time signals into the frequency domain to obtain first spectral values;
calculating prediction coefficients from the first spectral values;
generating second spectral values from coded/decoded second time signals, the second spectral values being a representation of the coded/decoded second time signals in the frequency domain;
evaluating the first spectral values with the second spectral values to obtain evaluated spectral values whose number corresponds to the number of the first spectral values;
performing a prediction of the evaluated spectral values over the frequency by means of the calculated prediction coefficients to obtain evaluated residual spectral values; and
coding the evaluated residual spectral values according to a second coding algorithm to obtain coded evaluated residual spectral values.
-
-
2. A method for coding discrete first time signals which have been sampled with a first sampling rate, comprising the following steps:
-
generating second time signals, whose bandwidth corresponds to a second sampling rate, from the first time signals, the second sampling rate being equal to or less than the first sampling rate;
coding the second time signals according to a first coding algorithm to obtain coded second signals;
decoding the coded second signals according to the first coding algorithm to obtain coded/decoded second time signals whose bandwidth corresponds to the second sampling frequency;
transforming the first time signals into the frequency domain to obtain first spectral values;
calculating prediction coefficients from the first spectral values;
generating second spectral values from coded/decoded second time signals, the second spectral values being a representation of the coded/decoded second time signals in the frequency domain;
performing a prediction of the first spectral values and the second spectral values over the frequency to obtain first residual spectral values and second residual spectral values, using the calculated prediction coefficients;
evaluating the first residual spectral values with the second residual spectral values to obtain evaluated residual spectral values whose number corresponds to the number of the first spectral values; and
coding the evaluated residual spectral values according to a second coding algorithm to obtain coded evaluated residual spectral values.
-
-
3. A method for decoding a bit stream which represents an audio signal, where the bit stream has signals coded according to a first coding algorithm, signals coded according to a second coding algorithm, and side information, where the signals coded according to the second coding algorithm have coded residual spectral values, where the residual spectral values are generated from evaluated spectral values by prediction over the frequency, where prediction coefficients of the prediction are present in the side information, comprising the following steps:
-
decoding the coded signals which have been coded according to the first coding algorithm to obtain coded/decoded second time signals by means of the first coding algorithm;
decoding the coded residual spectral values by means of the second coding algorithm to obtain the residual spectral values;
transforming the coded/decoded second time signals into the frequency domain to obtain the second spectral values;
performing an inverse prediction with the evaluated residual spectral values using the prediction coefficients which are present in the side information to obtain the evaluated spectral values;
inversely evaluating the evaluated spectral values and the second spectral values to obtain the first spectral values; and
transforming the first spectral values back into the time domain to obtain first time signals.
-
-
4. A method for decoding a bit stream which represents an audio signal, where the bit stream has signals coded according to a first coding algorithm, signals coded according to a second coding algorithm, and side information, where the signals coded according to the second coding algorithm have coded residual spectral values, where the residual spectral values are generated from evaluated spectral values by prediction over the frequency, where prediction coefficients of the prediction are present in the side information, comprising the following steps:
-
decoding the coded signals which have been coded according to the first coding algorithm to obtain coded/decoded second time signals by means of the first coding algorithm;
decoding the coded residual spectral values by means of the second coding algorithm to obtain the residual spectral values;
transforming the coded/decoded second time signals into the frequency domain to obtain the second spectral values;
performing a prediction with the second spectral values using the prediction coefficients which are present in the side information to obtain second residual spectral values;
inversely evaluating the evaluated residual spectral values and the second residual spectral values to obtain the residual spectral values;
performing an inverse prediction with the residual spectral values using the prediction coefficients which are stored in the side information to obtain first spectral values; and
transforming the first spectral values back into the time domain to obtain first time signals.
-
-
5. An apparatus for coding discrete first time signals which have been sampled with a first sampling rate, comprising the following features:
-
a device for generating second time signals, whose bandwidth corresponds to a second sampling rate, from the first time signals, the second sampling rate being equal to or less than the first sampling rate;
a first coder for coding the second time signals according to a first coding algorithm to obtain coded second signals;
a decoder for decoding the coded second signals according to the first coding algorithm to obtain coded/decoded second time signals whose bandwidth corresponds to the second sampling frequency;
a transformer for transforming the first time signals into the frequency domain to obtain first spectral values;
a calculator for calculating prediction coefficients from the first spectral values;
a device for generating second spectral values from coded/decoded second time signals, the second spectral values being a representation of the coded/decoded second time signals in the frequency domain;
a device for evaluating the first spectral values with the second spectral values to obtain evaluated spectral values whose number corresponds to the number of the first spectral values;
a predictor for performing a prediction of the evaluated spectral values over the frequency by means of the calculated prediction coefficients to obtain evaluated residual spectral values; and
a second coder for coding the evaluated residual spectral values according to a second coding algorithm to obtain coded evaluated residual spectral values.
-
-
6. An apparatus for coding discrete first time signals which have been sampled with a first sampling rate, comprising the following features:
-
a device for generating second time signals, whose bandwidth corresponds to a second sampling rate, from the first time signals, the second sampling rate being equal to or less than the first sampling rate;
a first coder for coding the second time signals according to a first coding algorithm to obtain coded second signals;
a decoder for decoding the coded second signals according to the first coding algorithm to obtain coded/decoded second time signals whose bandwidth corresponds to the second sampling frequency;
a transformer for transforming the first time signals into the frequency domain to obtain first spectral values;
a calculator for calculating prediction coefficients from the first spectral values;
a device for generating second spectral values from coded/decoded second time signals, the second spectral values being a representation of the coded/decoded second time signals in the frequency domain;
a predictor for performing a prediction of the first spectral values and the second spectral values over the frequency to obtain first residual spectral values and second residual spectral values, using the calculated prediction coefficients;
a device for evaluating the first residual spectral values with the second residual spectral values to obtain evaluated residual spectral values whose number corresponds to the number of the first spectral values; and
a second coder for coding the evaluated residual spectral values according to a second coding algorithm to obtain coded evaluated residual spectral values.
-
-
7. An apparatus for decoding a bit stream which represents an audio signal, where the bit stream has signals coded according to a first coding algorithm, signals coded according to a second coding algorithm, and side information, where the signals coded according to the second coding algorithm have coded residual spectral values, where the residual spectral values are generated from evaluated spectral values by prediction over the frequency, where prediction coefficients of the prediction are present in the side information, comprising the following features:
-
a first decoder for decoding the coded signals which have been coded according to the first coding algorithm to obtain coded/decoded second time signals by means of the first coding algorithm;
a second decoder for decoding the coded residual spectral values by means of the second coding algorithm to obtain the residual spectral values;
a transformer for transforming the coded/decoded second time signals into the frequency domain to obtain the second spectral values;
an inverse predictor for performing an inverse prediction with the evaluated residual spectral values using the prediction coefficients which are present in the side information to obtain the evaluated spectral values;
a device for inversely evaluating the evaluated spectral values and the second spectral values to obtain the first spectral values; and
an inverse transformer for transforming the first spectral values back into the time domain to obtain first time signals.
-
-
8. An apparatus for decoding a bit stream which represents an audio signal, where the bit stream has signals coded according to a first coding algorithm, signals coded according to a second coding algorithm, and side information, where the signals coded according to the second coding algorithm have coded residual spectral values, where the residual spectral values are generated from evaluated spectral values by prediction over the frequency, where prediction coefficients of the prediction are present in the side information, comprising the following features:
-
a first decoder for decoding the coded signals which have been coded according to the first coding algorithm to obtain coded/decoded second time signals by means of the first coding algorithm;
a second decoder for decoding the coded residual spectral values by means of the second coding algorithm to obtain the residual spectral values;
a transformer for transforming the coded/decoded second time signals into the frequency domain to obtain the second spectral values;
a predictor for performing a prediction with the second spectral values using the prediction coefficients which are present in the side information to obtain second residual spectral values;
a device for inversely evaluating the evaluated residual spectral values and the second residual spectral values to obtain the residual spectral values;
an inverse predictor for performing an inverse prediction with the residual spectral values using the prediction coefficients which are stored in the side information to obtain first spectral values; and
an inverse transformer for transforming the first spectral values back into the time domain to obtain first time signals.
-
Specification