EP3002751A1 - Audiocodierer und -decodierer zur codierung und decodierung von audioproben - Google Patents

Audiocodierer und -decodierer zur codierung und decodierung von audioproben Download PDF

Info

Publication number
EP3002751A1
EP3002751A1 EP15193589.7A EP15193589A EP3002751A1 EP 3002751 A1 EP3002751 A1 EP 3002751A1 EP 15193589 A EP15193589 A EP 15193589A EP 3002751 A1 EP3002751 A1 EP 3002751A1
Authority
EP
European Patent Office
Prior art keywords
decoder
encoder
aliasing
audio samples
window
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
EP15193589.7A
Other languages
English (en)
French (fr)
Inventor
Jérémie Lecomte
Philippe Gournay
Stefan Bayer
Bernhard Grill
Markus Multrus
Bruno Bessette
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fraunhofer Gesellschaft zur Forderung der Angewandten Forschung eV
Original Assignee
Fraunhofer Gesellschaft zur Forderung der Angewandten Forschung eV
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fraunhofer Gesellschaft zur Forderung der Angewandten Forschung eV filed Critical Fraunhofer Gesellschaft zur Forderung der Angewandten Forschung eV
Priority claimed from EP09776858.4A external-priority patent/EP2311032B1/de
Publication of EP3002751A1 publication Critical patent/EP3002751A1/de
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/18Vocoders using multiple modes
    • G10L19/20Vocoders using multiple modes using sound class specific coding, hybrid encoders or object based coding
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/02Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using spectral analysis, e.g. transform vocoders or subband vocoders
    • G10L19/022Blocking, i.e. grouping of samples in time; Choice of analysis windows; Overlap factoring

