Patent ID: 8000968

Claim:
A method for switching speech or audio signals, comprising: when switching of a speech or audio, weighting a first high frequency band signal of a current frame of speech or audio signal and a second high frequency band signal of a previous M frame of speech or audio signals to obtain a processed first high frequency band signal, wherein M is greater than or equal to 1, and wherein the previous M frame of speech or audio signals refer to an M frame of speech or audio signals before the current frame; and synthesizing the processed first high frequency band signal and a first low frequency band signal of the current frame of speech or audio signal into a wide frequency band signal, wherein when switching from a wide frequency band speech or audio signal to a narrow frequency band speech or audio signal, weighting the first high frequency band signal of the current frame of speech or audio signal and the second high frequency band signal of the previous M frame of speech or audio signals to obtain the processed first high frequency band signal comprises: predicting a fine structure information and an envelope information corresponding to the first high frequency band signal of the current frame of speech or audio signal; weighting the predicted envelope information and a previous M frame envelope information corresponding to the second high frequency band signal of the previous M frame of speech or audio signals to obtain a first envelope information corresponding to the first high frequency band signal; and generating the processed first high frequency band signal according to the first envelope information and the predicted fine structure information.