IP Library Granted Patent US 9,734,836
Granted Patent B2
US 9,734,836 · App. 15/197,364 · Granted Aug 15, 2017

Method and apparatus for decoding speech/audio bitstream

Inventors: Zexin Liu (Beijing, CN); Xingtao Zhang (Beijing, CN); Lei Miao (Beijing, CN)
Assignee: Huawei Technologies Co., Ltd.
G10L19/167G10L19/005G10L19/06G10L2019/0002G10L2025/932
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,734,836
App. No.
15/197,364
Granted
Aug 15, 2017
Kind
B2
Abstract

A method and an apparatus for decoding a speech/audio bitstream are disclosed, where the method for decoding a speech/audio bitstream includes determining whether a current frame is a normal decoding frame or a redundancy decoding frame, obtaining a decoded parameter of the current frame by means of parsing when the current frame is a normal decoding frame or a redundancy decoding frame, performing post-processing on the decoded parameter of the current frame to obtain a post-processed decoded parameter of the current frame, and using the post-processed decoded parameter of the current frame to reconstruct a speech/audio signal.

Claims (37)

1. A method for decoding a speech/audio bitstream, comprising:

performing decoding operations on a bit stream, wherein a decoded parameter of a first frame and a decoded parameter of a second frame are acquired via the decoding operations, and wherein the second frame is a previous frame adjacent to the first frame;

performing, according to the decoded parameter of the second frame, post-processing on the decoded parameter of the first frame to obtain a post-processed decoded parameter of the first frame when at least one of the first frame or the second frame is a redundancy decoding frame; and

reconstructing a speech/audio signal using the post-processed decoded parameter of the first frame,

wherein the decoded parameter of the first frame comprises a spectral pair parameter of the first frame,

wherein the decoded parameter of the second frame comprises a spectral pair parameter of the second frame, and

wherein performing post-processed on the decoded parameter of the first frame comprises weighting the spectral pair parameter of the first frame and the spectral pair parameter of the second frame.

2. The method according to claim 1 , wherein the post-processed spectral pair parameter of the first frame is obtained through calculation using the formula lsp[k]=α*lsp_old[k]+β*lsp_mid[k]+δ*lsp_new[k], wherein 0 ≦k≦M wherein lsp[k] is the post-processed spectral pair parameter of the first frame, wherein lsp_old[k]is the spectral pair parameter of the second frame, wherein lsp_mid[k] is a middle value of the spectral pair parameter of the first frame, wherein lsp_new[k] is the spectral pair parameter of the first frame, wherein M is an order of spectral pair parameters, wherein α is a weight of the spectral pair parameter of the second frame, wherein β is a weight of the middle value of the spectral pair parameter of the first frame, wherein δ is a weight of the spectral pair parameter of the first frame, wherein α≧0, wherein β≧0, wherein δ≧0, and wherein α+β+δ=1.

3. The method according to claim 2 , wherein a value of β is 0 or is less than a preset threshold when the first frame is the redundancy decoding frame, a signal class of the first frame is not unvoiced, and a signal class of a next frame of the first frame is unvoiced.

4. The method according to claim 2 , wherein a value of β is 0 or is less than a preset threshold when the first frame is the redundancy decoding frame, a signal class of the first frame is not unvoiced, and a spectral tilt factor of the second frame is less than a preset spectral tilt factor threshold.

5. The method according to claim 2 , wherein a value of β is 0 or is less than a preset threshold when the first frame is the redundancy decoding frame, a signal class of the first frame is not unvoiced, a signal class of a next frame of the first frame is unvoiced, and a spectral tilt factor of the second frame is less than a preset spectral tilt factor threshold.

6. The method according to claim 1 , wherein a weight of the spectral pair parameter of the second frame is 0 or less than a preset threshold when a signal class of the first frame is unvoiced, the second frame is the redundancy decoding frame, and a signal class of the second frame is not unvoiced.

7. The method according to claim 1 , wherein a weight of the spectral pair parameter of the first frame is 0 or is less than a preset threshold when the first frame is the redundancy decoding frame, a signal class of the first frame is not unvoiced, and a signal class of a next frame of the first frame is unvoiced.

8. The method according to claim 1 , a weight of the spectral pair parameter of the first frame is 0 or is less than a preset threshold when the first frame is the redundancy decoding frame, a signal class of the first frame is not unvoiced, and a spectral tilt factor of the second frame is less than a preset spectral tilt factor threshold.

