Dynamic bit allocation methods and devices for audio signal
First Claim
1. An encoding method for audio signal, comprising:
- obtaining, according to a time-frequency transformation, a frequency domain signal corresponding to the audio signal;
determining, according to a quantity of available bits and a first saturation threshold i, a quantity k subbands, wherein i is a positive number and k is 4 when the quantity of available bits greater than the first saturation threshold i, and k is 3 when the quantity of available bits smaller than or equal to the first saturation threshold i;
selecting, according to a quantized envelopes of all subbands of the frequency domain signal, k subbands from all the subbands of the frequency domain signal; and
performing a first-time encoding operation on spectral coefficients of the k subbands.
1 Assignment
0 Petitions
Accused Products
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.
19 Citations
18 Claims
-
1. An encoding method for audio signal, comprising:
-
obtaining, according to a time-frequency transformation, a frequency domain signal corresponding to the audio signal; determining, according to a quantity of available bits and a first saturation threshold i, a quantity k subbands, wherein i is a positive number and k is 4 when the quantity of available bits greater than the first saturation threshold i, and k is 3 when the quantity of available bits smaller than or equal to the first saturation threshold i; selecting, according to a quantized envelopes of all subbands of the frequency domain signal, k subbands from all the subbands of the frequency domain signal; and performing a first-time encoding operation on spectral coefficients of the k subbands. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A decoding method for audio signal, comprising:
-
determining, according to a quantity of available bits and a first saturation threshold i, a quantity k of subbands, wherein i is a positive number, and k is 4 when the quantity of available bits greater than the first saturation threshold i, and k is 3 when he quantity of available bits smaller than or equal to the first saturation threshold i; selecting, according to decoded envelopes of all subbands, k subbands from all the subbands, and performing a first-time decoding operation, to obtain quantized spectral coefficients of the k subbands; obtaining, according to the quantized spectral coefficients of the k subbands, a frequency domain signal corresponding to the audio signal. - View Dependent Claims (8, 9)
-
-
10. An encoding device for encoding audio signal, comprising:
-
a memory storing instructions; and a processor coupled to the memory to execute the instructions to; obtain, according to a time-frequency transformation, a frequency domain signal corresponding to the audio signal; determine, according to a quantity of available bits and a first saturation threshold i, a quantity k of subbands, wherein i is a positive number, and k is 4 when the quantity of available bits greater than the first saturation threshold i, and k is 3 when he quantity of available bits smaller than or equal to the first saturation threshold i; select, according to a quantized envelopes of all subbands of the frequency domain signal, k subbands from all the subbands of the frequency domain signal; and perform a first-time encoding operation on spectral coefficients of the k subbands. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A decoding device for decoding audio signal, comprising:
-
a memory storing instructions; and a processor coupled to the memory to execute the instructions to; determine, according to a quantity of available bits and a first saturation threshold i, a quantity k of subbands, wherein i is a positive number, and k is 4 when the quantity of available bits greater than the first saturation threshold i, and k is 3 when he quantity of available bits smaller than or equal to the first saturation threshold i; select, according to decoded envelopes of all subbands, k subbands from all the subbands; and perform a first-time decoding operation, to obtain quantized spectral coefficients of the k subbands; obtain, according to the quantized spectral coefficients of the k subbands, a frequency domain signal corresponding to the audio signal. - View Dependent Claims (17, 18)
-
Specification