Signal processing method and device
First Claim
Patent Images
1. An audio signal processing method, comprising:
- obtaining, by an audio signal encoder, spectral coefficients of a current frame of an audio signal, wherein each of N sub-bands of the current frame comprises at least one of the spectral coefficients, and N is a positive integer greater than 1;
obtaining, by the audio signal encoder, a total energy of M successive sub-bands of the N sub-bands, a total energy of K successive sub-bands of the N sub-bands, and an energy of a first sub-band, wherein the M sub-bands and the K sub-bands are separate and distinct, wherein M and K are positive integers, wherein N=M+K, and wherein the energy of the first sub-band is the largest among energies of the M sub-bands;
determining, by the audio signal encoder, whether to modify original envelope values of the M sub-bands based on the total energy of the M sub-bands, the total energy of the K sub-bands, and the energy of the first sub-band;
modifying, by the audio signal encoder, the original envelope values of the M sub-bands individually to obtain modified envelope values of the M sub-bands in response to determining that the original envelope values of the M sub-bands should be modified, wherein the modified envelope values of the M sub-bands is a determining factor for allocating encoding bits to the N sub-bands, and wherein at least one sub-band of the N sub-bands has at least one encoding bit allocated;
quantizing, by the audio signal encoder, spectral coefficients of each sub-band that has at least one encoding bit allocated using the at least one encoding bit; and
writing, by the audio signal encoder, the spectral coefficients of each sub-band that has the at least one encoding bit into a bitstream in response to quantizing the spectral coefficients of each sub-band that has at least one encoding bit.
1 Assignment
0 Petitions
Accused Products
Abstract
A signal processing method and device includes obtaining spectral coefficients of a current frame of an audio signal, in which N sub-bands of the current frame comprises at least one of the spectral coefficients. A total energy of M successive sub-bands of the N sub-bands, a total energy of K successive sub-bands of the N sub-bands, and an energy of a first sub-band are obtained to determine whether to modify original envelope values of the M sub-bands. When the original envelope values of the M sub-bands are modified, encoding bits are allocated to each of the N sub-bands according to the modified envelope values of the M sub-bands.
21 Citations
24 Claims
-
1. An audio signal processing method, comprising:
-
obtaining, by an audio signal encoder, spectral coefficients of a current frame of an audio signal, wherein each of N sub-bands of the current frame comprises at least one of the spectral coefficients, and N is a positive integer greater than 1; obtaining, by the audio signal encoder, a total energy of M successive sub-bands of the N sub-bands, a total energy of K successive sub-bands of the N sub-bands, and an energy of a first sub-band, wherein the M sub-bands and the K sub-bands are separate and distinct, wherein M and K are positive integers, wherein N=M+K, and wherein the energy of the first sub-band is the largest among energies of the M sub-bands; determining, by the audio signal encoder, whether to modify original envelope values of the M sub-bands based on the total energy of the M sub-bands, the total energy of the K sub-bands, and the energy of the first sub-band; modifying, by the audio signal encoder, the original envelope values of the M sub-bands individually to obtain modified envelope values of the M sub-bands in response to determining that the original envelope values of the M sub-bands should be modified, wherein the modified envelope values of the M sub-bands is a determining factor for allocating encoding bits to the N sub-bands, and wherein at least one sub-band of the N sub-bands has at least one encoding bit allocated; quantizing, by the audio signal encoder, spectral coefficients of each sub-band that has at least one encoding bit allocated using the at least one encoding bit; and writing, by the audio signal encoder, the spectral coefficients of each sub-band that has the at least one encoding bit into a bitstream in response to quantizing the spectral coefficients of each sub-band that has at least one encoding bit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. An audio signal processing device, comprising:
-
a memory configured to store processor-executable instructions; and a processor operatively coupled to the memory and configured to execute the processor-executable instructions to; obtain spectral coefficients of a current frame of an audio signal, wherein each of N sub-bands of the current frame comprises at least one of the spectral coefficients, and N is a positive integer greater than 1; obtain a total energy of M successive sub-bands of the N sub-bands, a total energy of K successive sub-bands of the N sub-bands, and an energy of a first sub-band, wherein the M sub-bands and the K sub-bands are separate and distinct, wherein M and K are positive integers, wherein N=M+K, and wherein the energy of the first sub-band is the largest among energies of the M sub-bands; determine whether to modify original envelope values of the M sub-bands based on the total energy of the M sub-bands, the total energy of the K sub-bands, and the energy of the first sub-band; modify the original envelope values of the M sub-bands individually to obtain modified envelope values of the M sub-bands in response to determining that the original envelope values of the M sub-bands should be modified, wherein the modified envelope values of the M sub-bands is a determining factor for allocating encoding bits to the N sub-bands, and wherein at least one sub-band of the N sub-bands has at least one encoding bit allocated; quantize spectral coefficients of each sub-band that has at least one encoding bit allocated using the at least one encoding bit; and write the spectral coefficients each sub-band that has the at least one encoding bit into a bitstream in response to quantizing the spectral coefficients of each sub-band that has at least one encoding bit. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A non-transitory computer readable storage medium, embodying computer program code, which, when executed by a computer processor, causes the computer processor to be configured to:
-
obtain spectral coefficients of a current frame of an audio signal, wherein each of N sub-bands of the current frame comprises at least one of the spectral coefficients, and N is a positive integer greater than 1; obtain a total energy of M successive sub-bands of the N sub-bands, a total energy of K successive sub-bands of the N sub-bands, and an energy of a first sub-band, wherein the M sub-bands and the K sub-bands are separate and distinct, wherein M and K are positive integers, wherein N=M+K, and wherein the energy of the first sub-band is the largest among energies of the M sub-bands; determine whether to modify original envelope values of the M sub-bands based on the total energy of the M sub-bands, the total energy of the K sub-bands, and the energy of the first sub-band; modify the original envelope values of the M sub-bands individually to obtain modified envelope values of the M sub-bands in response to determining that the original envelope values of the M sub-bands should be modified, wherein the modified envelope values of the M sub-bands is a determining factor for allocating encoding bits to the N sub-bands, and wherein at least one sub-band of the N sub-bands has at least one encoding bit allocated; quantizespectral coefficients of each sub-band that has at least one encoding bit allocated using the at least one encoding bit; and write the spectral coefficients of each sub-band that has the at least one encoding bit into a bitstream in response to quantizing the spectral coefficients of each sub-band that has at least one encoding bit. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
-
Specification