Method and device for decoding signal
Abstract:
A method and device for decoding a signal, where the method includes: obtaining an average quantity of allocated bits per spectral coefficient of a sub-band of a current frame of the audio signal, wherein the sub-band includes a plurality of spectral coefficients; obtaining a noise filling gain for the sub-band when the average quantity of allocated bits per spectral coefficient is less than a classification threshold; reconstructing, according to the noise filling gain, at least some of the spectral coefficients to generate reconstructed spectral coefficients when the average quantity of allocated bits per spectral coefficient is less than a classification threshold; obtaining a frequency domain signal according to the reconstructed spectral coefficients; and generating a time domain signal based on the frequency domain signal. Therefore, a sub-band with unsaturated bit allocation in a frequency domain signal may be obtained by classification, thereby improving signal decoding quality.
Information query
Patent Agency Ranking
0/0