Patent ID: 9571424
Date: 2017-02-14
CPC Classifications: G10L,H04L

Claim:
1. A method for acquiring compensation data, the method comprising: extracting a pitch period from received voice data when a lost frame in the received voice data is detected; calculating a backward phase of a last received frame of normal voice data in the received voice data, wherein the backward phase is a time interval between an end of the last received frame and a wave crest of a last pitch period of the last received frame, and the last received frame is a last normal frame received before the lost frame; calculating a forward phase of the lost frame, wherein the forward phase is a time interval between a beginning of the lost frame and a wave crest of a first pitch period of the lost frame, and is calculated as a difference between the pitch period and the backward phase; correcting the forward phase of the lost frame according to a forward phase change value of the received voice data; and capturing, from the received voice data, data whose last frame is with a same phase as the forward phase, as compensation data.