To improve quality and a compression rate by resetting a quantization width of a parameter of a frequency band based ON information related to the quantization error of the parameter of the frequency band from a quantization part and outputting it to the quantization part. SOLUTION: The quantization part 16 calculates the quantization encoding data from the parameters of respective frequencies calculated by a time-frequency conversion part 12 based ON precision of quantization bits in respective frequency components for quantization calculated by an auditory sense model calculation part 18. A minimum error selection part 17 selects one with less errors between error amounts of quantization of a frequency parameter pair affecting each other from the error amount of the quantization of the parameters of respective frequencies inputted from the quantization part 16 to output quantization error information to the quantization part 16. Then, the quantization part 16 sets again the quantization encoding data such as respective frequency components, the size of the parameter of a band, quantization precision, the quantization data and etc., based ON the selected quantization error information to output them to an encoding line generation part 19.
展开▼