摘要 |
<p>A method and system for hiding lost packets are disclosed. The method includes: obtaining a time-domain signal segment from a frame prior to a lost signal and a frame subsequent to the lost signal respectively according to periodicity of pitch and phase of the signal, and performing transformation from a time domain to a frequency domain to obtain a frequency-domain coefficient of the prior frame and a frequency-domain coefficient of the subsequent frame; interpolating values into an amplitude value of the frequency-domain coefficient of the prior frame and an amplitude value of the frequency-domain coefficient of the subsequent frame to obtain an amplitude value of the frequency-domain coefficient of multiple reconstructed signals; selecting a phase most similar to the phase of the reconstructed signals from the prior frame and/or the subsequent frame as a phase value of the frequency-domain coefficient of the reconstructed signals; and performing transformation from the frequency domain to the time domain according to the amplitude value and the phase value of the frequency-domain coefficient of the reconstructed signals to obtain time-domain signals of the reconstructed signals, and superposing the time-domain signals of the reconstructed signals to recover the lost signal.</p> |