Patent ID: 8346546

Claim:
A method for concealing a lost segment in a speech or audio signal that comprises a series of segments, the method comprising: (a) generating an extrapolated waveform based on a segment that precedes the lost segment in the series of segments and on one or more segments that follow the lost segment in the series of segments; (b) generating a replacement waveform for the lost segment based on a first portion of the extrapolated waveform; and (c) overlap-adding a second portion of the extrapolated waveform with a decoded waveform associated with the one or more segments following the lost segment in the series of segments; wherein step (a) comprises: performing a first-pass periodic waveform extrapolation using a pitch period associated with the segment that precedes the lost segment to generate a first-pass extrapolated waveform; identifying a time lag between the first-pass extrapolated waveform and the decoded waveform associated with the one or more segments that follow the lost segment; calculating a pitch contour based on the identified time lag; and performing a second-pass periodic waveform extrapolation using the pitch contour to generate the extrapolated waveform; and wherein at least one of steps (a), (b) and (c) is performed by a processor.