Patent ID: 8892449

Claim:
An audio encoding apparatus for encoding audio samples, comprising: a first time domain aliasing introducing encoder for encoding audio samples in a first encoding domain, the first time domain aliasing introducing encoder comprising a first framing rule, a start window and a stop window and comprising a frequency domain transformer for transforming a first frame of subsequent audio samples to the frequency domain based on a modified discrete cosine transformation (MDCT); a second encoder for encoding samples in a second encoding domain, the second encoder comprising a predetermined frame size number of audio samples, and a coding warm-up period number of audio samples, the second encoder comprising a different second framing rule, a frame of the second encoder being an encoded representation of a number of timely subsequent audio samples, the number being equal to the predetermined frame size number of audio samples; and a controller for, using a processor, switching from the first encoder to the second encoder or vice versa in response to a characteristic of the audio samples, and for modifying the start window or the stop window of the first encoder to the extent that a zero part thereof extends across a first quarter of an MDCT size and cross fade starts in a second quarter of the MDCT size so that the cross fade begins after a MDCT folding axis relative to the zero part, wherein the second framing rule remains unmodified.