IP Library › Granted Patent US 9,105,263
Granted Patent B2
US 9,105,263 · App. 13/532,237 · Granted Aug 11, 2015

Audio signal coding and decoding method and device

Inventors: Fengyan Qi (Beijing, CN); Zexin Liu (Beijing, CN); Lei Miao (Beijing, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G10L19/002G10L19/0204G10L19/028
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,105,263
App. No.
13/532,237
Granted
Aug 11, 2015
Kind
B2
Abstract

Embodiments of the present invention provide an audio signal coding and decoding method and device. The coding method includes: dividing a frequency band of an audio signal into a plurality of sub-bands, and quantifying a sub-band normalization factor of each sub-band; determining signal bandwidth of bit allocation according to the quantized sub-band normalization factor, or according to the quantized sub-band normalization factor and bit rate information; allocating bits for a sub-band within the determined signal bandwidth; and coding a spectrum coefficient of the audio signal according to the bits allocated for each sub-band. According to embodiments of the present invention, during coding and decoding, signal bandwidth of bit allocation is determined according to the quantized sub-band normalization factor and bit rate information. In this manner, the determined signal bandwidth is effectively coded and decoded by centralizing the bits, and audio quality is improved.

Claims (53)

1. An audio signal coding device, comprising:

a quantifying quantizing unit, configured to divide a frequency band of the audio signal into a plurality of sub-bands, and quantify a sub-band normalization factor of each sub-band, wherein the sub-band normalization factor is envelop information of a spectrum of the sub-band;

a first determining unit, configured to determine the audio signal bandwidth of bit allocation according to the quantized sub-band normalization factor, or according to the quantized sub-band normalization factor and bit rate information;

a first allocating unit, configured to allocate bits for a sub-band within the audio signal bandwidth determined by the first determining unit; and

a coding unit, configured to code a spectrum coefficient of the audio signal within the audio signal bandwidth according to the bits allocated by the first allocating unit for the sub-band within the audio signal bandwidth and output the coded spectrum coefficient of the audio signal;

wherein at least one of the quantizing unit, the first determining unit, the first allocating unit, and the coding unit is an electronic hardware.

2. The device according to claim 1 , wherein the first determining unit is specifically configured to define the audio signal bandwidth of the bit allocation to a part of bandwidth of the audio signal.

3. The device according to claim 2 , wherein the first determining unit comprises:

a first ratio factor determining module, configured to determine a ratio factor according to the bit rate information, wherein the ratio factor is greater than 0 and smaller than or equal to 1; and

a first bandwidth determining module, configured to determine the part of the bandwidth of the audio signal according to the ratio factor and the quantized sub-band normalization factor.

4. The device according to claim 2 , wherein the first determining unit comprises:

a second ratio factor determining module, configured to obtain a harmonic class or a noise level of the audio signal according to the sub-band normalization factor, and determine a ratio factor according to the harmonic class and the noise level, wherein the ratio factor is greater than 0 and smaller than or equal to 1; and

a first bandwidth determining module, configured to determine the part of the bandwidth of the audio signal according to the ratio factor and the quantized sub-band normalization factor.

5. A computer-implemented method of encoding audio signal, comprising steps which are executed in a data processing apparatus, and the steps comprises:

dividing a frequency band of an audio signal into a plurality of sub-bands, and quantizing a sub-band normalization factor of each sub-band, wherein the sub-band normalization factor is envelop information of spectrum of the sub-band;

determining the audio signal bandwidth of bit allocation according to the quantized sub-band normalization factor, or according to the quantized sub-band normalization factor and bit rate information;

allocating bits for a sub-band within the determined audio signal bandwidth; and

coding a spectrum coefficient of the audio signal within the audio signal bandwidth according to the bits allocated for the sub-band within the audio signal bandwidth.

6. The method according to claim 5 , wherein the determining signal bandwidth of bit allocation comprises:

defining the audio signal bandwidth of the bit allocation as a part of bandwidth of the audio signal.

7. The method according to claim 6 , wherein the defining the audio signal bandwidth of the bit allocation as a part of bandwidth of the audio signal comprises:

determining a ratio factor according to the bit rate information, wherein the ratio factor is greater than 0 and smaller than or equal to 1; and

determining the part of the bandwidth of the audio signal according to the ratio factor and the quantized sub-band normalization factor.

8. The method according to claim 6 , wherein the defining the audio signal bandwidth of the bit allocation as a part of bandwidth of the audio signal comprises:

obtaining a harmonic class or a noise level of the audio signal according to the sub-band normalization factor;

determining a ratio factor according to the harmonic class or the noise level, wherein the ratio factor is greater than 0 and smaller than or equal to 1; and

determining the part of the bandwidth of the audio signal according to the ratio factor and the quantized sub-band normalization factor.

9. The method according to claim 7 , wherein the determining the part of the bandwidth of the audio signal according to the ratio factor and the quantized sub-band normalization factor comprises:

obtaining spectrum energy within each sub-band according to the quantized sub-band normalization factor; and

accumulating the spectrum energy within each sub-band from low frequency to high frequency until, the accumulated spectrum energy of the sub-bands including a current sub-band with the highest frequency among those sub-bands being counted in is greater than the product of a total spectrum energy of all sub-bands multiplied by the ratio factor, and using bandwidth ranging from the low frequency to the highest frequency of the current sub-band as the part of the bandwidth of the audio signal.

10. The method according to claim 5 , wherein before dividing a frequency band of an audio signal into a plurality of sub-bands, and quantizing a sub-band normalization factor of each sub-band, the method further comprises:

determining whether frames of the audio signal belong to a harmonic type or a non-harmonic type; and

if the frames of the audio signal belong to the harmonic type, continuing performing the method.

11. A non-transitory computer readable medium storing executable instructions for performing a method of encoding audio signal comprising:

dividing a frequency band of an audio signal into a plurality of sub-bands, and quantizing a sub-band normalization factor of each sub-band, wherein the sub-band normalization factor is envelop information of a spectrum of the sub-band;

determining the audio signal bandwidth of bit allocation according to the quantized sub-band normalization factor, or according to the quantized sub-band normalization factor and bit rate information;

allocating bits for a sub-band within the determined signal bandwidth; and

coding a spectrum coefficient of the audio signal within the audio signal bandwidth according to the bits allocated for the sub-band within the audio signal bandwidth.

12. The non-transitory computer readable medium according to claim 11 , wherein the determining signal bandwidth of bit allocation comprises:

defining the audio signal bandwidth of the bit allocation as a part of bandwidth of the audio signal.

13. The non-transitory computer readable medium according to claim 12 , wherein the defining the audio signal bandwidth of the bit allocation as a part of bandwidth of the audio signal comprises:

determining a ratio factor according to the bit rate information, wherein the ratio factor is greater than 0 and smaller than or equal to 1; and

determining the part of the bandwidth of the audio signal according to the ratio factor and the quantized sub-band normalization factor.

14. The non-transitory computer readable medium according to claim 12 , wherein the defining the audio signal bandwidth of the bit allocation as a part of bandwidth of the audio signal comprises:

obtaining a harmonic class or a noise level of the audio signal according to the sub-band normalization factor;

determining a ratio factor according to the harmonic class or the noise level, wherein the ratio factor is greater than 0 and smaller than or equal to 1; and

determining the part of the bandwidth of the audio signal according to the ratio factor and the quantized sub-band normalization factor.

15. The non-transitory computer readable medium according to claim 14 , wherein the determining the part of the bandwidth of the audio signal according to the ratio factor and the quantized sub-band normalization factor comprises:

obtaining spectrum energy within each sub-band according to the quantized sub-band normalization factor; and

accumulating the spectrum energy within each sub-band from low frequency to high frequency until, the accumulated spectrum energy of the sub-bands including a current sub-band with the highest frequency among those sub-bands being counted in is greater than the product of a total spectrum energy of all sub-bands multiplied by the ratio factor, and using bandwidth ranging from the low frequency to the highest frequency of the current sub-band as the part of the bandwidth of the audio signal.

16. The method according to claim 11 , wherein before dividing a frequency band of an audio signal into a plurality of sub-bands, and quantizing a sub-band normalization factor of each sub-band, the method further comprises:

determining whether frames of the audio signal belong to a harmonic type or a non-harmonic type; and

if the frames of the audio signal belong to the harmonic type, continuing performing the method.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 30, 2023
From: HUAWEI TECHNOLOGIES CO., LTD.
To: TOP QUALITY TELEPHONY, LLC
Reel/Frame 064757/0562 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 25, 2012
From: QI, FENGYAN; LIU, ZEXIN; MIAO, LEI
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 028437/0979 →
Priority Claims (1)
CN 2011 1 0196035 · Jul 13, 2011 · national
Continuity (2)
Continuation PCTCN2012072778 · Mar 22, 2012
Related Publication 20130018660A1 · Jan 17, 2013