A method for use by a speech decoder in handling bad frames received over a communications
channel a method in which the effects of bad frames are concealed by replacing
the values of the spectral parameters of the bad frames (a bad frame being either
a corrupted frame or a lost frame) with values based on an at least partly adaptive
mean of recently received good frames, but in case of a corrupted frame (as opposed
to a lost frame), using the bad frame itself if the bad frame meets a predetermined
criterion. The aim of concealment is to find the most suitable parameters for the
bad frame so that subjective quality of the synthesized speech is as high as possible.