Patent ID: 8311843

Claim:
A method of encoding a time-domain audio signal, the method comprising: at an electronic device, receiving the time-domain audio signal; transforming the time-domain audio signal into a frequency-domain signal comprising a coefficient for each of a plurality of frequencies; grouping the coefficients into frequency bands, wherein each of the frequency bands includes at least one of the coefficients; for each frequency band, determining an energy of the frequency band; for each frequency band, determining a scale factor based on the energy of the frequency band, wherein determining the scale factor includes calculating a base-ten logarithm of the energy of the frequency band, adding a constant to the base-ten logarithm of the energy of the frequency band to yield a first term, and multiplying the first term by a multiplier to yield the scale factor; for each frequency band, quantizing the coefficients of the frequency band based on the associated scale factor; and generating an encoded audio signal based on the quantized coefficients and the scale factors.