9. The method according to claim 1 , wherein a weight of the spectral pair parameter of the first frame is 0 or is less than a preset threshold when the first frame is the redundancy decoding frame, a signal class of the first frame is not unvoiced, a signal class of a next frame of the first frame is unvoiced and a spectral tilt factor of the second frame is less than a preset spectral tilt factor threshold.

10. The method according to claim 4 , wherein a smaller spectral tilt factor indicates the signal class, which is more inclined to be unvoiced, of a frame corresponding to the spectral tilt factor.

11. The method according to claim 1 , wherein the decoded parameter of the first frame comprises an adaptive codebook gain and wherein performing the post-processing on the decoded parameter of the first frame comprises attenuating an adaptive codebook gain of at least one subframe of the first frame when the first frame is the redundancy decoding frame and a next frame of the first frame is an unvoiced frame.

12. The method according to claim 1 , wherein the first frame is the redundancy decoding frame, wherein the decoded parameter comprises a bandwidth extension envelope, and wherein performing the post-processing on the decoded parameter of the first frame comprises performing correction on the bandwidth extension envelope of the first frame according to at least one of a bandwidth extension envelope of the second frame or the spectral tilt factor of the second frame when the first frame is not an unvoiced frame, a next frame of the first frame is an unvoiced frame, and a spectral tilt factor of the second frame is less than a preset spectral tilt factor threshold.

13. The method according to claim 12 , wherein a correction factor used when correction is performed on the bandwidth extension envelope of the first frame is inversely proportional to the spectral tilt factor of the second frame and is directly proportional to a ratio of the bandwidth extension envelope of the second frame to the bandwidth extension envelope of the first frame.

14. The method according to claim 1 , wherein the first frame is the redundancy decoding frame, wherein the decoded parameter comprises a bandwidth extension envelope, and wherein performing the post-processing on the decoded parameter of the first frame comprises using a bandwidth extension envelope of the second frame to perform adjustment on a bandwidth extension envelope of the first frame when the second frame is a normal decoding frame, and a signal class of the first frame is same as a signal class of the second frame.

15. A decoder for decoding a speech/audio bitstream, comprising:

a processor; and

a memory coupled to the processor,

wherein the processor is configured to:

perform decoding operations on a bit stream, wherein a decoded parameter of a first frame and a decoded of a second frame are acquired via the decoding operations, and wherein the second frame is a previous frame adjacent to the first frame:

perform post-processing on the decoded parameter of the first frame to obtain a post-processed decoded parameter of the first frame when at least one of the first frame or the second frame is a redundancy decoding frame; and

reconstruct a speech/audio signal using the post-processed decoded parameter of the first frame

wherein the decoded parameter of the first frame comprises a spectral pair parameter of the first frame,

wherein the decoded parameter of the second frame comprises a spectral pair parameter of the second frame, and

wherein the post-processed decoded parameter of the first frame is calculated by weighting the spectral pair parameter of the first frame and the spectral pair parameter of the second frame.

16. A non-transitory computer-readable storage medium storing computer instructions, that when executed by one or more processors, cause the one or more processors to

perform decoding operations on a bit stream, wherein a decoded parameter of a first frame and a decoded parameter of a second frame are acquired via the decoding operations, and wherein the second frame is a previous frame adjacent to the first frame:,

perform post-processing on the decoded parameter of the first frame to obtain a post-processed decoded parameter of the first frame when at least one of the first frame or the second frame is a redundancy decoding frame; and

reconstruct a speech/audio signal using the post-processed decoded parameter of the first frame

wherein the decoded parameter of the first frame comprises a spectral pair parameter of the first frame,

wherein the decoded parameter of the second frame comprises a spectral pair parameter of the second frame, and

wherein the post-processed decoded parameter of the first frame is calculated by weighting the spectral pair parameter of the first frame and the spectral pair parameter of the second frame.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 29, 2016
From: LIU, ZEXIN; ZHANG, XINGTAO; MIAO, LEI
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 039564/0213 →
Priority Claims (1)
CN 2013 1 0751997 · Dec 31, 2013 · national
Continuity (2)
Continuation PCTCN2014081635 · Jul 4, 2014
Related Publication 20160343382A1 · Nov 24, 2016