| CPC G10L 19/0204 (2013.01) [G10L 19/002 (2013.01); G10L 19/02 (2013.01)] | 20 Claims |

|
1. An audio signal or a speech signal processing method, comprising: obtaining spectral coefficients of a current frame of an audio or a speech signal, wherein a first frequency band of M sub-bands in N sub-bands of the spectral coefficients is lower than a second frequency band of K sub-bands in the N sub-bands except the M sub-bands, wherein N is an integer greater than 1, wherein M and K are positive integers, and wherein a sum of M and K is N;
determining a ratio of a first total energy of the M sub-bands to a second total energy of the K sub-bands as an energy characteristic of the M sub-bands;
obtaining a modification operation on first quantized envelope values of the M sub-bands when the energy characteristic falls within a first range and a spectral characteristic of the M sub-bands falls within a second range, wherein the spectral characteristic indicates a degree of spectral fluctuation of the M sub-bands and is based on the first quantized envelope values;
performing modification on the first quantized envelope values according to a modification factor to acquire modified envelope values of the M sub-bands, wherein the modification factor is based on the first total energy of the M sub-bands and a third energy of a first sub-band that is a largest energy among the M sub-bands; and
performing a first bit allocation on the N sub-bands according to the modified envelope values and second quantized envelope values of the K sub-bands.
|