Patent ID: 6577252
Filing Date: 2003-06-10
Classification: G10L

Abstract:
An audio signal encoding apparatus comprising:an FFT operation section for performing FFT operation processing of an input signal; a block type determination section for determining a processing block for use in MDCT processing by using an FFT frequency spectrum calculated by said FFT operation section; a sine wave discrimination section for discriminating whether or not said input signal is a sine wave, by using the FFT frequency spectrum calculated by said FFT operation section; an SMR operation section for calculating an SMR by using the FFT frequency spectrum calculated by said FFT operation section; a switching section for switching between use and nonuse of an output value from said SMR operation section based on the result of sine wave discrimination in said sine wave discrimination section; an MDCT processing section for calculating an MDCT frequency spectrum by performing frequency orthogonal transformation processing of said input signal based on the processing block type received from said block type determination section; an allowable error amount calculation section for calculating an allowable amount of error by using said SMR and said MDCT frequency spectrum; a bit amount/error amount control section for determining a scale factor by performing bit amount/error amount control based on an amount of error from said allowable error amount calculation section, a dequantized value from a quantization section and an amount of used bits from a Huffman encoding section; a normalization processing section for normalizing said MDCT frequency spectrum from said MDCT processing section based on the scale factor from said bit amount/error amount control section; said quantization section for quantizing and dequantizing said MDCT frequency spectrum normalized by said normalization processing section; said Huffman encoding section for performing Huffman encoding of said quantized MDCT frequency spectrum to output a Huffman code book number and a Huffman code and to calculate an amount of used bits; and a multiplexer section for multiplexing the processing block type from said block type determination section, the scale factor from said bit amount/error amount control section, the Huffman code book number and the Huffman code from said Huffman encoding section.