Patent ID: 8812305

Claim:
An apparatus adapted for generating an encoded data stream based on a time-domain data stream, the time-domain data stream comprising samples of a signal, the apparatus comprising a segment processor adapted for providing data segments from the data stream, two consecutive data segments comprising a first or a second overlapping region, the second overlapping region being smaller than the first overlapping region; a time-domain encoder adapted for encoding a windowed data segment in the time domain; a frequency-domain encoder adapted for applying weights to samples of the time-domain data stream according to a first or second windowing function to acquire a windowed data segment, the first and second windowing functions being adapted to the first and second overlapping regions, the frequency-domain encoder being adapted for encoding a windowed data segment in the frequency domain; a time-domain data analyzer adapted for determining a transition indication associated with a data segment; and a controller adapted for controlling the apparatus such that for data segments to which a first transition indication is associated, output data of the time-domain encoder is comprised by the encoded data stream and for data segments to which a second transition indication is associated, output data of the frequency-domain encoder is comprised by the encoded data stream.