Patent ID: 8204744

Claim:
A method for optimizing audio encoding of a source sequence, the encoding being dependent on quantization factors, the quantization factors including a global quantization step size and scale factors, the method comprising: defining a cost function of the encoding of the source sequence, the cost function being dependent on the quantization factors; initializing fixed values of the scale factors; and determining, using a processor, values of the quantization factors which minimize the cost function by iteratively performing: determining, for the fixed values of the scale factors, a value of the global quantization step size which minimizes the cost function, fixing the determined value of the global quantization step size and determining values of scale factors which minimize the cost function, and fixing the determined values of the scale factors, and determining whether the cost function is below a predetermined threshold, and if so ending the iteratively performing, wherein the scale factors are constrained within a bit length, and wherein the bit length is a first bit length for a first group of scale factor bands and the bit length is a second bit length for a second group of scale factor bands.