摘要 |
Disclosed are a frame loss compensation method and apparatus for a voice frame signal, so as to obtain better compensation effects and at the same time ensure that there is no delay and the complexity is low. The method includes: when an immediately subsequent first frame is lost after a frame is received correctly, judging the frame type of the first lost frame (101), and when the first lost frame is a non-multiple-harmonic frame, using the MDCT coefficient(s) of one or more previous frames of the first lost frame to calculate to obtain the MDCT coefficient of the first lost frame; obtaining an initial compensation signal of the first lost frame according to the MDCT coefficient of the first lost frame (102); and performing a first class of waveform adjustment on the initial compensation signal of the first lost frame and taking a time domain signal obtained after adjustment as a time domain signal of the first lost frame (103). The apparatus includes a frame type judgment module, an MDCT coefficient acquisition module, an initial compensation signal acquisition module and an adjustment module. |