Abstract:
Disclosed is an encoding method of an encoder. The encoder generates a first MDCT coefficient by converting an input signal, and generates an MDCT index by quantizing the first MDCT coefficient. The encoder generates a second MDCT coefficient by inversely quantizing the MDCT index, and calculates an MDCT error coefficient by a difference between the first MDCT coefficient and the second MDCT coefficient. Next, said encoder generates an error index by encoding the MDCT error coefficient, and generates a gain index corresponding to a gain of the first MDCT coefficient from the first MDCT coefficient and the second MDCT coefficient.
Abstract:
An encoding method of an encoder is provided. The encoder generates first MDCT coefficients by transforming an input signal, and generates MDCT indices by quantizing the first MDCT coefficients. The encoder generates second MDCT coefficients by dequantizing the MDCT indices, and calculates MDCT residual coefficients using differences between the first MDCT coefficients and the second MDCT coefficients. The encoder generates a residual index by encoding the MDCT residual coefficients, and generates gain indices corresponding to gains from the first MDCT coefficients and the second MDCT coefficients.
Abstract:
PURPOSE: A method and an apparatus for encoding and decoding an audio signal by using layered sinusoidal pulse coding are provided to improve the quality of a synthesized signal in consideration of sine wave pulse coding for a lower layer when encoding and decoding an audio signal in an upper layer. CONSTITUTION: A method for encoding an audio signal according comprises: receiving a converted audio signal; dividing the converted audio signal into a plurality of sub-bands(1004); performing a 1st sinusoidal pulse coding on the plurality of sub-bands; determining a block where a 2nd sinusoidal pulse coding is to be performed, out of the plurality sub-bands; and performing the 2nd sinusoidal pulse coding on the corresponding block(1008-1010), wherein a 1st sinusoidal pulse coding step is variably performed depending on the pulse coding information.