Definitions

  • the present invention is in the field of audio coding in different coding domains, as for example in the time-domain and a transform domain.
  • MPEG Moving Pictures Expert Group
  • AAC MPEG-2/4 Advanced Audio Coding
  • LPC-based speech coders usually do not achieve convincing results when applied to general music signals because of their inability to flexibly shape the spectral envelope of the coding distortion according to a masking threshold curve.
  • concepts are described which combine the advantages of both LPC-based coding and perceptual audio coding into a single framework and thus describe unified audio coding that is efficient for both general audio and speech signals.
  • perceptual audio coders use a filterbank-based approach to efficiently code audio signals and shape the quantization distortion according to an estimate of the masking curve.
  • Fig. 16a shows the basic block diagram of a monophonic perceptual coding system.
  • An analysis filterbank 1600 is used to map the time domain samples into subsampled spectral components. Dependent on the number of spectral components, the system is also referred to as a subband coder (small number of subbands, e.g. 32) or a transform coder (large number of frequency lines, e.g. 512).
  • a perceptual ("psychoacoustic") model 1602 is used to estimate the actual time dependent masking threshold.
  • the spectral (“subband” or "frequency domain") components are quantized and coded 1604 in such a way that the quantiza-tion noise is hidden under the actual transmitted signal, and is not perceptible after decoding. This is achieved by varying the granularity of quantization of the spectral values over time and frequency.
  • the quantized and entropy-encoded spectral coefficients or subband values are, in addition with side information, input into a bitstream formatter 1606, which provides an encoded audio signal which is suitable for being transmitted or stored.
  • the output bitstream of block 1606 can be transmitted via the Internet or can be stored on any machine readable data carrier.
  • a decoder input interface 1610 receives the encoded bitstream.
  • Block 1610 separates entropy-encoded and quantized spectral/subband values from side information.
  • the encoded spectral values are input into an entropy-decoder such as a Huffman decoder, which is positioned between 1610 and 1620.
  • the outputs of this entropy decoder are quantized spectral values.
  • These quantized spectral values are input into a requantizer, which performs an "inverse" quantization as indicated at 1620 in Fig. 16a .
  • the output of block 1620 is input into a synthesis filterbank 1622, which performs a synthesis filtering including a frequency/time transform and, typically, a time domain aliasing cancellation operation such as overlap and add and/or a synthesis-side windowing operation to finally obtain the output audio signal.
  • a synthesis filterbank 1622 which performs a synthesis filtering including a frequency/time transform and, typically, a time domain aliasing cancellation operation such as overlap and add and/or a synthesis-side windowing operation to finally obtain the output audio signal.
  • LPC Linear Predictive Coding
  • Fig. 17a indicates the encoder-side of an encoding/decoding system based on linear predictive coding.
  • the speech input is input into an LPC analyzer 1701, which provides, at its output, LPC filter coefficients. Based on these LPC filter coefficients, an LPC filter 1703 is adjusted.
  • the LPC filter outputs a spectrally whitened audio signal, which is also termed "prediction error signal”.
  • This spectrally whitened audio signal is input into a residual/excitation coder 1705, which generates excitation parameters.
  • the speech input is encoded into excitation parameters on the one hand, and LPC coefficients on the other hand.
  • the excitation parameters are input into an excitation decoder 1707, which generates an excitation signal, which can be input into an LPC synthesis filter.
  • the LPC synthesis filter is adjusted using the transmitted LPC filter coefficients.
  • the LPC synthesis filter 1709 generates a reconstructed or synthesized speech output signal.
  • MPE Multi-Pulse Excitation
  • RPE Regular Pulse Excitation
  • CELP Code-Excited Linear Prediction
  • Linear Predictive Coding attempts to produce an estimate of the current sample value of a sequence based on the observation of a certain number of past values as a linear combination of the past observations.
  • the encoder LPC filter "whitens" the input signal in its spectral envelope, i.e. it is a model of the inverse of the signal's spectral envelope.
  • the decoder LPC synthesis filter is a model of the signal's spectral envelope.
  • AR auto-regressive
  • narrow band speech coders i.e. speech coders with a sampling rate of 8kHz
  • LPC filter with an order between 8 and 12. Due to the nature of the LPC filter, a uniform frequency resolution is effective across the full frequency range. This does not correspond to a perceptual frequency scale.
  • ACELP Algebraic Code Excited Linear Prediction
  • TCX Transform Coded Excitation
  • ACELP a time domain signal is coded by algebraic code excitation.
  • FFT fast Fourier transform
  • SNR Signal-to-Noise Ratio
  • This case is also called the closed loop decision, as there is a closed control loop, evaluating both coding performances or efficiencies, respectively, and then choosing the one with the better SNR.
  • the AMR-WB+ introduces 1/8 th of overhead in a TCX mode, i.e. the number of spectral values to be coded is 1/8 th higher than the number of input samples. This provides the disadvantage of an increased data overhead. Moreover, the frequency response of the corresponding band pass filters is disadvantageous, due to the steep overlap region of 1/8 th of consecutive frames.
  • Fig. 18 illustrates a definition of window parameters.
  • the window shown in Fig. 18 has a rising edge part on the left-hand side, which is denoted with “L” and also called left overlap region, a center region which is denoted by “1”, which is also called a region of 1 or bypass part, and a falling edge part, which is denoted by "R” and also called the right overlap region.
  • Fig. 18 shows an arrow indicating the region "PR" of perfect reconstruction within a frame.
  • Fig. 18 shows an arrow indicating the length of the transform core, which is denoted by "T”.
  • Fig. 19 shows a view graph of a sequence of AMR-WB+ windows and at the bottom a table of window parameter according to Fig. 18 .
  • the sequence of windows shown at the top of Fig. 19 is ACELP, TCX20 (for a frame of 20ms duration), TCX20, TCX40 (for a frame of 40ms duration), TCX80 (for a frame of 80ms duration), TCX20, TCX20, ACELP, ACELP.
  • the window samples are discarded from the FFT-TCX frame in the overlapping region, as for example indicated at the top of Fig. 19 by the region labeled with 1900.
  • ZIR zero-input response
  • the windowed samples are used for cross-fade. Since the TCX frames can be quantized differently, quantization error or quantization noise between consecutive frames can be different and/or independent. Therewith, when switching from one frame to the next without cross-fade, noticeable artifacts may occur, and hence, cross-fade is necessary in order to achieve a certain quality.
  • FIG. 20 provides another table with illustrations of the different windows for the possible transitions in AMR-WB+.
  • the overlapping samples can be discarded.
  • the zero-input response from the ACELP can be removed at the encoder and added the decoder for recovering.
  • TD Time-Domain
  • FD Frequency-Domain
  • a timeline is shown during which a first frame 2101 is encoded by an FD-coder followed by another frame 2103, which is encoded by a TD-coder and which overlaps in region 2102 with the first frame 2101.
  • the time-domain encoded frame 2103 is followed by a frame 2105, which is encoded in the frequency-domain again and which overlaps in region 2104 with the preceding frame 2103.
  • the overlap regions 2102 and 2104 occur whenever the coding domain is switched.
  • overlap regions or transitions are often chosen as a compromise between some overhead of transmitted information, i.e. coding efficiency, and the quality of the transition, i.e. the audio quality of the decoded signal. To set up this compromise, care should be taken when handling the transitions and designing the transition windows 2111, 2113 and 2115 as indicated in Fig. 21 .
  • ASSP, ASSP-34(5): 1153-1161, 1986 , and are for example used in AAC (AAC Advanced Audio Coding), cf. Generic Coding of Moving Pictures and Associated Audio: Advanced Audio Coding, International Standard 13818-7, ISO/IEC JTC1/SC29/WG11 Moving Pictures Expert Group, 1997 .
  • WO 2008/071353 discloses a concept for switching between a time-domain and a frequency-domain encoder.
  • the concept could be applied to any codec based on time-domain/frequency-domain switching.
  • the concept could be applied to time-domain encoding according to the ACELP mode of the AMR-WB+ codec and the AAC as an example of a frequency-domain codec.
  • Fig. 22 shows a block diagram of a conventional encoder utilizing a frequency-domain decoder in the top branch and a time-domain decoder in the bottom branch.
  • the frequency decoding part is exemplified by an AAC decoder, comprising a re-quantization block 2202 and an inverse modified discrete cosine transform block 2204.
  • MDCT Modified Discrete Cosine Transform
  • the time-domain decoding path is exemplified as an AMR-WB+ decoder 2206 followed by an MDCT block 2208, in order to combine the outcome of the decoder 2206 with the outcome of the re-quantizer 2202 in the frequency-domain.
  • FIG. 23 shows another decoder having the frequency-domain decoder exemplified as an AAC decoder comprising a re-quantization block 2302 and an IMDCT block 2304.
  • the time-domain path is again exemplified by an AMR-WB+ decoder 2306 and the TDAC block 2308.
  • TDAC 23 allows a combination of the decoded blocks in the time-domain, i.e. after IMDCT 2304, since the TDAC 2308 introduces the necessary time aliasing for proper combination, i.e. for time aliasing cancellation, directly in the time-domain.
  • TDAC may only be used in overlap zones or regions on 128 samples.
  • the normal time domain aliasing introduced by the AAC processing may be kept, while the corresponding inverse time-domain aliasing in the AMR-WB+ parts is introduced.
  • Non-aliased cross-fade windows have the disadvantage, that they are not coding efficient, because they generate non-critically sampled encoded coefficients, and add an overhead of information to encode.
  • TDA Time Domain Aliasing
  • TDA Time Domain Aliasing
  • LPC Linear Prediction Coding
  • the decoder will then take a certain time before being in a permanent or stable state and deliver a more uniform quantization noise over time. This burst error is disadvantageous since it is usually audible.
  • the object is achieved by an encoder according to claim 1, and methods for encoding according to claim 16, an audio decoder according to claim 18 and a method for audio decoding according to claim 32.
  • AMR-WB+ can be used as time domain codec and AAC can be utilized as an example of a frequency-domain codec
  • more efficient switching between the two codecs can be achieved by embodiments, by either adapting the framing of the AMR-WB+ part or by using modified start or stop windows for the respective AAC coding part.
  • TDAC can be applied at the decoder and non-aliased cross-fading windows can be utilized.
  • Embodiments of the present invention may provide the advantage that overhead information can be reduced, introduced in overlap transition, while keeping moderate cross-fade regions assuring cross-fade quality.
  • Fig. 1a shows an audio encoder 100 for encoding audio samples.
  • the audio encoder 100 comprises a first time domain aliasing introducing encoder 110 for encoding audio samples in a first encoding domain, the first time domain aliasing introducing encoder 110 having a first framing rule, a start window and a stop window.
  • the audio encoder 100 comprises a second encoder 120 for encoding audio samples in the second encoding domain.
  • the second encoder 120 having a predetermined frame size number of audio samples and a coding warm-up period number of audio samples.
  • the coding warm-up period may be certain or predetermined, it may be dependent on the audio samples, a frame of audio samples or a sequence of audio signals.
  • the second encoder 120 has a different second framing rule.
  • a frame of the second encoder 120 is an encoded representation of a number of timely subsequent audio samples, the number being equal to the predetermined frame size number of audio samples.
  • the audio encoder 100 further comprises a controller 130 for switching from the first time domain aliasing introducing encoder 110 to the second encoder 120 in response to a characteristic of the audio samples, and for modifying the second framing rule in response to switching from the first time domain aliasing introducing encoder 110 to the second encoder 120 or for modifying the start window or the stop window of the first time domain aliasing introducing encoder 110, wherein the second framing rule remains unmodified.
  • the controller 130 can be adapted for determining the characteristic of the audio samples based on the input audio samples or based on the output of the first time domain aliasing introducing encoder 110 or the second encoder 120. This is indicated by the dotted line in Fig. 1a , through which the input audio samples may be provided to the controller 130. Further details on the switching decision will be provided below.
  • the controller 130 may control the first time domain aliasing introducing encoder 110 and the second encoder 120 in a way, that both encode the audio samples in parallel, and the controller 130 decides on the switching decision based on the respective outcome, carries out the modifications prior to switching.
  • the controller 130 may analyze the characteristics of the audio samples and decide on which encoding branch to use, but switching off the other branch. In such an embodiment the coding warm-up period of the second encoder 120 becomes relevant, as prior to switching, the coding warm-up period has to be taken into account, which will be detailed further below.
  • the first time-domain aliasing introducing encoder 110 may comprise a frequency-domain transformer for transforming the first frame of subsequent audio samples to the frequency domain.
  • the first time domain aliasing introducing encoder 110 can be adapted for weighting the first encoded frame with the start window, when the subsequent frame is encoded by the second encoder 120 and can be further adapted for weighting the first encoded frame with the stop window when a preceding frame is to be encoded by the second encoder 120.
  • the first time domain aliasing introducing encoder 110 applies a start window or a stop window.
  • a start window is applied prior to switching to the second encoder 120 and when switching back from the second encoder 120 to the first time domain aliasing introducing encoder 120 the stop window is applied at the first time domain aliasing introducing encoder 110.
  • the expressions "start” and “stop” refer to windows applied at the first encoder 110, when the second encoder 120 is started or after it was stopped.
  • the frequency domain transformer as used in the first time domain aliasing introducing encoder 110 can be adapted for transforming the first frame into the frequency domain based on an MDCT and the first time-domain aliasing introducing encoder 110 can be adapted for adapting an MDCT size to the start and stop or modified start and stop windows.
  • the details for the MDCT and its size will be set out below.
  • the first time-domain aliasing introducing encoder 110 can consequently be adapted for using a start and/or a stop window having a aliasing-free part, i.e. within the window there is a part, without time-domain aliasing.
  • the first time-domain aliasing introducing encoder 110 can be adapted for using a start window and/or a stop window having an aliasing-free part at a rising edge part of the window, when the preceding frame is encoded by the second encoder 120, i.e. the first time-domain aliasing introducing encoder 110 utilizes a stop window, having a rising edge part which is aliasing-free.
  • the first time-domain aliasing introducing encoder 110 may be adapted for utilizing a window having a falling edge part which is aliasing-free, when a subsequent frame is encoded by the second encoder 120, i.e. using a stop window with a falling edge part, which is aliasing-free.
  • the controller 130 can be adapted to start second encoder 120 such that a first frame of a sequence of frames of the second encoder 120 comprises an encoded representation of the samples processed in the preceding aliasing-free part of the first time domain aliasing introducing encoder 110.
  • the output of the first time domain aliasing introducing encoder 110 and the second encoder 120 may be coordinated by the controller 130 in a way, that a aliasing-free part of the encoded audio samples from the first time domain aliasing introducing encoder 110 overlaps with the encoded audio samples output by the second encoder 120.
  • the controller 130 can be further adapted for cross-fading i.e. fading-out one encoder while fading-in the other encoder.
  • the controller 130 may be adapted to start the second encoder 120 such that the coding warm-up period number of audio samples overlaps the aliasing-free part of the start window of the first time-domain aliasing introducing encoder 110 and a subsequent frame of the second encoder 120 overlaps with the aliasing part of the stop window.
  • the controller 130 may coordinate the second encoder 120 such, that for the coding warm-up period non-aliased audio samples are available from the first encoder 110, and when only aliased audio samples are available from the first time domain aliasing introducing encoder 110, the warm-up period of the second encoder 120 has terminated and encoded audio samples are available at the output of the second encoder 120 in a regular manner.
  • the controller 130 may be further adapted to start the second encoder 120 such that the coding warm-up period overlaps with the aliasing part of the start window.
  • aliased audio samples are available from the output of the first time domain aliasing introducing encoder 110, and at the output of the second encoder 120 encoded audio samples of the warm-up period, which may experience an increased quantization noise, may be available.
  • the controller 130 may still be adapted for cross-fading between the two sub-optimally encoded audio sequences during an overlap period.
  • the controller 130 can be further adapted for switching from the first encoder 110 in response to a different characteristic of the audio samples and for modifying the second framing rule in response to switching from the first time domain aliasing introducing encoder 110 to the second encoder 120 or for modifying the start window or the stop window of the first encoder, wherein the second framing rule remains unmodified.
  • the controller 130 can be adapted for switching back and forward between the two audio encoders.
  • the controller 130 can be adapted to start the first time-domain aliasing introducing encoder 110 such that the aliasing-free part of the stop window overlaps with the frame of the second encoder 120.
  • the controller may be adapted to cross-fade between the outputs of the two encoders.
  • the output of the second encoder is faded out, while only sub-optimally encoded, i.e. aliased audio samples from the first time domain aliasing introducing encoder 110 are faded in.
  • the controller 130 may be adapted for cross-fading between a frame of the second encoder 120 and non-aliased frames of the first encoder 110.
  • the first time-domain aliasing introducing encoder 110 may comprise an AAC encoder according to Generic Coding of Moving Pictures and Associated Audio: Advanced Audio Coding, International Standard 13818-7, ISO/IEC JTC1/SC29/WG11 Moving Pictures Expert Group, 1997 .
  • 3GPP Third Generation Partnership Project
  • Technical Specification 26.290 Version 6.3.0 as of June 2005 "Audio Codec Processing Function; Extended Adaptive Multi-Rate-Wide Band Codec; Transcoding Functions", release 6 .
  • the controller 130 may be adapted for modifying the AMR or AMR-WB+ framing rule such that a first AMR superframe comprises five AMR frames, where according to the above-mentioned technical specification, a superframe comprises four regular AMR frames, compare Fig. 4 , Table 10 on page 18 and Fig. 5 on page 20 of the above-mentioned Technical Specification.
  • the controller 130 can be adapted for adding an extra frame to an AMR superframe. It is to be noted that in embodiments superframe can be modified by appending frame at the beginning or end of any superframe, i.e. the framing rules may as well be matched at the end of a superframe.
  • Fig. 1b shows an embodiment of an audio decoder 150 for decoding encoded frames of audio samples.
  • the audio decoder 150 comprises a first time domain aliasing introducing decoder 160 for decoding audio samples in a first decoding domain.
  • the first time domain aliasing introducing encoder 160 has a first framing rule, a start window and a stop window.
  • the audio decoder 150 further comprises a second decoder 170 for decoding audio samples in a second decoding domain.
  • the second decoder 170 has a predetermined frame size number of audio samples and a coding warm-up period number of audio samples.
  • the second decoder 170 has a different second framing rule.
  • a frame of the second decoder 170 may correspond to an decoded representation of a number of timely subsequent audio samples, where the number is equal to the predetermined frame size number of audio samples.
  • the audio decoder 150 further comprises a controller 180 for switching from the first time domain aliasing introducing decoder 160 to the second decoder 170 based on an indication in the encoded frame of audio samples, wherein the controller 180 is adapted for modifying the second framing rule in response to switching from the first time domain introducing decoder 160 to the second decoder 170 or for modifying the start window or the stop window of the first decoder 160, wherein the second framing rule remains unmodified.
  • start and stop windows are applied at the encoder as well as at the decoder.
  • the audio decoder 150 provides the corresponding decoding components.
  • the switching indication for the controller 180 may be provided in terms of a bit, a flag or any side information along with the encoded frames.
  • the first decoder 160 may comprise a time domain transformer for transforming a first frame of decoded audio samples to the time domain.
  • the first time domain aliasing introducing decoder 160 can be adapted for weighting the first decoded frame with the start window when a subsequent frame is decoded by the second decoder 170 and/or for weighting the first decoded frame with the stop window when a preceding frame is to be decoded by the second decoder 170.
  • the first time domain aliasing introducing decoder 160 can be adapted for utilizing a start window and/or a stop window having a aliasing-free or aliasing-free part.
  • the first time domain aliasing introducing decoder 160 may be further adapted for using a stop window having an aliasing-free part at a rising part of the window when the preceding frame has been decoded by the second decoder 170 and/or the first time domain aliasing introducing decoder 160 may have a start window having an aliasing-free part at the falling edge when the subsequent frame is decoded by the second decoder 170.
  • the controller 180 can be adapted to start the second decoder 170 such that the first frame of a sequence of frames of the second decoder 170 comprises a decoded representation of a sample processed in the preceding aliasing-free part of the first decoder 160.
  • the controller 180 can be adapted to start the second decoder 170 such that the coding warm-up period number of audio sample overlaps with the aliasing-free part of the start window of the first time domain aliasing introducing decoder 160 and a subsequent frame of the second decoder 170 overlaps with the aliasing part of the stop window.
  • the controller 180 can be adapted to start the second decoder 170 such that the coding warm-up period overlaps with the aliasing part of the start window.
  • the controller 180 can be further adapted for switching from the second decoder 170 to the first decoder 160 in response to an indication from the encoded audio samples and for modifying the second framing rule in response to switching from the second decoder 170 to the first decoder 160 or for modifying the start window or the stop window of the first decoder 160, wherein the second framing rule remains unmodified.
  • the indication may be provided in terms of a flag, a bit or any side information along with the encoded frames.
  • the controller 180 can be adapted to start the first time domain aliasing introducing decoder 160 such that the aliasing part of the stop window overlaps with a frame of the second decoder 170.
  • the controller 180 can be adapted for applying a cross-fading between consecutive frames of decoded audio samples of the different decoders. Furthermore, the controller 180 can be adapted for determining an aliasing in an aliasing part of the start or stop window from a decoded frame of the second decoder 170 and the controller 180 can be adapted for reducing the aliasing in the aliasing part based on the aliasing determined.
  • the controller 180 can be further adapted for discarding the coding warm-up period of audio samples from the second decoder 170.
  • DCT-IV Discrete Cosine Transform type IV
  • MDCT time-domain aliasing cancellation
  • PQF Polyphase Quadrature Filter
  • the output of this MDCT is postprocessed by an alias reduction formula to reduce the typical aliasing of the PQF filter bank.
  • Such a combination of a filter bank with an MDCT is called a hybrid filter bank or a subband MDCT.
  • AAC on the other hand, normally uses a pure MDCT; only the (rarely used) MPEG-4 AAC-SSR variant (by Sony) uses a four-band PQF bank followed by an MDCT.
  • QMF quadrature mirror filters
  • the MDCT is a bit unusual compared to other Fourier-related transforms in that it has half as many outputs as inputs (instead of the same number).
  • it is a linear function F : R 2N ⁇ R N , where R denotes the set of real numbers.
  • the 2N real numbers x 0 , ..., x 2N-1 are transformed into the N real numbers X 0 , ... , X N-1 according to the formula in Fig. 2a .
  • the normalization coefficient in front of this transform is an arbitrary convention and differs between treatments. Only the product of the normalizations of the MDCT and the IMDCT, below, is constrained.
  • the inverse MDCT is known as the IMDCT. Because there are different numbers of inputs and outputs, at first glance it might seem that the MDCT should not be invertible. However, perfect invertibility is achieved by adding the overlapped IMDCTs of subsequent overlapping blocks, causing the errors to cancel and the original data to be retrieved; this technique is known as time-domain aliasing cancellation (TDAC).
  • TDAC time-domain aliasing cancellation
  • the IMDCT transforms N real numbers X 0 , ..., X N-1 into 2N real numbers y 0 , ..., y 2N-1 according to the formula in Fig. 2b .
  • the inverse has the same form as the forward transform.
  • the normalization coefficient in front of the IMDCT should be multiplied by 2 i.e., becoming 2/N.
  • any algorithm for the DCT-IV immediately provides a method to compute the MDCT and IMDCT of even size.
  • x and y could have different window functions, and the window function could also change from one block to the next, especially for the case where data blocks of different sizes are combined, but for simplicity the common case of identical window functions for equal-sized blocks is considered first.
  • Fig. 2d For MP3 and MPEG-2 AAC, and in Fig. 2e for Vorbis.
  • MPEG-4 AAC can also use a KBD window.
  • windows applied to the MDCT are different from windows used for other types of signal analysis, since they must fulfill the Princen-Bradley condition.
  • MDCT windows are applied twice, for both the MDCT (analysis filter) and the IMDCT (synthesis filter).
  • the MDCT is essentially equivalent to a DCT-IV, where the input is shifted by N/2 and two N-blocks of data are transformed at once.
  • This follows from the identities given in Fig. 2f .
  • x R denotes x in reverse order.
  • the MDCT of 2N inputs (a, b, c, d) is exactly equivalent to a DCT-IV of the N inputs: (-c R -d, a-b R ), where R denotes reversal as above.
  • R denotes reversal as above.
  • the IMDCT formula as mentioned above is precisely 1/2 of the DCT-IV (which is its own inverse), where the output is shifted by N/2 and extended (via the boundary conditions) to a length 2N.
  • the inverse DCT-IV would simply give back the inputs (-c R -d, a-b R ) from above. When this is shifted and extended via the boundary conditions, one obtains the result displayed in Fig. 2g . Half of the IMDCT outputs are thus redundant.
  • time-domain aliasing cancellation The origin of the term "time-domain aliasing cancellation" is now clear.
  • the use of input data that extend beyond the boundaries of the logical DCT-IV causes the data to be aliased in exactly the same way that frequencies beyond the Nyquist frequency are aliased to lower frequencies, except that this aliasing occurs in the time domain instead of the frequency domain.
  • the combinations c-d R and so on which have precisely the right signs for the combinations to cancel when they are added.
  • N/2 is not an integer so the MDCT is not simply a shift permutation of a DCT-IV.
  • the additional shift by half a sample means that the MDCT/IMDCT becomes equivalent to the DCT-III/II, and the analysis is analogous to the above.
  • MDCT (wa,zb,z R c,w R d) is MDCTed with all multiplications performed elementwise.
  • IMDCTed IMDCTed and multiplied again (elementwise) by the window function, the last-N half results as displayed in Fig. 2h .
  • controller 130 on the encoder side and the controller 180 on the decoder side respectively, modify the second framing rule in response to switching from the first coding domain to the second coding domain.
  • a smooth transition in a switched coder i.e. switching between AMR-WB+ and AAC coding
  • some overlap i.e. a short segment of a signal or a number of audio samples, to which both coding modes are applied, is utilized.
  • the first time domain aliasing encoder 110 and the first time domain aliasing decoder 160 correspond to AAC encoding and decoding will be provided.
  • the second encoder 120 and decoder 170 correspond to AMR-WB+ in ACELP-mode.
  • the embodiment corresponds to one option of the respective controllers 130 and 180 in which the framing of the AMR-WB+, i.e. the second framing rule, is modified.
  • Fig. 3 shows a time line in which a number of windows and frames are shown.
  • an AAC regular window 301 is followed by an AAC start window 302.
  • the AAC start window 302 is used between long frames and short frames.
  • a sequence of short AAC windows 303 is also shown in Fig. 3 .
  • the sequence of AAC short windows 303 is terminated by an AAC stop window 304, which starts a sequence of AAC long windows.
  • the second encoder 120, decoder 170, respectively, utilize the ACELP mode of the AMR-WB+.
  • the AMR-WB+ utilizes frames of equal size of which a sequence 320 is shown in Fig. 3.
  • Fig. 3 shows a sequence of pre-filter frames of different types according to the ACELP in AMR-WB+.
  • the controller 130 or 180 modifies the framing of the ACELP such that the first superframe 320 is comprised of five frames instead of four. Therefore, the ACE data 314 is available at the decoder, while the AAC decoded data is also available.
  • AMR-WB+ superframe may be extended by appending frames at the end of a superframe as well.
  • Fig. 3 shows two mode transitions, i.e. from AAC to AMR-WB+ and AMR-WB+ to AAC.
  • the typical start/stop windows 302 and 304 of the AAC codec are used and the frame length of the AMR-WB+ codec is increased to overlap the fading part of the start/stop window of the AAC codec, i.e. the second framing rule is modified.
  • the transitions from AAC to AMR-WB+ i.e.
  • the AMR-WB+ superframe at the transition i.e. the first superframe 320 in the Fig. 3 , uses five frames instead of four, the fifth frame covering the overlap. This introduces data overhead, however, the embodiment provides the advantage that a smooth transition between AAC and AMR-WB+ modes is ensured.
  • the controller 130 can be adapted for switching between the two coding domains based on the characteristic of the audio samples where different analysis or different options are conceivable. For example, the controller 130 may switch the coding mode based on a stationary fraction or transient fraction of the signal. Another option would be to switch based on whether the audio samples correspond to a more voiced or unvoiced signal. In order to provide a detailed embodiment for determining the characteristics of the audio samples, in the following, an embodiment of the controller 130, which switches based on the voice similarity of the signal.
  • Figs. 4a and 4b , 5a and 5b are exemplarily discussed.
  • the controllers 130, 180 can be adapted for deciding based on different criteria, as e.g. stationarity, transience, spectral whiteness, etc.
  • stationarity e.g. stationarity
  • transience e.g. transience
  • spectral whiteness e.g. spectral whiteness
  • an example criteria is given as part of an embodiment.
  • a voiced speech is illustrated in Fig. 4a in the time domain and in Fig. 4b in the frequency domain and is discussed as example for a quasi-periodic impulse-like signal portion
  • an unvoiced speech segment as an example for a noise-like signal portion is discussed in connection with Figs. 5a and 5b .
  • Speech can generally be classified as voiced, unvoiced or mixed.
  • Voiced speech is quasi periodic in the time domain and harmonically structured in the frequency domain, while unvoiced speech is random-like and broadband.
  • the energy of voiced segments is generally higher than the energy of unvoiced segments.
  • the short-term spectrum of voiced speech is characterized by its fine and formant structure.
  • the fine harmonic structure is a consequence of the quasi-periodicity of speech and may be attributed to the vibrating vocal cords.
  • the formant structure which is also called the spectral envelope, is due to the interaction of the source and the vocal tracts.
  • the vocal tracts consist of the pharynx and the mouth cavity.
  • the shape of the spectral envelope that "fits" the short-term spectrum of voiced speech is associated with the transfer characteristics of the vocal tract and the spectral tilt (6 dB/octave) due to the glottal pulse.
  • the spectral envelope is characterized by a set of peaks, which are called formants.
  • the formants are the resonant modes of the vocal tract. For the average vocal tract there are 3 to 5 formants below 5 kHz. The amplitudes and locations of the first three formants, usually occurring below 3 kHz are quite important, both, in speech synthesis and perception. Higher formants are also important for wideband and unvoiced speech representations.
  • the properties of speech are related to physical speech production systems as follows. Exciting the vocal tract with quasi-periodic glottal air pulses generated by the vibrating vocal cords produces voiced speech. The frequency of the periodic pulses is referred to as the fundamental frequency or pitch. Forcing air through a constriction in the vocal tract produces unvoiced speech. Nasal sounds are due to the acoustic coupling of the nasal tract to the vocal tract, and plosive sounds are reduced by abruptly reducing the air pressure, which was built up behind the closure in the tract.
  • a noise-like portion of the audio signal can be a stationary portion in the time domain as illustrated in Fig. 5a or a stationary portion in the frequency domain, which is different from the quasi-periodic impulse-like portion as illustrated for example in Fig. 4a , due to the fact that the stationary portion in the time domain does not show permanent repeating pulses.
  • the differentiation between noise-like portions and quasi-periodic impulse-like portions can also be observed after a LPC for the excitation signal.
  • the LPC is a method which models the vocal tract and the excitation of the vocal tracts.
  • the stationary spectrum has quite a wide spectrum as illustrated in Fig. 5b , or in the case of harmonic signals, quite a continuous noise floor having some prominent peaks representing specific tones which occur, for example, in a music signal, but which do not have such a regular distance from each other as the impulse-like signal in Fig. 4b .
  • quasi-periodic impulse-like portions and noise-like portions can occur in a timely manner, i.e., which means that a portion of the audio signal in time is noisy and another portion of the audio signal in time is quasi-periodic, i.e. tonal.
  • the characteristic of a signal can be different in different frequency bands.
  • the determination, whether the audio signal is noisy or tonal can also be performed frequency-selective so that a certain frequency band or several certain frequency bands are considered to be noisy and other frequency bands are considered to be tonal.
  • a certain time portion of the audio signal might include tonal components and noisy components.
  • the CELP encoder as illustrated in Fig. 6 includes a long-term prediction component 60 and a short-term prediction component 62. Furthermore, a codebook is used which is indicated at 64. A perceptual weighting filter W(z) is implemented at 66, and an error minimization controller is provided at 68. s(n) is the time-domain input audio signal. After having been perceptually weighted, the weighted signal is input into a subtractor 69, which calculates the error between the weighted synthesis signal at the output of block 66 and the actual weighted signal s w (n).
  • the short-term prediction A(z) is calculated by a LPC analysis stage which will be further discussed below.
  • the long-term prediction A L (z) includes the long-term prediction gain b and delay T (also known as pitch gain and pitch delay).
  • the ACELP algorithm encodes then the residual signal obtained after the short-term and long-term predictions using a codebook of for example Gaussian sequences.
  • the ACELP algorithm where the "A” stands for "algebraic" has a specific algebraically designed codebook.
  • the codebook may contain more or less vectors where each vector has a length according to a number of samples.
  • a gain factor g scales the code vector and the gained coded samples are filtered by the long-term synthesis filter and a short-term prediction synthesis filter.
  • the "optimum" code vector is selected such that the perceptually weighted mean square error is minimized.
  • the search process in CELP is evident from the analysis-by-synthesis scheme illustrated in Fig. 6 . It is to be noted, that Fig. 6 only illustrates an example of an analysis-by-synthesis CELP and that embodiments shall not be limited to the structure shown in Fig. 6 .
  • the long-term predictor is often implemented as an adaptive codebook containing the previous excitation signal.
  • the long-term prediction delay and gain are represented by an adaptive codebook index and gain, which are also selected by minimizing the mean square weighted error.
  • the excitation signal consists of the addition of two gain-scaled vectors, one from an adaptive codebook and one from a fixed codebook.
  • the perceptual weighting filter in AMR-WB+ is based on the LPC filter, thus the perceptually weighted signal is a form of an LPC domain signal.
  • the transform domain coder used in AMR-WB+ the transform is applied to the weighted signal.
  • the excitation signal can be obtained by filtering the decoded weighted signal through a filter consisting of the inverse of synthesis and weighting filters.
  • a filter consisting of the inverse of synthesis and weighting filters.
  • Fig. 7 illustrates a more detailed implementation of an embodiment of an LPC analysis block.
  • the audio signal is input into a filter determination block, which determines the filter information A(z), i.e. the information on coefficients for the synthesis filter. This information is quantized and output as the short-term prediction information required for the decoder.
  • a subtractor 786 a current sample of the signal is input and a predicted value for the current sample is subtracted so that for this sample, the prediction error signal is generated at line 784.
  • the prediction error signal may also be called excitation signal or excitation frame (usually after being encoded).
  • Fig. 8a shows another time sequence of windows achieved with another embodiment.
  • the AMR-WB+ codec corresponds to the second encoder 120 and the AAC codec corresponds to the first time domain aliasing introducing encoder 110.
  • the following embodiment keeps the AMR-WB+ codec framing, i.e. the second framing rule remains unmodified, but the windowing in the transition from the AMR-WB+ codec to the AAC codec is modified, the start/stop windows of the AAC codec is manipulated. In other words, the AAC codec windowing will be longer at the transition.
  • Figs. 8a and 8b illustrate this embodiment. Both Figures show a sequence of conventional AAC windows 801 where, in Fig. 8a a new modified stop window 802 is introduced and in Fig. 8b , a new stop/start window 803.
  • Similar framing is depicted as has already been described with respect to the embodiment in Fig. 3 is used.
  • the normal AAC codec framing is not kept, i.e. the modified start, stop or start/stop windows are used.
  • FIG. 8a is for the transition from AMR-WB+ to AAC, where the AAC codec will use a long stop window 802. Another window will be described with the help of Fig. 8b , which shows the transition from AMR-WB+ to AAC when the AAC codec will use a short window, using an AAC long window for this transition as indicated in Fig. 8b .
  • Fig. 8a shows that the first superframe 820 of the ACELP comprises four frames, i.e. is conform to the conventional ACELP framing, i.e. the second framing rule. In order to keep the ACELP framing rule, i.e. the second framing rule is kept unmodified, modified windows 802 and 803 as indicated in Figs. 8a and 8b are utilized.
  • Fig. 9 depicts a general rectangular window, in which the window sequence information may comprise a first zero part, in which the window masks samples, a second bypass part, in which the samples of a frame, i.e. an input time domain frame or an overlapping time domain frame, may be passed through unmodified, and a third zero part, which again masks samples at the end of a frame.
  • windowing functions may be applied, which suppress a number of samples of a frame in a first zero part, pass through samples in a second bypass part, and then suppress samples at the end of a frame in a third zero part.
  • suppressing may also refer to appending a sequence of zeros at the beginning and/or end of the bypass part of the window.
  • the second bypass part may be such, that the windowing function simply has a value of 1, i.e. the samples are passed through unmodified, i.e. the windowing function switches through the samples of the frame.
  • Fig. 10 shows another embodiment of a windowing sequence or windowing function, wherein the windowing sequence further comprises a rising edge part between the first zero part and the second bypass part and a falling edge part between the second bypass part and the third zero part.
  • the rising edge part can also be considered as a fade-in part and the falling edge part can be considered as a fade-out part.
  • the second bypass part may comprise a sequence of ones for not modifying the samples of the excitation frame at all.
  • the modified stop window as it is used in the embodiment transiting between the AMR-WB+ and AAC, when transiting from AMR-WB+ to AAC is depicted in more detail in Fig. 11.
  • Fig. 11 shows the ACELP frames 1101, 1102, 1103 and 1104.
  • the modified stop window 802 is then used for transiting to AAC, i.e. the first time domain aliasing introducing encoder 110, decoder 160, respectively.
  • the window starts already in the middle of frame 1102, having a first zero part of 512 samples.
  • This part is followed by the rising edge part of the window, which extends across 128 samples followed by the second bypass part which, in this embodiment, extends to 576 samples, i.e. 512 samples after the rising edge part to which the first zero part is folded, followed by 64 more samples of the second bypass part, which result from the third zero part at the end of the window extended across 64 samples.
  • the falling edge part of the window therewith results in 1024 samples, which are to be overlapped with the following window.
  • the above-described embodiment reduces the overhead generated at the transitions. It also removes the need for any modifications to the framing of the time domain coding, i.e. the second framing rule. Further, it also adapts the frequency domain coder, i.e. the time domain aliasing introducing encoder 110 (AAC), which is usually more flexible in terms of bit allocation and number of coefficients to transmit than a time domain coder, i.e. the second encoder 120.
  • AAC time domain aliasing introducing encoder 110
  • the audio encoder 100 or the audio decoder 150 may take a certain time before being in a permanent and stable state.
  • a certain time is required in order to initiate, for example, the coefficients of an LPC.
  • the left part of an AMR-WB+ input signal may be windowed with a short sine window at the encoder 120, for example, having a length of 64 samples.
  • the left part of the synthesis signal may be windowed with the same signal at the second decoder 170. In this way, the squared sine window can be applied similar to AAC, applying the squared sine to the right part of its start window.
  • the transition from AAC to AMR-WB+ can be carried out without time-aliasing and can be done by a short cross-fade sine window as, for example, 64 samples.
  • Fig. 12 shows a time line exemplifying a transition from AAC to AMR-WB+ and back to AAC.
  • Fig. 12 shows an AAC start window 1201 followed by the AMR-WB+ part 1203 overlapping with the AAC window 1201 and overlapping region 1202, which extends across 64 samples.
  • the AMR-WB+ part is followed by an AAC stop window 1205, overlapping by 128 samples.
  • the embodiment applies the respective aliasing-free window on the transition from AAC to AMR-WB+.
  • Fig. 13 displays the modified start window, as it is applied when transiting from AAC to AMR-WB+ on both sides at the encoder 100 and the decoder 150, the encoder 110 and the decoder 160, respectively.
  • the window depicted in Fig. 13 shows that the first zero part is not present.
  • the window starts right away with the rising edge part, which extends across 1024 samples, i.e. the folding axis is in the middle of the 1024 interval shown in Fig. 13 .
  • the symmetry axis is then on the right-hand side of the 1024 interval.
  • the third zero part extends to 512 samples, i.e. there is no aliasing at the right-hand part of the entire window, i.e. the bypass part extends from the center to the beginning of the 64 sample interval.
  • the falling edge part extends across 64 samples, providing the advantage that the cross-over section is narrow.
  • the 64 sample interval is used for cross-fading, however, no aliasing is present in this interval. Therefore, only low overhead is introduced.
  • Embodiments with the above-described modified windows are able to avoid encoding too much overhead information, i.e. encoding some of the samples twice.
  • similarly designed windows may be applied optionally for the transition from AMR-WB+ to AAC according to one embodiment where modifying again the AAC window, also reducing the overlap to 64 samples.
  • the modified stop window is lengthened to 2304 samples in one embodiment and is used in an 1152-point MDCT.
  • the left-hand part of the window can be made time-aliasing free by beginning the fade-in after the MDCT folding axis. In other words, by making the first zero part larger than a quarter of the entire MDTC size.
  • the complementary square sine window is then applied on the last 64 decoded samples of the AMR-WB+ segment.
  • Fig. 14 illustrates a window for the transition from AMR-WB+ to AAC as it may be applied at the encoder 100 side in one embodiment. It can be seen that the folding axis is after 576 samples, i.e. the first zero part extends across 576 samples. This consequences in the left-hand side of the entire window being aliasing-free.
  • the cross fade starts in the second quarter of the window, i.e. after 576 samples or, in other words, just beyond the folding axis.
  • the cross fade section i.e. the rising edge part of the window can then be narrowed to 64 samples according to Fig. 14 .
  • Fig. 15 shows the window for the transition from AMR-WB+ to ACC applied at the decoder 150 side in one embodiment.
  • the window is similar to the window described in Fig. 14 , such that applying both windows through the samples being encoded and then decoded again results in a squared sine window.
  • the following pseudo code describes an embodiment of a start window selection procedure, when switching from AAC to AMR-WB+.
  • Embodiments as described above reduce the generated overhead of information by using small overlap regions in consecutive windows during transition. Moreover, these embodiments provide the advantage that these small overlap regions are still sufficient to smooth the blocking artifacts, i.e. to have smooth cross fading. Furthermore, it reduces the impact of the burst of error due to the start of the time domain coder, i.e. the second encoder 120, decoder 170, respectively, by initializing it with a faded input.
  • Summarizing embodiments of the present invention provide the advantage that smoothed cross-over regions can be carried out in a multi-mode audio encoding concept at high coding efficiency, i.e. the transitional windows introduce only low overhead in terms of additional information to be transmitted. Moreover, embodiments enable to use multi-mode encoders, while adapting the framing or windowing of one mode to the other.
  • aspects have been described in the context of an apparatus, it is clear that these aspects also represent a description of the corresponding method, where a block or device corresponds to a method step or a feature of a method step. Analogously, aspects described in the context of a method step also represent a description of a corresponding block or item or feature of a corresponding apparatus.
  • the inventive encoded audio signal can be stored on a digital storage medium or can be transmitted on a transmission medium such as a wireless transmission medium or a wired transmission medium such as the Internet.
  • embodiments of the invention can be implemented in hardware or in software.
  • the implementation can be performed using a digital storage medium, for example a floppy disk, a DVD, a CD, a ROM, a PROM, an EPROM, an EEPROM or a FLASH memory, having electronically readable control signals stored thereon, which cooperate (or are capable of cooperating) with a programmable computer system such that the respective method is performed.
  • Some embodiments according to the invention comprise a data carrier having electronically readable control signals, which are capable of cooperating with a programmable computer system, such that one of the methods described herein is performed.
  • embodiments of the present invention can be implemented as a computer program product with a program code, the program code being operative for performing one of the methods when the computer program product runs on a computer.
  • the program code may for example be stored on a machine readable carrier.
  • inventions comprise the computer program for performing one of the methods described herein, stored on a machine readable carrier.
  • an embodiment of the inventive method is, therefore, a computer program having a program code for performing one of the methods described herein, when the computer program runs on a computer.
  • a further embodiment of the inventive methods is, therefore, a data carrier (or a digital storage medium, or a computer-readable medium) comprising, recorded thereon, the computer program for performing one of the methods described herein.
  • a further embodiment of the inventive method is, therefore, a data stream or a sequence of signals representing the computer program for performing one of the methods described herein.
  • the data stream or the sequence of signals may for example be configured to be transferred via a data communication connection, for example via the Internet.
  • a further embodiment comprises a processing means, for example a computer, or a programmable logic device, configured to or adapted to perform one of the methods described herein.
  • a processing means for example a computer, or a programmable logic device, configured to or adapted to perform one of the methods described herein.
  • a further embodiment comprises a computer having installed thereon the computer program for performing one of the methods described herein.
  • a programmable logic device for example a field programmable gate array
  • a field programmable gate array may cooperate with a microprocessor in order to perform one of the methods described herein.
  • the methods are preferably performed by any hardware apparatus.
  • an audio encoder 100 for encoding audio samples may comprise a first time domain aliasing introducing encoder 110 for encoding audio samples in a first encoding domain, the first time domain aliasing introducing encoder 110 having a first framing rule, a start window and a stop window; a second encoder 120 for encoding samples in a second encoding domain, the second encoder 120 having a predetermined frame size number of audio samples, and a coding warm-up period number of audio samples, the second encoder 120 having a different second framing rule, a frame of the second encoder 120 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 130 for switching from the first encoder 110 to the second encoder 120 in response to a characteristic of the audio samples, and for modifying the second framing rule in response to switching from the first encoder 110 to the second encoder 120 or for modifying the start window or the stop window of the
  • the first time-domain aliasing introducing encoder 110 may comprise a frequency domain transformer for transforming a first frame of subsequent audio samples to the frequency domain.
  • the first time-domain aliasing introducing encoder 110 may be adapted for weighting the last frame with the start window when a subsequent frame is encoded by the second encoder 120 and/or for weighting the first frame with the stop window when a preceding frame is to be encoded by the second encoder 120.
  • the frequency domain transformer may be adapted for transforming the first frame to the frequency domain based on a modified discrete cosine transformation (MDCT) and the first time domain aliasing introducing encoder 110 may be adapted for adapting a MDCT size to the start and/or stop and/or modified start and/or stop windows.
  • MDCT discrete cosine transformation
  • the first time-domain aliasing introducing encoder 110 may be adapted for utilizing a start window and/or a stop window having an aliasing part and/or an aliasing-free part.
  • the first time-domain aliasing introducing encoder 110 may be adapted for utilizing a start window and/or a stop window having an aliasing-free part as a rising edge part of the window when the preceding frame is encoded by the second encoder 120 and at a falling edge part when the subsequent frame is encoded by the second encoder 120.
  • the controller 130 may be adapted to start the second encoder 120, such that the first frame of a sequence of frames of the second encoder 120 comprises an encoded representation of a sample processed in the preceding aliasing-free part of the first encoder 110.
  • controller 130 may be adapted to start the second encoder 120, such that the coding warm-up period number of audio samples overlaps with the aliasing-free part of the start window of the first time-domain aliasing introducing encoder 110 and the subsequent frame of the second encoder 120 overlaps with the aliasing part of the stop window.
  • the controller 130 may be adapted to start the second encoder 120, such that the coding warm-up period overlaps with the aliasing part of the start window.
  • the controller 130 may further be adapted for switching from the second encoder 120 to the first encoder 110 in response to a different characteristic of the audio samples and for modifying the second framing rule in response to switching from the second encoder 120 to the first encoder 110 or for modifying the start window or the stop window of the first encoder 110, wherein the second framing rule remains unmodified.
  • the controller 130 may be adapted to start the first time domain aliasing introducing encoder 110, such that the aliasing part of the stop window overlaps the frame of the second encoder 120.
  • the controller 130 may be adapted to start the first time domain aliasing introducing encoder 110, such that the aliasing-free part of the stop window overlaps with a frame of the second encoder 120.
  • the first time-domain aliasing encoder 110 may comprise an AAC encoder according to Generic Coding of Moving Pictures and Associated Audio: Advanced Audio Coding, International Standard 13818-7, ISO/IEC JTC1/SC29/WG11 Moving Pictures Expert Group, 1997 .
  • the second encoder may comprise an AMR or AMR-WB+ encoder according to the Third Generation Partnership Project (3GPP), technical specification (TS), 26.290, version 6.3.0 as of June 2005 .
  • 3GPP Third Generation Partnership Project
  • TS technical specification
  • 26.290 version 6.3.0 as of June 2005 .
  • the controller may be adapted for modifying the AMR framing rule, such that the first AMR superframe comprises five AMR-frames.
  • a method for encoding audio frames may comprise the steps of: encoding audio samples in a first encoding domain using a first framing rule, a start window and a stop window; encoding audio samples in a second encoding domain using a predetermined frame size number of audio samples and a coding warm-up period number of audio samples and using a different second framing rule, the frame of the second encoding domain 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; switching from the first encoding domain to the second encoding domain; and modifying the second framing rule in response to switching from the first to the second encoding domain or modifying the start window or the stop window of the first encoding domain, wherein the second framing rule remains unmodified.
  • a computer program may have a program code for performing the method of the sixteenth aspect, when the program code runs on a computer or processor.
  • an audio decoder 150 for decoding encoded frames of audio samples may comprise: a first time domain aliasing introducing decoder 160 for decoding audio samples in a first decoding domain, the first time domain aliasing introducing decoder 160 having a first framing rule, a start window and a stop window; a second decoder 170 for decoding audio samples in a second decoding domain and the second decoder 170 having a predetermined frame size number of audio samples and a coding warm-up period number of audio samples, the second decoder 170 having a different second framing rule, a frame of the second encoder 170 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 180 for switching from the first decoder 160 to the second decoder 170 based on an indication in the encoded frame of audio samples, wherein the controller 180 is adapted for modifying the second framing rule in response to switching
  • the first decoder 160 of the audio decoder 150 may comprise a time domain transformer for transforming a first frame of decoded audio samples to the time domain.
  • the first decoder 160 may be adapted for weighting the last decoded frame with the start window when the subsequent frame is decoded by the second decoder 170 and/or for weighting the first decoded frame with the stop window when a preceding frame is to be decoded by the second decoder 170.
  • the time domain transformer of the audio decoder 150 may be adapted for transforming the first frame to the time domain based on an inverse MDCT (IMDCT) and wherein the first time domain aliasing introducing decoder 160 is adapted for adapting an IMDCT-size to the start and/or stop or modified start and/or stop windows.
  • IMDCT inverse MDCT
  • the first time-domain aliasing introducing decoder 160 may be adapted for utilizing a start window and/or a stop window having an aliasing part and a aliasing-free part.
  • the first time domain aliasing introducing decoder 110 may be adapted for utilizing a start window and/or a stop window having an aliasing-free part at a rising edge part of the window when the preceding frame is decoded by the second decoder 170 and at a falling edge part when the subsequent frame is encoded by the second decoder 170.
  • the controller 180 of the audio decoder 150 may be adapted to start the second decoder 170, such that the first frame of the sequence of frames of the second decoder 170 comprises an encoded representation of a sample processed in the preceding aliasing-free part of the first encoder 160.
  • the controller 180 may be adapted to start the second decoder 170, such that the coding warm-up period number of audio samples overlaps with the aliasing-free part of the start window of the first time domain aliasing introducing decoder 160 and the subsequent frame of the second decoder 170 overlaps with the aliasing part of the stop window.
  • the controller 180 may be adapted to start the second decoder 170, such that the coding warm-up period overlaps with the aliasing part of the stop window.
  • the controller 180 may further be adapted for switching from the second decoder 170 to the first decoder 160 in response to an indication from the audio samples and for modifying the second framing rule in response to switching from the second decoder 170 to the first decoder 160 or for modifying the start window or the stop window of the first decoder 160, wherein the second framing rule remains unmodified.
  • the controller 180 may be adapted to start the first time domain aliasing introducing decoder 160, such that the aliasing part of the stop window overlaps with a frame of the second decoder 170.
  • the controller 180 may be adapted for applying a cross-over fade between consecutive frames of decoded audio samples of different decoders.
  • the controller 180 may be adapted for determining an aliasing in an aliasing part of the start or stop window from a decoded frame of the second decoder 170 and for reducing the aliasing in the aliasing part based on the aliasing determined.
  • the controller 180 may be adapted for discarding the coding warm-up period of audio samples from the second decoder 170.
  • a method for decoding encoded frames of audio samples may comprise the steps of decoding audio samples in a first decoding domain, the first decoding domain introducing time aliasing and having a first framing rule, a start window and a stop window; decoding audio samples in a second decoding domain, the second decoding domain having a predetermined frame size number of audio samples and a coding warm-up period number of audio samples, the second decoding domain having a different second framing rule, a frame of the second decoding domain being a decoded representation of a number of timely subsequent audio samples, the number being equal to the predetermined frame size number of audio samples; and switching from the first decoding domain to the second decoding domain based on an indication from the encoded frame of audio samples; modifying the second framing rule in response to switching from the first coding domain to the second coding domain or modifying the start window and/or the stop window of the first decoding domain, wherein the second framing rule remains unmodified.
  • a computer program may have a program code for performing the method according to the thirty-second aspect, when the program code runs on a computer or processor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
