Audio encoder/decoder with switching between first and second encoders/decoders using first and second framing rules
First Claim
1. 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.
1 Assignment
0 Petitions
Accused Products
Abstract
An audio encoder for encoding audio samples has a first time domain aliasing introducing encoder configured to decode audio samples in a first encoding domain and having a first framing rule, a start window and a stop window. The audio encoder further has a second encoder configured to encode samples in a second encoding domain and having a predetermined frame size number of audio samples, and a coding warm-up period number of audio samples, the second encoder having a different second framing rule, a frame of the second encoder being an encoded representation of a number of successive audio samples that is equal to the predetermined frame size number of audio samples. The audio encoder further has a controller switching from the first to the second encoder and for modifying the second framing rule or for modifying the start or the stop window of the first encoder.
-
Citations
32 Claims
-
1. 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.
-
-
2. 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; a second encoder for encoding samples in a second encoding domain, the second encoder comprising a different second framing rule and comprising an AMR or AMR-WB+ encoder with the second framing rule being an AMR framing rule according to which a superframe comprises four AMR frames, the second encoder comprising a predetermined frame size number of audio samples for the superframe, and a coding warm-up period number of audio samples, a superframe 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 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 second framing rule in response to switching from the first encoder to the second encoder or from the second encoder to the first encoder to the extent that a first superframe at the switching comprises an increased frame size number of audio samples with comprising a fifth AMR frame in addition to the four AMR frames, with the fifth AMR frame respectively overlapping a fading part of a start window or a stop window of the first time domain aliasing introducing encoder. - View Dependent Claims (3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method for encoding audio frames, comprising:
-
encoding audio samples in a first encoding domain using a first framing rule, a start window and a stop window and by transforming a first frame of subsequent audio samples to the frequency domain based on a modified discrete cosine transformation (MDCT); 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; and using a processor, switching from the first encoding domain to the second encoding domain or vice versa, and modifying the start window or the stop window of the first encoding domain 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.
-
-
12. A method for encoding audio frames, comprising:
-
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 different second framing rule by way of AMR or AMR-WB+ encoding with the second framing rule being an AMR framing rule according to which a superframe comprises four AMR frames, and using a predetermined frame size number of audio samples for the superframe, the superframe 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; and using a processor, switching from the first encoding domain to the second encoding domain or vice versa, and modifying the second framing rule in response to switching from the first to the second encoding domain or from the second to the first encoding domain to the extent that a first superframe at the switching comprises an increased frame size number of audio samples with comprising a fifth AMR frame in addition to the four AMR frames, with the fifth AMR frame respectively overlapping a fading part of the start window or the stop window.
-
-
13. A non-transitory computer-readable medium having stored thereon a computer program comprising a program code for performing the method for encoding audio frames, the method comprising:
-
encoding audio samples in a first encoding domain using a first framing rule, a start window and a stop window and by transforming a first frame of subsequent audio samples to the frequency domain based on a modified discrete cosine transformation (MDCT); 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 or vice versa; and modifying the start window or the stop window of the first encoding domain 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, when the program code runs on a computer or processor.
-
-
14. A non-transitory computer-readable medium having stored thereon a computer program comprising a program code for performing the method for encoding audio frames, the method comprising:
-
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 different second framing rule by way of AMR or AMR-WB+ encoding with the second framing rule being an AMR framing rule according to which a superframe comprises four AMR frames, and using a predetermined frame size number of audio samples for the superframe, the superframe 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 or vice versa; and modifying the second framing rule in response to switching from the first to the second encoding domain or from the second to the first encoding domain to the extent that a first superframe at the switching comprises an increased frame size number of audio samples with comprising a fifth AMR frame in addition to the four AMR frames, with the fifth AMR frame respectively overlapping a fading part of a start window or a stop window of the first time domain aliasing introducing encoder, when the program code runs on a computer or processor.
-
-
15. An audio decoding apparatus for decoding encoded frames of audio samples, comprising:
-
a first time domain aliasing introducing decoder for decoding audio samples in a first decoding domain, the first time domain aliasing introducing decoder comprising a first framing rule, a start window and a stop window, the first decoder comprising a time domain transformer for transforming a first frame of decoded audio samples to the time domain based on an inverse modified discrete cosine transformation (IMDCT); a second decoder for decoding audio samples in a second decoding domain and the second decoder comprising a predetermined frame size number of audio samples and a coding warm-up period number of audio samples, the second decoder 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 decoder to the second decoder or vice versa based on an indication in the encoded frame of audio samples, wherein the controller is adapted for modifying the start window or the stop window of the first decoder 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. - View Dependent Claims (16, 17, 18, 19)
-
-
20. An audio decoding apparatus for decoding encoded frames of audio samples, comprising:
-
a first time domain aliasing introducing decoder for decoding audio samples in a first decoding domain, the first time domain aliasing introducing decoder comprising a first framing rule, a start window and a stop window, the first decoder comprising a time domain transformer for transforming a first frame of decoded audio samples to the time domain based on an inverse modified discrete cosine transformation (IMDCT); a second decoder for decoding audio samples in a second decoding domain, the second encoder comprising a different second framing rule and comprising an AMR or AMR-WB+ encoder with the second framing rule being an AMR framing rule according to which a superframe comprises four AMR frames, and the second decoder comprising a predetermined frame size number of audio samples for the superframe and a coding warm-up period number of audio samples, a superframe 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 decoder to the second decoder or vice versa based on an indication in the encoded frame of audio samples, wherein the controller is adapted for modifying the second framing rule in response to switching from the first decoder to the second decoder or from the second decoder to the first decoder to the extent that a first superframe at the switching comprises an increased frame size number of audio samples with comprising a fifth AMR frame in addition to the four AMR frames, with the fifth AMR frame respectively overlapping a fading part of a start window or a stop window of the first time domain aliasing introducing decoder. - View Dependent Claims (21, 22, 23, 24, 25, 26)
-
-
27. A method for decoding encoded frames of audio samples, comprising
decoding audio samples in a first decoding domain, the first decoding domain introducing time aliasing, comprising a first framing rule, a start window and a stop window, and using transforming a first frame of decoded audio samples to the time domain based on an inverse modified discrete cosine transformation (IMDCT); -
decoding audio samples in a second decoding domain, the second decoding domain comprising a predetermined frame size number of audio samples and a coding warm-up period number of audio samples, the second decoding domain comprising 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 using a processor, switching from the first decoding domain to the second decoding domain or vice versa based on an indication from the encoded frame of audio samples, and modifying the start window and/or the stop window of the first decoding domain 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.
-
-
28. A method for decoding encoded frames of audio samples, comprising
decoding audio samples in a first decoding domain, the first decoding domain introducing time aliasing, comprising a first framing rule, a start window and a stop window, and using transforming a first frame of decoded audio samples to the time domain based on an inverse modified discrete cosine transformation (IMDCT); -
decoding audio samples in a second decoding domain using a different second framing rule by AMR or AMR-WB+ encoding with the second framing rule being an AMR framing rule according to which a superframe comprises four AMR frames, the second decoding domain comprising a predetermined frame size number of audio samples and a coding warm-up period number of audio samples, a superframe 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 using a processor, switching from the first decoding domain to the second decoding domain or vice versa based on an indication from the encoded frame of audio samples, and modifying the second framing rule in response to switching from the first decoding domain to the second decoding domain or from the second to the first coding domain to the extent that a first superframe at the switching comprises an increased frame size number of audio samples with comprising a fifth AMR frame in addition to the four AMR frames, with the fifth AMR frame respectively overlapping a fading part of the start window or the stop window.
-
-
29. 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; a second encoder for encoding samples in a second encoding domain, the second encoder being a CELP encoder and comprising a predetermined frame size number of audio samples, and a warm-up period of a coding warm-up period number of audio samples during which period the second encoder experiences increased quantization noise, 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 and vice versa in response to a characteristic of the audio samples, and for modifying the second framing rule in response to the switching, wherein the first time-domain aliasing introducing encoder is adapted for utilizing a start window and/or a stop window comprising an aliasing part and an aliasing-free part, wherein the controller is adapted to, in response the switching, modify the second framing rule such that the first frame of a sequence of frames of the second encoder comprises an encoded representation of a sample processed in the aliasing-free part of the first encoder.
-
-
30. An audio decoding apparatus for decoding encoded frames of audio samples, comprising:
-
a first time domain aliasing introducing decoder for decoding audio samples in a first decoding domain, the first time domain aliasing introducing decoder comprising a first framing rule, a start window and a stop window; a second decoder for decoding audio samples in a second decoding domain and the second decoder being a CELP decoder comprising a predetermined frame size number of audio samples and a warm-up period of a coding warm-up period number of audio samples during which period the second encoder experiences increased quantization noise, the second decoder 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 decoder to the second decoder and vice versa based on an indication in the encoded frame of audio samples, wherein the controller is adapted for modifying the second framing rule in response to the switching, wherein the first time-domain aliasing introducing decoder is adapted for utilizing a start window and/or a stop window comprising an aliasing part and an aliasing-free part, wherein the controller is adapted to, in response the switching, modify the second framing rule such that the first frame of a sequence of frames of the second decoder comprises an encoded representation of a sample processed in the aliasing-free part of the first decoder, with the second decoder being adapted to decode and discard the encoded representation of the sample.
-
-
31. A non-transitory computer-readable medium having stored thereon a computer program comprising a program code for performing the method for decoding encoded frames of audio samples, said method comprising
decoding audio samples in a first decoding domain, the first decoding domain introducing time aliasing, comprising a first framing rule, a start window and a stop window, and using transforming a first frame of decoded audio samples to the time domain based on an inverse modified discrete cosine transformation (IMDCT); -
decoding audio samples in a second decoding domain, the second decoding domain comprising a predetermined frame size number of audio samples and a coding warm-up period number of audio samples, the second decoding domain comprising 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 or vice versa based on an indication from the encoded frame of audio samples; modifying the start window and/or the stop window of the first decoding domain 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, when the program code runs on a computer or processor.
-
-
32. A non-transitory computer-readable medium having stored thereon a computer program comprising a program code for performing the method for decoding encoded frames of audio samples, said method comprising
decoding audio samples in a first decoding domain, the first decoding domain introducing time aliasing, comprising a first framing rule, a start window and a stop window, and using transforming a first frame of decoded audio samples to the time domain based on an inverse modified discrete cosine transformation (IMDCT); -
decoding audio samples in a second decoding domain using a different second framing rule by AMR or AMR-WB+ encoding with the second framing rule being an AMR framing rule according to which a superframe comprises four AMR frames, the second decoding domain comprising a predetermined frame size number of audio samples and a coding warm-up period number of audio samples, a superframe 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 or vice versa based on an indication from the encoded frame of audio samples; modifying the second framing rule in response to switching from the first decoding domain to the second decoding domain or from the second encoder to the first encoder to the extent that a first superframe at the switching comprises an increased frame size number of audio samples with comprising a fifth AMR frame in addition to the four AMR frames, with the fifth AMR frame respectively overlapping a fading part of a start window or a stop window of the first time domain aliasing introducing encoder, when the program code runs on a computer or processor.
-
Specification