Patent ID: 10152981

Abstract:
Embodiments of the present disclosure provide signal encoding and decoding methods and devices. The method includes: determining, a quantity k of subbands to be encoded, where i is a positive number, and k is a positive integer; selecting, according to quantized envelopes of all subbands, k subbands from all the subbands, or selecting k subbands from all subbands according to a psychoacoustic model; and performing a first-time encoding operation on spectral coefficients of the k subbands. In the embodiments of the present disclosure, the quantity k of subbands to be encoded is determined according to the quantity of available bits and the first saturation threshold, and encoding is performed on the k subbands that are selected from all the subbands, instead of on an entire frequency band, which can reduce spectrum holes of a signal obtained through decoding, and therefore, can improve auditory quality of an output signal.