EP15193589.7A 2008-07-11 2009-06-26 Audiocodierer und -decodierer zur codierung und decodierung von audioproben Ceased EP3002751A1 (de)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
US7985608P 2008-07-11 2008-07-11
US10382508P 2008-10-08 2008-10-08
EP09776858.4A EP2311032B1 (de) 2008-07-11 2009-06-26 Audiocodierer und decodierer zum codieren und decodieren von audioabtastwerten

Related Parent Applications (2)

Application Number Title Priority Date Filing Date
EP09776858.4A Division EP2311032B1 (de) 2008-07-11 2009-06-26 Audiocodierer und decodierer zum codieren und decodieren von audioabtastwerten
EP09776858.4A Division-Into EP2311032B1 (de) 2008-07-11 2009-06-26 Audiocodierer und decodierer zum codieren und decodieren von audioabtastwerten

Publications (1)

Publication Number Publication Date
EP3002751A1 true EP3002751A1 (de) 2016-04-06

Family

ID=55405050

Family Applications (1)

Application Number Title Priority Date Filing Date
EP15193589.7A Ceased EP3002751A1 (de) 2008-07-11 2009-06-26 Audiocodierer und -decodierer zur codierung und decodierung von audioproben

Country Status (1)

Country Link
EP (1) EP3002751A1 (de)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111739515B (zh) * 2019-09-18 2023-08-04 北京京东尚科信息技术有限公司 语音识别方法、设备、电子设备和服务器、相关系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030009325A1 (en) * 1998-01-22 2003-01-09 Raif Kirchherr Method for signal controlled switching between different audio coding schemes
WO2008071353A2 (en) 2006-12-12 2008-06-19 Fraunhofer-Gesellschaft Zur Förderung Der Angewandten Forschung E.V: Encoder, decoder and methods for encoding and decoding data segments representing a time-domain data stream
EP2373014A2 (de) * 2008-11-26 2011-10-05 Electronics and Telecommunications Research Institute Einheitlicher sprach/audio-codec (usac) zur verarbeitung von fenstersequenzen auf der basis von moduswechsel

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030009325A1 (en) * 1998-01-22 2003-01-09 Raif Kirchherr Method for signal controlled switching between different audio coding schemes
WO2008071353A2 (en) 2006-12-12 2008-06-19 Fraunhofer-Gesellschaft Zur Förderung Der Angewandten Forschung E.V: Encoder, decoder and methods for encoding and decoding data segments representing a time-domain data stream
EP2373014A2 (de) * 2008-11-26 2011-10-05 Electronics and Telecommunications Research Institute Einheitlicher sprach/audio-codec (usac) zur verarbeitung von fenstersequenzen auf der basis von moduswechsel

