IP Library Granted Patent US 10,460,741
Granted Patent B2
US 10,460,741 · App. 15/699,694 · Granted Oct 29, 2019

Audio coding method and apparatus

Inventors: Zexin Liu (Beijing, CN); Bin Wang (Beijing, CN); Lei Miao (Beijing, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
G10L19/12G10L19/025G10L19/06
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 10,460,741
App. No.
15/699,694
Granted
Oct 29, 2019
Kind
B2
Abstract

An audio coding method and apparatus, where the method includes, for each audio frame in audio, when a signal characteristic of the audio frame and a signal characteristic of a previous audio frame meet a preset modification condition, determining a first modification weight according to linear spectral frequency (LSF) differences of the audio frame and the LSF differences of the previous audio frame, modifying a linear predictive parameter of the audio frame according to the determined first modification weight, and coding the audio frame according to a modified linear predictive parameter of the audio frame. According to the present disclosure, audio having a wider bandwidth can be coded while a bit rate remains unchanged or a bit rate slightly changes and a spectrum between audio frames is steadier.

Claims (186)

1. An audio coding method comprising:

obtaining an audio signal;

performing linear prediction analysis on the audio signal to obtain a linear predictive parameter of a current frame of the audio signal;

determining a first modification weight according to linear spectral frequency (LSF) differences of the current frame of the audio signal and LSF differences of a previous frame of the current frame of the audio signal when a signal characteristic of the current frame meets a preset modification condition;

modifying the linear predictive parameter of the current frame according to the determined first modification weight; and

coding the current frame according to the modified linear predictive parameter of the current frame.

2. The method of claim 1 , wherein determining the first modification weight according to the LSF differences of the current frame of the audio signal and the LSF differences of the previous frame of the current frame of the audio signal is determined according to the formula:

w

[

i

]

=

{

lsf_new

_diff

[

i

]

/

lsf_old

_diff

[

i

]

,

lsf_new

_diff

[

i

]

<

lsf_old

_diff

[

i

]

lsf_old

_diff

[

i

]

/

lsf_new

_diff

[

i

]

,

lsf_new

_diff

[

i

]

lsf_old

_diff

[

i

]

,

wherein w[i] is the first modification weight, wherein lsf_new_diff[i] is the LSF differences of the current frame, wherein lsf_old_diff[i] is the LSF differences of the previous frame, and wherein i is an integer.

3. The method of claim 2 , wherein the value of i ranges from 0 to 9.

4. The method of claim 1 , wherein modifying the linear predictive parameter of the current frame according to the determined first modification weight comprises modifying the linear predictive parameter of the current frame according to the formula:

L [ i ]=(1− w [ i ])* L _old[ i ]+ w [ i ]* L _new[ i ],

wherein L[i] is the modified linear predictive parameter of the current frame,

wherein w[i] is the first modification weight,

wherein L_new[i] is the linear predictive parameter of the current frame,

wherein L_old[i] is a linear predictive parameter of a previous frame of the current frame, and

wherein i is an integer.

5. The method of claim 4 , wherein the value of i ranges from 0 to 9.

6. The method of claim 1 , wherein the signal characteristic of the current frame meets the preset modification condition when the current frame is not a transition frame.

7. The method of claim 6 , wherein a frame is a transition frame when a tilt of a previous frame of the current frame is greater than a tilt threshold value and a coder type of the frame is transient.

8. The method of claim 6 , wherein a frame is a transition frame when a tilt of the previous frame of the current frame is greater than a first tilt threshold value and a tilt of the current frame is less than a second tilt threshold value.

9. The method of claim 6 , wherein a frame is a transition frame when a tilt of a previous frame of the current frame is less than a first tilt threshold value and a coder type of the previous frame is one of four types of VOICED, GENERIC, TRANSITION or AUDIO, and wherein a tilt of the current frame is greater than a second tilt threshold value.

10. The method of claim 1 , wherein the first modification weight is determined according to a ratio between one of the LSF differences of the current frame of the audio signal and one of the LSF differences of the previous frame of the current frame of the audio signal.

11. An audio coding apparatus comprising:

a memory storing instructions; and

a processor coupled to the memory and configured to execute the instructions to:

obtain an audio signal;

perform linear prediction analysis on the audio signal to obtain a linear predictive parameter of a current frame of the audio signal;

determine a first modification weight according to linear spectral frequency (LSF) differences of the current frame of the audio signal and the LSF differences of a previous frame of the current frame of the audio signal when a signal characteristic of the current frame meets a preset modification condition;

modify the linear predictive parameter of the current frame according to the determined first modification weight; and

code the current frame according to the modified linear predictive parameter of the current frame.

12. The apparatus of claim 11 , wherein determining the first modification weight according to the LSF differences of the current frame of the audio signal and the LSF differences of the previous frame of the current frame of the audio signal is determined according to the formula:

w

[

i

]

=

{

lsf_new

_diff

[

i

]

/

lsf_old

_diff

[

i

]

,

lsf_new

_diff

[

i

]

<

lsf_old

_diff

[

i

]

lsf_old

_diff

[

i

]

/

lsf_new

_diff

[

i

]

,

lsf_new

_diff

[

i

]

lsf_old

_diff

[

i

]

,

wherein w[i] is the first modification weight, wherein lsf_new_diff[i] is the LSF differences of the current frame, wherein lsf_old_diff[i] is the LSF differences of the previous frame, and wherein i is an integer.

13. The apparatus of claim 12 , wherein the value of i ranges from 0 to 9.

14. The apparatus of claim 11 , wherein modifying the linear predictive parameter of the current frame according to the determined first modification weight comprises modifying the linear predictive parameter of the current frame according to the formula:

L [ i ]=(1− w [ i ])* L _old[ i ]+ w [ i ]* L _new[ i ]

wherein L[i] is the modified linear predictive parameter of the current frame,

wherein w[i] is the first modification weight,

wherein L_new[i] is the linear predictive parameter of the current frame,

wherein L_old[i] is a linear predictive parameter of a previous frame of the current frame, and

wherein i is an integer.

15. The apparatus of claim 14 , wherein a value of i ranges from 0 to 9.

16. The apparatus of claim 11 , wherein the signal characteristic of the current frame meets the preset modification condition when the current frame is not a transition frame.

17. The apparatus of claim 16 , wherein the current frame is a transition frame when a tilt of a previous frame of the current frame is greater than a tilt threshold value and a coder type of the current frame is transient.

18. The apparatus of claim 16 , wherein the current frame is a transition frame when a tilt of the previous frame of the current frame is greater than a first tilt threshold value and a tilt of the current frame is less than a second tilt threshold value.

19. The apparatus of claim 16 , wherein the current frame is a transition frame when a tilt of a previous frame of the current frame is less smaller than a first tilt threshold value and a coder type of the previous frame is one of four types of VOICED, GENERIC, TRANSITION or AUDIO, and wherein a tilt of the current frame is greater than a second tilt threshold value.

20. The apparatus of claim 11 , wherein the first modification weight is determined according to a ratio between one of the LSF differences of the current frame of the audio signal and one of the LSF differences of the previous frame of the current frame of the audio signal.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 30, 2023
From: HUAWEI TECHNOLOGIES CO., LTD.
To: TOP QUALITY TELEPHONY, LLC
Reel/Frame 064757/0541 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 8, 2017
From: LIU, ZEXIN; WANG, BIN; MIAO, LEI
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 043536/0742 →
Priority Claims (2)
CN 2014 1 0299590 · Jun 27, 2014 · national
CN 2014 1 0426046 · Aug 26, 2014 · national
Continuity (3)
Continuation 15362443 · Nov 28, 2016
Continuation PCTCN2015074850 · Mar 23, 2015
Related Publication 20170372716A1 · Dec 28, 2017