Patent ID: 8225160

Claim:
A decoding apparatus for decoding coded data obtained by encoding a scale value and a spectrum value of frequency domain audio signal data to output an audio signal, comprising: a frequency domain data obtaining unit configured to decode and inversely quantize the coded data to obtain the frequency domain audio signal data; a number-of-bits computing unit configured to compute from the coded data one of the number of scale bits composed of the number of bits corresponding to the scale value of the coded data and the number of spectrum bits composed of the number of bits corresponding to the spectrum value of the coded data; a quantization error estimating unit configured to estimate a quantization error of the frequency domain audio signal data based on one of the number of scale bits and the number of spectrum bits; a correcting unit configured to compute a correction amount based on the estimated quantization error and correct the frequency domain audio signal data obtained by the frequency domain data obtaining unit based on the computed correction amount; and a converting unit configured to convert the corrected frequency domain audio signal data corrected by the correcting unit into the audio signal.