Non-Patent Citations (13)

* Cited by examiner, † Cited by third party
Title
"Audio Codec Processing Function; Extended Adaptive Multi-Rate-Wide Band Codec; Transcoding Functions", TECHNICAL SPECIFICATION 26.290, June 2005 (2005-06-01)
"Generic Coding of Moving Pictures and Associated Audio: Advanced Audio Coding", INTERNATIONAL STANDARD 13818-7, 1997
3GPP, TECHNICAL SPECIFICATION NUMBER 26.290, June 2005 (2005-06-01)
ANDREAS SPANIAS: "Speech Coding: A tutorial review", PROCEEDINGS OF IEEE, vol. 84, no. 10, October 1994 (1994-10-01), pages 1541 - 1582, XP000477675, DOI: doi:10.1109/5.326413
B. BESSETTE; R. LEFEBVRE; R. SALAMI: "UNIVERSAL SPEECH/AUDIO CODING USING HYBRID ACELP/TCX TECHNIQUES", PROC. IEEE ICASSP 2005, 2005, pages 301 - 304, XP055022141, DOI: doi:10.1109/ICASSP.2005.1415706
FIELDER, LOUIS D.; DAVIDSON, GRANT A.: "Audio Coding Tools for Digital Television Distribution", PREPRINT NUMBER 5104, 108TH CONVENTION OF THE AES, January 2000 (2000-01-01)
FIELDER, LOUIS D.; TODD, CRAIG C.: "The Design of a Video Friendly Audio Coding System for Distribution Applications", THE AES 17TH INTERNATIONAL CONFERENCE: HIGH-QUALITY AUDIO CODING, August 1999 (1999-08-01)
J. PRINCEN; Å. BRADLEY: "Analysis/Synthesis Filter Bank Design Based on Time Domain Aliasing Cancellation", IEEE TRANS. ASSP, ASSP, vol. 34, no. 5, 1986, pages 1153 - 1161, XP002003970, DOI: doi:10.1109/TASSP.1986.1164954
KIHO CHO ET AL: "Proposed core experiment on improved mode transition", 89. MPEG MEETING; 29-6-2009 - 3-7-2009; LONDON; (MOTION PICTURE EXPERT GROUP OR ISO/IEC JTC1/SC29/WG11),, no. M16635, 25 June 2009 (2009-06-25), XP030045232 *
LECOMTE J PRG A(C)R PRG A(C)MIE ET AL: "Efficient Cross-Fade Windows for Transitions between LPC-Based and Non-LPC Based Audio Coding", AES CONVENTION 126; MAY 2009, AES, 60 EAST 42ND STREET, ROOM 2520 NEW YORK 10165-2520, USA, 1 May 2009 (2009-05-01), XP040508994 *
NEUENDORF M ET AL: "Unified speech and audio coding scheme for high quality at low bitrates", ACOUSTICS, SPEECH AND SIGNAL PROCESSING, 2009. ICASSP 2009. IEEE INTERNATIONAL CONFERENCE ON, IEEE, PISCATAWAY, NJ, USA, 19 April 2009 (2009-04-19), pages 1 - 4, XP031459151, ISBN: 978-1-4244-2353-8 *
NEUENDORF MAX ET AL: "A Novel Scheme for Low Bitrate Unified Speech and Audio Coding - MPEG RM0", AES CONVENTION 126; MAY 2009, AES, 60 EAST 42ND STREET, ROOM 2520 NEW YORK 10165-2520, USA, 1 May 2009 (2009-05-01), XP040508995 *
TECHNICAL SPECIFICATION (TS), 26.290, June 2005 (2005-06-01)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111739515B (zh) * 2019-09-18 2023-08-04 北京京东尚科信息技术有限公司 语音识别方法、设备、电子设备和服务器、相关系统

