Decoding method and decoder for audio signal according to gain gradient
First Claim
1. A decoding method for decoding an audio signal, comprising:
- synthesizing a high frequency band signal according to a decoding result of a previous frame of a current frame of the audio signal;
determining a first gain gradient between a last subframe of the previous frame and a start subframe of the current frame according to a gain gradient between subframes of the previous frame of the current frame;
determining the subframe gain of the start subframe of the current frame according to a subframe gain of the last subframe of the previous frame of the current frame and the first gain gradient;
determining a subframe gain of another subframe according to the gain gradient between the subframes of the previous frame of the current frame;
determining a global gain of the current frame;
adjusting, according to the global gain and the subframe gains of the current frame, the synthesized high frequency band signal; and
obtaining, based upon the adjustment of the synthesized high frequency band signal, a high frequency band signal of the current frame.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present disclosure provide a decoding method and a decoding apparatus. The decoding method includes: in a case in which it is determined that a current frame is a lost frame, synthesizing a high frequency band signal; determining subframe gains of multiple subframes of the current frame; determining a global gain of the current frame; and adjusting, according to the global gain and the subframe gains of the multiple subframes, the synthesized high frequency band signal to obtain a high frequency band signal of the current frame. A subframe gain of the current frame is obtained according to a gradient between subframe gains of subframes previous to the current frame, so that transition before and after frame loss is more continuous, thereby reducing noise during signal reconstruction, and improving speech quality.
29 Citations
10 Claims
-
1. A decoding method for decoding an audio signal, comprising:
-
synthesizing a high frequency band signal according to a decoding result of a previous frame of a current frame of the audio signal; determining a first gain gradient between a last subframe of the previous frame and a start subframe of the current frame according to a gain gradient between subframes of the previous frame of the current frame; determining the subframe gain of the start subframe of the current frame according to a subframe gain of the last subframe of the previous frame of the current frame and the first gain gradient; determining a subframe gain of another subframe according to the gain gradient between the subframes of the previous frame of the current frame; determining a global gain of the current frame; adjusting, according to the global gain and the subframe gains of the current frame, the synthesized high frequency band signal; and obtaining, based upon the adjustment of the synthesized high frequency band signal, a high frequency band signal of the current frame. - View Dependent Claims (2, 3, 4)
-
-
5. A decoding apparatus used for decoding an audio signal, comprising:
-
a processor, and a non-transitory computer-readable storage medium coupled to the processor and storing programming instructions for execution by the processor, the programming instructions instruct the processor to; synthesize a high frequency band signal according to a decoding result of a previous frame of a current frame of the audio signal, determine a first gain gradient between a last subframe of a previous frame and a start subframe of the current frame according to a gain gradient between subframes of the previous frame of the current frame; determine the subframe gain of the start subframe of the current frame according to a subframe gain of the last subframe of the previous frame of the current frame and the first gain gradient; determine a subframe gain of another subframe according to the gain gradient between the subframes of the at least one frame previous to the current frame; determine a global gain of the current frame, and adjust, according to the global gain and the subframe gains of the current frame, the high frequency band signal, to obtain a high frequency band signal of the current frame. - View Dependent Claims (6, 7, 8, 9, 10)
-
Specification