摘要 |
A decoding method and a decoding device. The decoding method comprises: in the case where a current frame is determined as a lost frame, synthetizing a high-frequency band signal according to a decoding result of a previous frame (110); according to a subframe gain of subframes of at least one frame before the current frame and a gain gradient between subframes of the above-mentioned at least one frame, determining the subframe gain of a plurality of subframes of the current frame (120); determining a global gain of the current frame (130); and according to the global gain and the subframe gain of the plurality of subframes, adjusting the synthetized high-frequency band signal to obtain a high-frequency band signal of the current frame (140). Since the subframe gain of the current frame is obtained according to the subframe gain gradient of the subframe before the current frame, the transition before and after losing the frame has a better continuity, thereby reducing the reconstruction signal noise, and improving the voice quality. |