Similar Documents

Publication Publication Date Title
EP2311032B1 (de) Audiocodierer und decodierer zum codieren und decodieren von audioabtastwerten
CA2730195C (en) Audio encoder and decoder for encoding and decoding frames of a sampled audio signal
US8595019B2 (en) Audio coder/decoder with predictive coding of synthesis filter and critically-sampled time aliasing of prediction domain frames
Neuendorf et al. Unified speech and audio coding scheme for high quality at low bitrates
CA2739736A1 (en) Multi-resolution switched audio encoding/decoding scheme
AU2013200679B2 (en) Audio encoder and decoder for encoding and decoding audio samples
EP3002751A1 (de) Audiocodierer und -decodierer zur codierung und decodierung von audioproben

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

AC Divisional application: reference to earlier application

Ref document number: 2311032

Country of ref document: EP

Kind code of ref document: P

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO SE SI SK TR

RIN1 Information on inventor provided before grant (corrected)

Inventor name: GRILL, BERNHARD

Inventor name: GOURNAY, PHILIPPE

Inventor name: LECOMTE, JEREMIE

Inventor name: BESSETTE, BRUNO

Inventor name: BAYER, STEFAN

Inventor name: MULTRUS, MARKUS

17P Request for examination filed

Effective date: 20161006

RBV Designated contracting states (corrected)

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO SE SI SK TR

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: EXAMINATION IS IN PROGRESS

17Q First examination report despatched

Effective date: 20170619

REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1223453

Country of ref document: HK

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION HAS BEEN REFUSED

18R Application refused

Effective date: 20190115

REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1223453

Country of ref document: HK