Patent ID: 7876966

Claim:
A method for encoding a signal, the method comprising: encoding, via a first encoding device, a first frame of a signal according to a first coding scheme; and encoding, via a second encoding device, a second frame of the signal according to a modified discrete cosine transform (MDCT) coding scheme, wherein the second frame immediately follows the first frame, and wherein the encoding the second frame comprises: defining a sequence of windows for the second frame, wherein the sequence of windows facilitates a transition between the first coding scheme and the MDCT coding scheme; and producing spectral samples of the signal by calculating a MDCT for each window of the sequence of windows; wherein the shape of a second window of the sequence of windows is based at least in part on a number of samples of a subframe of the second frame; wherein a length of the second frame is an integer multiple of a length of the subframe of the second frame, and wherein the length of the subframe of the second frame is an even number of samples.