Method and apparatus for encoding and decoding noise signal
Provided is a method and apparatus for encoding/decoding an audio signal. Sections which are not used to output noise components near important spectral components and sub-bands which are not used to output noise components, are determined to be encoded or decoded, so that the efficiency of encoding and decoding an audio signal increases, and sound quality can be improved using less bits.
1. A noise filling apparatus comprising:
a processor configured:
to select a subband that noise filling is applied to, from among a plurality of subbands, based on bit allocation of spectrum coefficients;
to obtain a noise parameter of the selected subband;
to generate noise components, based on the noise parameter; and
to add the generated noise components into spectrum coefficients quantized to zero in the selected subband.
2. The apparatus of claim 1 , wherein the noise parameter is associated with energy of the selected subband.