Method and apparatus for encoding and decoding an audio signal using adaptively switched temporal resolution in the spectral domain
Abstract
Perceptual audio codecs make use of filter banks and MDCT in order to achieve a compact representation of the audio signal, by removing redundancy and irrelevancy from the original audio signal. During quasi-stationary parts of the audio signal a high frequency resolution of the filter bank is advantageous in order to achieve a high coding gain, but this high frequency resolution is coupled to a coarse temporal resolution that becomes a problem during transient signal parts by producing audible pre-echo effects. The invention achieves improved coding/decoding quality by applying on top of the output of a first filter bank a second non-uniform filter bank, i.e. a cascaded MDCT. The inventive codec uses switching to an additional extension filter bank (or multi-resolution filter bank) in order to re-group the time-frequency representation during transient or fast changing audio signal sections. By applying a corresponding switching control, pre-echo effects are avoided and a high coding gain and a low coding delay are achieved.

Term
Projected expiry 14 June 2027.
- Priority and filed
- Published
- Today
- Projected expiry
12 claims: 5 independent, 7 dependent
- 1Method for encoding an input signal (CIS), e.g. an audio signal, using a first transform (MDCT-1) into the frequency domain being applied to first-length (N L ) sections of said input signal, and using adaptive switching of the temporal resolution, followed by quantisation and entropy encoding (QUCOD) of the values of the resulting frequency domain bins, wherein control (PSYM, FBCTL) of said switching, quantisation and/or entropy encoding is derived from a psycho-acoustic analysis of said input signal, characterised by the step of:- adaptively controlling (SW1, SW2, SWI) said temporal resolution by performing a second transform (MDCT-2) following said first transform (MDCT-1) and being applied to second-length (N short ) sections of said transformed first-length sections, wherein said second length is smaller than said first length (N L ) and either the output values of said first transform or the output values of said second transform are processed in said quantisation and entropy encoding (QUCOD);- attaching (STRPCK) to the encoding output signal (COS) corresponding temporal resolution control information (SWI) as side information.
- 2Apparatus for encoding an input signal (CIS), e.g. an audio signal, said apparatus including:- first transform means (MDCT-1) being adapted for transforming first-length (N L ) sections of said input signal into the frequency domain;- second transform means (MDCT-2) being adapted for transforming second-length (N short ) sections of said transformed first-length sections, wherein said second length is smaller than said first length (N L );- means (QUCOD) being adapted for quantising and entropy encoding the output values of said first transform means or the output values of said second transform means;- means (PSYM, FBCTL) being adapted for controlling said quantisation and/or entropy encoding and for controlling adaptively whether said output values of said first transform means or the output values of said second transform means are processed in said quantising and entropy encoding means, wherein said controlling is derived from a psycho-acoustic analysis of said input signal;- means (STRPCK) being adapted for attaching to the encoding apparatus output signal (COS) corresponding temporal resolution control information (SWI) as side information.
- 3Method for decoding an encoded signal (DIS), e.g. an audio signal, that was encoded using a first transform (MDCT-1) into the frequency domain being applied to first-length (N L ) sections of said input signal, wherein the temporal resolution was adaptively switched (SW1, SW2) by performing a second transform (MDCT-2) following said first transform (MDCT-1) and being applied to second-length (N short ) sections of said transformed first-length sections, wherein said second length is smaller than said first length (N L ) and either the output values of said first transform or the output values of said second transform were processed in a quantisation and entropy encoding (QUCOD), and wherein control (PSYM, FBCTL) of said switching, quantisation and/or entropy encoding was derived from a psycho-acoustic analysis of said input signal and corresponding temporal resolution control information (SWI) was attached (STRPCK) to the encoding output signal (COS) as side information, said decoding method including the steps of:- providing (DPCRQU) from said encoded signal (DIS) said side information (SWI);- inversely quantising and entropy decoding (DPCRQU) said encoded signal (DIS);- corresponding to said side information, either (SW3, SW4) performing a first inverse transform (iMDCT-1) into the time domain, said first inverse transform operating on first-length (N L ) signal sections of said inversely quantised and entropy decoded signal and said first inverse transform providing the decoded signal (DOS), or processing second-length (N short ) sections of said inversely quantised and entropy decoded signal in a second inverse transform (iMDCT-2) before performing said first inverse transform (iMDCT-1).
- 4Apparatus for decoding an encoded signal (DIS), e.g. an audio signal, that was encoded using a first transform (MDCT-1) into the frequency domain being applied to first-length (N L ) sections of said input signal, wherein the temporal resolution was adaptively switched (SW1, SW2) by performing a second transform (MDCT-2) following said first transform (MDCT-1) and being applied to second-length (N short ) sections of said transformed first-length sections, wherein said second length is smaller than said first length (N L ) and either the output values of said first transform or the output values of said second transform were processed in a quantisation and entropy encoding (QUCOD), and wherein control (PSYM, FBCTL) of said switching, quantisation and/or entropy encoding was derived from a psycho-acoustic analysis of said input signal and corresponding temporal resolution control information (SWI) was attached (STRPCK) to the encoding output signal (COS) as side information, said apparatus including:- means (DPCRQU) being adapted for providing from said encoded signal (DIS) said side information (SWI) and for inversely quantising and entropy decoding said encoded signal;- means (iMDCT-1, iMDCT-2, SW3, SW4) being adapted for, corresponding to said side information, either performing a first inverse transform into the time domain, said first inverse transform operating on first-length (N L ) signal sections of said inversely quantised and entropy decoded signal and said first inverse transform providing the decoded signal (DOS), or processing second-length (N short ) sections of said inversely quantised and entropy decoded signal in a second inverse transform before performing said first inverse transform.
Independent claims7
46 paragraphs, as filed
0001The invention relates to a method and to an apparatus for encoding and decoding an audio signal using transform coding and adaptive switching of the temporal resolution in the spectral domain.
Background
0002Perceptual audio codecs make use of filter banks and MDCT (modified discrete cosine transform, a forward transform) in order to achieve a compact representation of the audio signal, i.e. a redundancy reduction, and to be able to reduce irrelevancy from the original audio signal. During quasi-stationary parts of the audio signal a high frequency or spectral resolution of the filter bank is advantageous in order to achieve a high coding gain, but this high frequency resolution is coupled to a coarse temporal resolution that becomes a problem during transient signal parts. A well-know consequence are audible pre-echo effects.
0003<nplcit id="ncit0001" npl-type="s"><text>B. Edler, "Codierung von Audiosignalen mit überlappender Transformation und adaptiven Fensterfunktionen", Frequenz, Vol.43, No.9, p.252-256, September 1989</text></nplcit>, discloses adaptive window switching in the time domain and/or transform length switching, which is a switching between two resolutions by alternatively using two window functions with different length. <patcit id="pcit0001" dnum="US6029126A"><text>US-A-6029126</text></patcit> describes a long transform, whereby the temporal resolution is increased by combining spectral bands using a matrix multiplication. Switching between different fixed resolutions is carried out in order to avoid window switching in the time domain. This can be used to create non-uniform filter-banks having two different resolutions. <patcit id="pcit0002" dnum="WO03019532A"><text>WO-A-03/019532</text></patcit> discloses sub-band merging in cosine modulated filter-banks, which is a very complex way of filter design suited for poly-phase filter bank construction.
Invention
0004The above-mentioned window and/or transform length switching disclosed by Edler is sub-optimum because of long delay due to long look-ahead and low frequency resolution of short blocks, which prevents providing a sufficient resolution for optimum irrelevancy reduction.
0005A problem to be solved by the invention is to provide an improved coding/decoding gain by applying a high frequency resolution as well as high temporal resolution for transient audio signal parts. This problem is solved by the methods disclosed in claims 1 and 3. Apparatuses that utilise these methods are disclosed in claims 2 and 4.
0006The invention achieves improved coding/decoding quality by applying on top of the output of a first filter bank a second non-uniform filter bank, i.e. a cascaded MDCT. The inventive codec uses switching to an additional extension filter bank (or multi-resolution filter bank) in order to regroup the time-frequency representation during transient or fast changing audio signal sections. By applying a corresponding switching control, pre-echo effects are avoided and a high coding gain is achieved. Advantageously, the inventive codec has a low coding delay (no look-ahead).
0007In principle, the inventive encoding method is suited for encoding an input signal, e.g. an audio signal, using a first transform into the frequency domain being applied to first-length sections of said input signal, and using adaptive switching of the temporal resolution, followed by quantisation and entropy encoding of the values of the resulting frequency domain bins, wherein control of said switching, quantisation and/or entropy encoding is derived from a psycho-acoustic analysis of said input signal, including the steps of: <ul id="ul0001" list-style="dash" compact="compact"><li>adaptively controlling said temporal resolution is achieved by performing a second transform following said first transform and being applied to second-length sections of said transformed first-length sections, wherein said second length is smaller than said first length and either the output values of said first transform or the output values of said second transform are processed in said quantisation and entropy encoding;</li><li>attaching to the encoding output signal corresponding temporal resolution control information as side information.</li></ul>
0008In principle the inventive encoding apparatus is suited for encoding an input signal, e.g. an audio signal, said apparatus including: <ul id="ul0002" list-style="dash" compact="compact"><li>first transform means being adapted for transforming first-length sections of said input signal into the frequency domain;</li><li>second transform means being adapted for transforming second-length sections of said transformed first-length sections, wherein said second length is smaller than said first length;</li><li>means being adapted for quantising and entropy encoding the output values of said first transform means or the output values of said second transform means;</li><li>means being adapted for controlling said quantisation and/or entropy encoding and for controlling adaptively whether said output values of said first transform means or the output values of said second transform means are processed in said quantising and entropy encoding means, wherein said controlling is derived from a psycho-acoustic analysis of said input signal;</li><li>means being adapted for attaching to the encoding apparatus output signal corresponding temporal resolution control information as side information.</li></ul>
0009In principle, the inventive decoding method is suited for decoding an encoded signal, e.g. an audio signal, that was encoded using a first transform into the frequency domain being applied to first-length sections of said input signal, wherein the temporal resolution was adaptively switched by performing a second transform following said first transform and being applied to second-length sections of said transformed first-length sections, wherein said second length is smaller than said first length and either the output values of said first transform or the output values of said second transform were processed in a quantisation and entropy encoding, and wherein control of said switching, quantisation and/or entropy encoding was derived from a psycho-acoustic analysis of said input signal and corresponding temporal resolution control information was attached to the encoding output signal as side information, said decoding method including the steps of: <ul id="ul0003" list-style="dash" compact="compact"><li>providing from said encoded signal said side information;</li><li>inversely quantising and entropy decoding said encoded signal;</li><li>corresponding to said side information, either performing a first inverse transform into the time domain, said first inverse transform operating on first-length signal sections of said inversely quantised and entropy decoded signal and said first inverse transform providing the decoded signal, or processing second-length sections of said inversely quantised and entropy decoded signal in a second inverse transform before performing said first inverse transform.</li></ul>
0010In principle, the inventive decoding apparatus is suited for decoding an encoded signal, e.g. an audio signal, that was encoded using a first transform into the frequency domain being applied to first-length sections of said input signal, wherein the temporal resolution was adaptively switched by performing a second transform following said first transform and being applied to second-length sections of said transformed first-length sections, wherein said second length is smaller than said first length and either the output values of said first transform or the output values of said second transform were processed in a quantisation and entropy encoding, and wherein control of said switching, quantisation and/or entropy encoding was derived from a psycho-acoustic analysis of said input signal and corresponding temporal resolution control information was attached to the encoding output signal as side information, said apparatus including: <ul id="ul0004" list-style="dash" compact="compact"><li>means being adapted for providing from said side information and for inversely quantising and entropy decoding said encoded signal;</li><li>means being adapted for, corresponding to said side information, either performing a first inverse transform into the time domain, said first inverse transform operating on first-length signal sections of said inversely quantised and entropy decoded signal and said first inverse transform providing the decoded signal,</li></ul> or processing second-length sections of said inversely quantised and entropy decoded signal in a second inverse transform before performing said first inverse transform.
0011Advantageous additional embodiments of the invention are disclosed in the respective dependent claims.
Drawings
0012Exemplary embodiments of the invention are described with reference to the accompanying drawings, which show in: <dl id="dl0001" compact="compact"><dt>Fig. 1</dt><dd>inventive encoder;</dd><dt>Fig. 2</dt><dd>inventive decoder;</dd><dt>Fig. 3</dt><dd>a block of audio samples that is windowed and transformed with a long MDCT, and series of non-uniform MDCTs applied to the frequency data;</dd><dt>Fig. 4</dt><dd>changing the time-frequency resolution by changing the block length of the MDCT;</dd><dt>Fig. 5</dt><dd>transition windows;</dd><dt>Fig. 6</dt><dd>window sequence example for second-stage MDCTs;</dd><dt>Fig. 7</dt><dd>start and stop windows for first and last MDCT;</dd><dt>Fig. 8</dt><dd>time domain signal of a transient, T/F plot of first MDCT stage and T/F plot of second-stage MDCTs with an 8-fold temporal resolution topology;</dd><dt>Fig. 9</dt><dd>time domain signal of a transient, second-stage filter bank T/F plot of a single, 2-fold, 4-fold and 8-fold temporal resolution topology;</dd><dt>Fig. 10</dt><dd>more detail for the window processing according to <figref idref="f0002">Fig. 6</figref>.</dd></dl>
Exemplary embodiments
0013In <figref idref="f0001">Fig. 1</figref>, the magnitude values of each successive overlapping block or segment or section of samples of a coder input audio signal CIS are weighted by a window function and transformed in a long (i.e. a high frequency resolution) MDCT filter bank or transform stage or step MDCT-1, providing corresponding transform coefficients or frequency bins. During transient audio signal sections a second MDCT filter bank or transform stage or step MDCT-2, either with shorter fixed transform length or preferably a multi-resolution MDCT filter bank having different shorter transform lengths, is applied to the frequency bins of the first transform in order to change the frequency and temporal filter resolutions, i.e. a series of non-uniform MDCTs is applied to the frequency data, whereby a non-uniform time/frequency representation is generated. The amplitude values of each successive overlapping section of frequency bins of the first transform are weighted by a window function prior to the second-stage transform. The window functions used for the weighting are explained in connection with <figref idref="f0002 f0003">figures 4 to 7</figref> and equations (3) and (4). In case of MDCT or integer MDCT transforms, the sections are 50% overlapping. In case a different transform is used the degree of overlapping can be different. In case only two different transform lenghts are used for stage or step MDCT-2, that step or stage when considered alone is similar to the above-mentioned Edler codec. The switching on or off of the second MDCT filter bank MDCT-2 can be performed using first and second switches SW1 and SW2 and is controlled by a filter bank control unit or step FBCTL that is integrated into, or is operating in parallel to, a psycho-acoustic analyser stage or step PSYM, which both receive signal CIS. Stage or step PSYM uses temporal and spectral information from the input signal CIS. The topology or status of the 2nd stage filter MDCT-2 is coded as side information into the coder output bit stream COS. The frequency data output from switch SW2 is quantised and entropy encoded in a quantiser and entropy encoding stage or step QUCOD that is controlled by psycho-acoustic analyser PSYM, in particular the quantisation step sizes. The output from stages QUCOD (encoded frequency bins) and FBCTL (topology or status information or temporal resolution control information or switching information SWI or side information) is combined in a stream packer step or stage STRPCK and forms the output bit stream COS. The quantising can be replaced by inserting a distortion signal.
0014In <figref idref="f0001">Fig. 2</figref>, at decoder side, the decoder input bit stream DIS is de-packed and correspondingly decoded and inversely 'quantised' (or re-quantised) in a depacking, decoding and re-quantising stage or step DPCRQU, which provides correspondingly decoded frequency bins and switching information SWI. A correspondingly inverse non-uniform MDCT step or stage iMDCT-2 is applied to these decoded frequency bins using e.g. switches SW3 and SW4, if so signalled by the bit stream via switching information SWI. The amplitude values of each successive section of inversely transformed values are weighted by a window function following the transform in step or stage iMDCT-2, which weighting is followed by an overlap-add processing. The signal is reconstructed by applying either to the decoded frequency bins or to the output of step or stage iMDCT-2 a correspondingly inverse high-resolution MDCT step or stage iMDCT-1. The amplitude values of each successive section of inversely transformed values are weighted by a window function following the transform in step or stage iMDCT-1, which weighting is followed by an overlap-add processing. Thereafter, the PCM audio decoder output signal DOS. The transform lengths applied at decoding side mirror the corresponding transport lengths applied at encoding side. The window functions used for the weighting are explained in connection with <figref idref="f0002 f0003">figures 4 to 7</figref> and equations (3) and (4). In case of inverse MDCT or inverse integer MDCT transforms, the sections are 50% overlapping. In case a different inverse transform is used the degree of overlapping can be different.
0015<figref idref="f0001">Fig. 3</figref> depicts the above-mentioned processing, i.e. applying first and second stage filter banks. On the left side a block of time domain samples is windowed and transformed in a long MDCT to the frequency domain. During transient audio signal sections a series of non-uniform MDCTs is applied to the frequency data to generate a non-uniform time/frequency representation shown at the right side of <figref idref="f0001">Fig. 3</figref>. The time/frequency representations are displayed in grey or hatched. The time/frequency representation (on the left side) of the first stage transform or filter bank MDCT-1 offers a high frequency or spectral resolution that is optimum for encoding stationary signal sections. Filter banks MDCT-1 and iMDCT-1 represent a constant-size MDCT and iMDCT pair with 50% overlapping blocks. Overlay-and-add (OLA) is used in filter bank iMDCT-1 to cancel the time domain alias. Therefore the filter bank pair MDCT-1 and iMDCT-1 is capable of theoretical perfect reconstruction. Fast changing signal sections, especially transient signals, are better represented in time/frequency with resolutions matching the human perception or representing a maximum signal compaction tuned to time/frequency. This is achieved by applying the second transform filter bank MDCT-2 onto a block of selected frequency bins of the first transform filter bank MDCT-1. The second transform is characterised by using 50% overlapping windows of different sizes, using transition window functions (i.e. `Edler window functions' each of which having asymmetric slopes) when switching from one size to another, as shown in the medium section of <figref idref="f0001">Fig. 3</figref>. Window sizes start from length 4 to length 2<sup>n</sup>, wherein n is an integer number greater 2. A window size of '4' combines two frequency bins and doubled time resolution, a window size of 2<sup>n</sup> combines 2<sup>(n-1)</sup> frequency bins and increases the temporal resolution by factor 2<sup>(n-1)</sup>. Special start and stop window functions (transition windows) are used at the beginning and at the end of the series of MDCTs. At decoding side, filter bank iMDCT-2 applies the inverse transform including OLA. Thereby the filter bank pair MDCT-2/iMDCT-2 is capable of theoretical perfect reconstruction. The output data of filter bank MDCT-2 is combined with single-resolution bins of filter bank MDCT-1 which were not included when applying filter bank MDCT-2. The output of each transform or MDCT of filter bank MDCT-2 can be interpreted as <i>time-reversed</i> temporal samples of the combined frequency bins of the first transform. Advantageously, a construction of a non-uniform time/frequency representation as depicted at the right side of <figref idref="f0001">Fig. 3</figref> now becomes feasible.
0016The filter bank control unit or step FBCTL performs a signal analysis of the actual processing block using time data and excitation patterns from the psycho-acoustic model in psycho-acoustic analyser stage or step PSYM. In a simplified embodiment it switches during transient signal sections to fixed-filter topologies of filter bank MDCT-2, which filter bank may make use of a time/frequency resolution of human perception. Advantageously, only few bits of side information are required for signalling to the decoding side, as a code-book entry, the desired topology of filter bank iMDCT-2.
0017In a more complex embodiment, the filter bank control unit or step FBCTL evaluates the spectral and temporal flatness of input signal CIS and determines a flexible filter topology of filter bank MDCT-2. In this embodiment it is sufficient to transmit to the decoder the coded starting locations of the start window, transition window and stop window positions in order to enable the construction of filter bank iMDCT-2.
0018The psycho-acoustic model makes use of the high spectral resolution equivalent to the resolution of filter bank MDCT-1 and, at the same time, of a coarse spectral but high temporal resolution signal analysis. This second resolution can match the coarsest frequency resolution of filter bank MDCT-2. As an alternative, the psycho-acoustic model can also be driven directly by the output of filter bank MDCT-1, and during transient signal sections by the time/frequency representation as depicted at the right side of <figref idref="f0001">Fig. 3</figref> following applying filter bank MDCT-2.
0019In the following, a more detailed system description is provided.
The MDCT
0020The Modified Discrete Cosine Transformation (MDCT) and the inverse MDCT (iMDCT) can be considered as representing a critically sampled filter bank. The MDCT was first named "Oddly-stacked time domain alias cancellation transform" by <nplcit id="ncit0002" npl-type="s"><text>J.P. Princen and A.B. Bradley in "Analysis/synthesis filter bank design based on time domain aliasing cancellation", IEEE Transactions on Acoust. Speech Sig. Proc. ASSP-34 (5), pp.1153-1161, 1986</text></nplcit>. <nplcit id="ncit0003" npl-type="b"><text>H.S. Malvar, "Signal processing with lapped transform", Artech House Inc., Norwood, 1992</text></nplcit>, and <nplcit id="ncit0004" npl-type="s"><text>M. Temerinac, B. Edler, "A unified approach to lapped orthogonal transforms", IEEE Transactions on Image Processing, Vol.1, No.1, pp.111-116, January 1992</text></nplcit>, have called it "Modulated Lapped Transform (MLT)" and have shown its relations to lapped orthogonal transforms in general and have also proved it to be a special case of a QMF filter bank. The equations of the transform and the inverse transform are given in equations (1) and (2): <maths id="math0001" num="(1)"><math display="block"><mtable><mtr><mtd><mi>X</mi><mfenced><mi>k</mi></mfenced><mo>=</mo><msqrt><mfrac><mn>2</mn><mi>N</mi></mfrac></msqrt><mstyle displaystyle="true"><munderover><mo>∑</mo><mrow><mi>n</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>N</mi><mo>-</mo><mn>1</mn></mrow></munderover></mstyle><mi>h</mi><mfenced><mi>n</mi></mfenced><mo>⋅</mo><mi>x</mi><mfenced><mi>n</mi></mfenced><mo>⋅</mo><mi>cos</mi><mfenced open="[" close="]"><mfrac><mi mathvariant="italic">π</mi><mi>K</mi></mfrac><mo>⋅</mo><mfenced><mi>n</mi><mo>+</mo><mfrac><mrow><mi>K</mi><mo>+</mo><mn>1</mn></mrow><mn>2</mn></mfrac></mfenced><mo>⋅</mo><mfenced><mi>k</mi><mo>+</mo><mfrac><mn>1</mn><mn>2</mn></mfrac></mfenced></mfenced></mtd><mtd><mo>,</mo><mi>k</mi><mo>=</mo><mn>0</mn><mo>,</mo><mn>1..</mn><mo>,</mo><mi>K</mi><mo>-</mo><mn>1</mn><mo>;</mo><mi>K</mi><mo>=</mo><mi>N</mi><mo>/</mo><mn>2</mn></mtd></mtr></mtable></math><img file="EP2015293A1_D0001.tif" /></maths><maths id="math0002" num="(2)"><math display="block"><mtable><mtr><mtd><mi>x</mi><mfenced><mi>n</mi></mfenced><mo>=</mo><msqrt><mfrac><mn>2</mn><mi>N</mi></mfrac></msqrt><mstyle displaystyle="true"><munderover><mo>∑</mo><mrow><mi>k</mi><mo>=</mo><mn>0</mn></mrow><mrow><mi>K</mi><mo>-</mo><mn>1</mn></mrow></munderover></mstyle><mi>h</mi><mfenced><mi>n</mi></mfenced><mo>⋅</mo><mi>X</mi><mfenced><mi>k</mi></mfenced><mo>⋅</mo><mi>cos</mi><mfenced open="[" close="]"><mfrac><mi mathvariant="italic">π</mi><mi>K</mi></mfrac><mo>⋅</mo><mfenced><mi>n</mi><mo>+</mo><mfrac><mrow><mi>K</mi><mo>+</mo><mn>1</mn></mrow><mn>2</mn></mfrac></mfenced><mo>⋅</mo><mfenced><mi>k</mi><mo>+</mo><mfrac><mn>1</mn><mn>2</mn></mfrac></mfenced></mfenced></mtd><mtd><mo>,</mo><mi>n</mi><mo>=</mo><mn>0</mn><mo>,</mo><mn>1..</mn><mo>,</mo><mi>N</mi><mo>-</mo><mn>1</mn></mtd></mtr></mtable></math><img file="EP2015293A1_D0002.tif" /></maths> In these transforms, 50% overlaying blocks are processed. At encoding side, in each case, a block of N samples is windowed and the magnitude values are weighted by window function h(n) and is thereafter transformed to K=N/2 frequency bins, wherein N is an integer number. At decoding side, the inverse transform converts in each case M frequency bins to N time samples and thereafter the magnitude values are weighted by window function h(n), wherein N and M are integer numbers. A following overlay-add procedure cancels out the time alias. The window function h(n) must fulfil some constraints to enable perfect reconstruction, see equations (3) and (4) : <maths id="math0003" num="(3)"><math display="block"><msup><mi>h</mi><mn>2</mn></msup><mo></mo><mfenced><mi>n</mi><mo>+</mo><mi>N</mi><mo>/</mo><mn>2</mn></mfenced><mo>+</mo><msup><mi>h</mi><mn>2</mn></msup><mfenced><mi>n</mi></mfenced><mo>=</mo><mn>1</mn></math><img file="EP2015293A1_D0003.tif" /></maths><maths id="math0004" num="(4)"><math display="block"><mi>h</mi><mfenced><mi>n</mi></mfenced><mo>=</mo><mi>h</mi><mo></mo><mfenced><mi>N</mi><mo>-</mo><mi>n</mi><mo>-</mo><mn>1</mn></mfenced></math><img file="EP2015293A1_D0004.tif" /></maths>
0021Analysis and synthesis window functions can also be different but the inverse transform lengths used in the decoding correspond to the transform lengths used in the encoding. However, this option is not considered here. A suitable window function is the sine window function given in (5): <maths id="math0005" num="(5)"><math display="block"><msub><mi>h</mi><mi>sin</mi></msub><mfenced><mi>n</mi></mfenced><mo>=</mo><mi>sin</mi><mfenced><mi mathvariant="normal">π</mi><mo>⋅</mo><mfrac><mrow><mi>n</mi><mo>+</mo><mn>0.5</mn></mrow><mi>N</mi></mfrac></mfenced><mo>,</mo><mspace width="1em" /><mi>n</mi><mo>=</mo><mn mathvariant="normal">0...</mn><mo></mo><mi mathvariant="normal">N</mi><mo>-</mo><mn>1</mn></math><img file="EP2015293A1_D0005.tif" /></maths>
0022In the above-mentioned article, Edler has shown switching the MDCT time-frequency resolution using transition windows. An example of switching (caused by transient conditions) using transition windows 1, 10 from a long transform to eight short transforms is depicted in the bottom part of <figref idref="f0002">Fig. 4</figref>, which shows the gain G of the window functions in vertical direction and the time, i.e. the input signal samples, in horizontal direction. In the upper part of this figure three successive basic window functions A, B and C as applied in steady state conditions are shown.
0023The transition window functions have the length N<sub>L</sub> of the long transform. At the smaller-window side end there are r zero-amplitude window function samples. Towards the window function centre located at N<sub>L</sub>/2, a mirrored half-window function for the small transform (having a length of N<sub>short</sub> samples) is following, further followed by r window function samples having a value of 'one' (or a 'unity' constant). The principle is depicted for a transition to short window at the left side of <figref idref="f0002">Fig. 5</figref> and for a transition from short window at the right side of <figref idref="f0002">Fig. 5</figref>. Value r is given by <maths id="math0006" num="(6)"><math display="block"><mi>r</mi><mo mathvariant="normal">=</mo><mfenced><msub><mi mathvariant="normal">N</mi><mi mathvariant="normal">L</mi></msub><mo mathvariant="normal">-</mo><msub><mi mathvariant="normal">N</mi><mi>short</mi></msub></mfenced><mo mathvariant="normal">/</mo><mn mathvariant="normal">4</mn></math><img file="EP2015293A1_D0006.tif" /></maths>
Multi-resolution filter bank
0024The first-stage filter bank MDCT-1, iMDCT-1 is a high resolution MDCT filter bank having a sub-band filter bandwidth of e.g. 15-25 Hz. For audio sampling rates of e.g. 32-48 kHz a typical length of N<sub>L</sub> is 2048 samples. The window function h(n) satisfies equations (3) and (4). Following application of filter MDCT-1 there are 1024 frequency bins in the preferred embodiment. For stationary input signal sections, these bins are quantised according to psycho-acoustic considerations. Fast changing, transient input signal sections are processed by the additional MDCT applied to the bins of the first MDCT. This additional step or stage merges two, four, eight, sixteen or more sub-bands and thereby increases the temporal resolution, as depicted in the right part of <figref idref="f0001">Fig. 3</figref>.
0025<figref idref="f0002">Fig. 6</figref> shows an example sequence of applied windowing for the second-stage MDCTs within the frequency domain. Therefore the horizontal axis is related to f/bins. The transition window functions are designed according to <figref idref="f0002">Fig. 5</figref> and equation (6), like in the time domain. Special start window functions STW and stop window functions SPW handle the start and end sections of the transformed signal, i.e. the first and the last MDCT. The design principle of these start and stop window functions is shown in <figref idref="f0003">Fig. 7</figref>. One half of these window functions mirrors a half-window function of a normal or regular window function NW, e.g. a sine window function according to equation (5). Of other half of these window functions, the adjacent half has a continuous gain of 'one' (or a 'unity' constant) and the other half has the gain zero. Due to the properties of MDCT, performing MDCT-2 can also be regarded as a partial inverse transformation. When applying the forward MDCTs of the second stage MDCTs, each one of such new MDCT (MDCT-2) can be regarded as a new frequency line (bin) that has combined the original windowed bins, and the <i>time reversed</i> output of that new MDCT can be regarded as the new temporal blocks. The presentation in <figref idref="f0003">Figures 8 and 9</figref> is based on this assumption or condition.
0026Indices <i>ki</i> in <figref idref="f0002">Fig. 6</figref> indicate the regions of changing temporal resolution. Frequency bins starting from position zero up to position <i>k1</i>-1 are copied from (i.e. represent) the first transform (MDCT-1), which corresponds to a single temporal resolution. Bins from index <i>k1</i>-1 to index <i>k2</i> are transformed to g1 frequency lines. g1 is equal to the number of transforms performed (that number corresponds to the number of overlapping windows and can be considered as the number of frequency bins in the second or upper transform level MDCT-2). The start index is bin <i>k1</i>-1 because index <i>k1</i> is selected as the second sample in the first transform in <figref idref="f0002">Fig. 6</figref> (the first sample has a zero amplitude, see also <figref idref="f0004">Fig. 10a</figref>). <maths id="math0007"><math display="block"><mi>g</mi><mo></mo><mn>1</mn><mo>=</mo><mfenced><mi>number_of_windowed_bins</mi></mfenced><mo>/</mo><mrow><mo>(</mo><mi mathvariant="normal">N</mi><mo>/</mo><mn>2</mn><mo>)</mo><mo>-</mo><mn>1</mn><mo>=</mo><mrow><mo>(</mo><mi>k</mi><mo></mo><mn>2</mn><mo>-</mo><mi>k</mi><mo></mo><mn>1</mn><mo>+</mo><mn>1</mn><mo>)</mo><mo>/</mo><mn>2</mn><mo>-</mo><mn>1</mn><mo>,</mo></mrow></mrow></math><img file="EP2015293A1_D0007.tif" /></maths> with a regular window size N of e.g. 4 bins, which size creates a section with doubled temporal resolution. Bins from index k2-3 to index k3+4 are combined to g2 frequency lines (transforms), i.e. g2 = (<i>k3 - k2</i> +2)/4 -1. The regular window size is e.g. 8 bins, which size results in a section with quadrupled temporal resolution. The next section in <figref idref="f0002">Fig. 6</figref> is transformed by windows (transform length) spanning e.g. 16 bins, which size results in sections having eightfold temporal resolution. Windowing starts at bin k3-5. If this is the last resolution selected (as is true for <figref idref="f0002">Fig. 6</figref>), then it ends at bin k4+4, otherwise at bin <i>k4</i>. Where the order (i.e. the length) of the second-stage transform is variable over successive transform blocks, starting from frequency bins corresponding to low frequency lines, the first second-stage MDCTs will start with a small order and the following second-stage MDCTs will have a higher order. Transition windows fulfilling the characteristics for perfect reconstruction are used.
0027The processing according to <figref idref="f0002">Fig. 6</figref> is further explained in <figref idref="f0004">Fig. 10</figref>, which shows a sample-accurate assignment of frequency indices that mark areas of a second (i.e. cascaded) transform (MDCT-2), which second transform achieves a better temporal resolution. The circles represent bin positions, i.e. frequency lines of the first or initial transform (MDCT-1). <figref idref="f0004">Fig. 10a</figref> shows the area of 4-point second-stage MDCTs that are used to provide doubled temporal resolution. The five MDCT sections depicted create five new spectral lines. <figref idref="f0004">Fig. 10b</figref> shows the area of 8-point second-stage MDCTs that are used to provide fourfold temporal resolution. Three MDCT sections are depicted. <figref idref="f0004">Fig. 10c</figref> shows the area of 16-point second-stage MDCTs that are used to provide eightfold temporal resolution. Four MDCT sections are depicted.
0028At decoder side, stationary signals are restored using filter bank iMDCT-1, the iMDCT of the long transform blocks including the overlay-add procedure (OLA) to cancel the time alias. When so signalled in the bitstream, the decoding or the decoder, respectively, switches to the multi-resolution filter bank iMDCT-2 by applying a sequence of iMDCTs according to the signalled topology (including OLA) before applying filter bank iMDCT-1.
Signalling the filter bank topology to the decoder
0029The simplest embodiment makes use of a single fixed topology for filter bank MDCT-2/iMDCT-2 and signals this with a single bit in the transferred bitstream. In case more fixed sets of topologies are used, a corresponding number of bits is used for signalling the currently used one of the topologies. More advanced embodiments pick the best out of a set of fixed code-book topologies and signal a corresponding code-book entry inside the bitstream.
0030In embodiments were the filter topology of the second-stage transforms is not fixed, a corresponding side information is transmitted in the encoding output bitstream. Preferably, indices <i>k1, k2, k3, k4,</i> ..., <i>kend</i> are transmitted. Starting with quadrupled resolution, <i>k2</i> is transmitted with the same value as in <i>k1</i> equal to bin zero. In topologies ending with temporal resolutions coarser than the maximum temporal resolution, the value transmitted in <i>kend</i> is copied to <i>k4, k3,</i> ... .
0031The following table illustrates this with some examples. bi is a place holder for a frequency bin as a value. <tables id="tabl0001" num="0001"><table frame="all"><tgroup cols="6"><colspec colnum="1" colname="col1" colwidth="90mm" /><colspec colnum="2" colname="col2" colwidth="13mm" /><colspec colnum="3" colname="col3" colwidth="10mm" /><colspec colnum="4" colname="col4" colwidth="10mm" /><colspec colnum="5" colname="col5" colwidth="13mm" /><colspec colnum="6" colname="col6" colwidth="13mm" /><thead><row><entry align="center" valign="top" /><entry namest="col2" nameend="col6" align="center" valign="top">Indices signalling topology</entry></row><row><entry align="center" valign="top">Topology</entry><entry align="center" valign="top"><i>k1</i></entry><entry align="center" valign="top"><i>k2</i></entry><entry align="center" valign="top"><i>k3</i></entry><entry align="center" valign="top"><i>k4</i></entry><entry align="center" valign="top"><i>kend</i></entry></row></thead><tbody><row><entry>Topology with 1x, 2x, 4x, 8x , 16x temporal resolutions</entry><entry align="center">b1>1</entry><entry align="center">b2</entry><entry align="center">b3</entry><entry align="center">b4</entry><entry align="center">b5</entry></row><row><entry>Topology with 1x, 2x, 4x, 8x temporal resolutions (like in <figref idref="f0002">Fig. 6</figref>)</entry><entry align="center">b1>1</entry><entry align="center">b2</entry><entry align="center">b3</entry><entry align="center">b4</entry><entry align="center">b4</entry></row><row><entry>Topology with 8x temporal resolution only</entry><entry align="center">0</entry><entry align="center">0</entry><entry align="center">0</entry><entry align="center">bmax</entry><entry align="center">bmax</entry></row><row><entry>Topology with 4x, 8x and 16x temporal resolution</entry><entry align="center">0</entry><entry align="center">0</entry><entry align="center">b2</entry><entry align="center">b3</entry><entry align="center">bmax</entry></row></tbody></tgroup></table></tables>
0032Due to temporal psycho-acoustic properties of the human auditory system it is sufficient to restrict this to topologies with temporal resolution increasing with frequency.
Filter bank topology examples
0033<figref idref="f0003">Figures 8 and 9</figref> depict two examples of multi-resolution T/F (time/frequency) energy plots of a second-stage filter bank. <figref idref="f0003">Fig. 8</figref> shows an '8x temporal resolution only' topology. A time domain signal transient in <figref idref="f0003">Fig. 8a</figref> is depicted as amplitude over time (time expressed in samples). <figref idref="f0003">Fig. 8b</figref> shows the corresponding T/F energy plot of the first-stage MDCT (frequency in bins over normalised time corresponding to one transform block), and <figref idref="f0003">Fig. 8c</figref> shows the corresponding T/F plot of the second-stage MDCTs (8*128 time-frequency tiles). <figref idref="f0003">Fig. 9</figref> shows a '1x 2x, 4x, 8x topology'. A time domain signal transient in <figref idref="f0003">Fig. 9a</figref> is depicted as amplitude over time (time expressed in samples). <figref idref="f0003">Fig. 9b</figref> shows the corresponding T/F plot of the second-stage MDCTs, whereby the frequency resolution for the lower band part is selected proportional to the bandwidths of perception of the human auditory system (critical bands), with bN1 = 16, bN2 = 16, bN4 = 16, bN8 = 114, for 1024 coefficients in total (<i>these numbers have the following meaning: 16 frequency lines having single temporal resolution, 16 frequency lines having double, 16 frequency lines having 4 times, and 114 frequency lines having 8 times temporal resolution</i>). For the low frequencies there is a single partition, followed by two and four partitions and, above about f=50, eight partitions.
Filter bank control
0034The simplest embodiment can use any state-of-the-art transient detector to switch to a fixed topology matching, or for coming close to, the T/F resolution of human perception. The preferred embodiment uses a more advanced control processing: <ul id="ul0005" list-style="dash" compact="compact"><li>Calculate a spectral flatness measure SFM, e.g. according to equation (7), over selected bands of <i>M</i> frequency lines (f<sub>bin</sub> of the power spectral density <i>Pm</i> by using a discrete Fourier transform (DFT) of a windowed signal of a long transform block with N<sub>L</sub> samples, i.e. the length of MDCT-1 (the selected bands are proportional to critical bands);</li><li>Divide the analysis block of N<sub>L</sub> samples into <i>S</i>≥8 overlapping blocks and apply <i>S</i> windowed DFTs on the sub-blocks. Arrange the result as a matrix having <i>S</i> columns (temporal resolution, t<sub>block</sub>) and a number of rows according the number of frequency lines of each DFT, <i>S</i> being an integer;</li><li>Calculate <i>S</i> spectrograms <i>Ps</i>, e.g. general power spectral densities or psycho-acoustically shaped spectrograms (or excitation patterns);</li><li>For each frequency line determine a temporal flatness measure (TFM) according to equation (8);</li><li>Use the SFM vector to determine tonal or noisy bands, and use the TFM vector to recognise the temporal variations within this bands. Use threshold values to decide whether or not to switch to the multi-resolution filter bank and what topology to pick. <maths id="math0008" num="(7)"><math display="block"><mtable columnalign="left"><mtr><mtd><mi>SFM</mi></mtd><mtd><mo>=</mo><mi>arithmetic mean value</mi><mspace width="1em" /><mfenced open="[" close="]"><mi>fbin</mi></mfenced><mo>/</mo><mi>geometric mean value</mi><mspace width="1em" /><mfenced open="[" close="]"><mi>fbin</mi></mfenced></mtd></mtr><mtr><mtd><mspace width="1em" /></mtd><mtd><mo>=</mo><mfrac><mn>1</mn><mi>M</mi></mfrac><mo>⋅</mo><mstyle displaystyle="false"><mstyle displaystyle="true"><munder><mo>∑</mo><mi>m</mi></munder></mstyle><mi mathvariant="italic">Pm</mi></mstyle><mo>/</mo><mfenced><mstyle displaystyle="true"><munder><mo>∏</mo><mi>M</mi></munder></mstyle><mi mathvariant="italic">Pm</mi></mfenced><mo></mo><mfrac><mn>1</mn><mi>M</mi></mfrac></mtd></mtr></mtable></math><img file="EP2015293A1_D0008.tif" /></maths><maths id="math0009" num="(8)"><math display="block"><mtable columnalign="left"><mtr><mtd><mi>TFM</mi></mtd><mtd><mo>=</mo><mi>arithmetic mean value</mi><mspace width="1em" /><mfenced open="[" close="]"><mi>tblock</mi></mfenced><mo>/</mo><mi>geometric mean value</mi><mspace width="1em" /><mfenced open="[" close="]"><mi>tblock</mi></mfenced></mtd></mtr><mtr><mtd><mspace width="1em" /></mtd><mtd><mo>=</mo><mfrac><mn>1</mn><mi>S</mi></mfrac><mo>⋅</mo><mstyle displaystyle="false"><mstyle displaystyle="true"><munder><mo>∑</mo><mi>s</mi></munder></mstyle><mi mathvariant="italic">Ps</mi></mstyle><mo>/</mo><mfenced><mstyle displaystyle="true"><munder><mo>∏</mo><mi>s</mi></munder></mstyle><mi mathvariant="italic">Ps</mi></mfenced><mo></mo><mfrac><mn>1</mn><mi>S</mi></mfrac></mtd></mtr></mtable></math><img file="EP2015293A1_D0009.tif" /></maths></li></ul>
0035In a different embodiment, the topology is determined by the following steps: <ul id="ul0006" list-style="dash" compact="compact"><li>performing a spectral flatness measure SFM using said first transform, by determining for selected frequency bands the spectral power of transform bins and dividing the arithmetic mean value of said spectral power values by their geometric mean value;</li><li>sub-segmenting an un-weighted input signal section, performing weighting and short transforms on <i>m</i> sub-sections where the frequency resolution of these transforms corresponds to said selected frequency bands;</li><li>for each frequency line consisting of m transform segments, determing the spectral power and calculating a temporal flatness measure TFM by determining the arithmetic mean divided by the geometric mean of the m segments;</li><li>determining tonal or noisy bands by using the SFM values;</li><li>using the TFM values for recognising the temporal variations in these bands. Threshold values are used for switching to finer temporal resolution for said indicated noisy frequency bands.</li></ul>
0036The MDCT can be replaced by a DCT, in particular a DCT-4. Instead of applying the invention to audio signals, it also be applied in a corresponding way to video signals, in which case the psycho-acoustic analyser PSYM is replaced by an analyser taking into account the human visual system properties.
0037The invention can be use in a watermark embedder. The advantage of embedding digital watermark information into an audio or video signal using the inventive multi-resolution filter bank, when compared to a direct embedding, is an increased robustness of watermark information transmission and watermark information detection at receiver side. In one embodiment of the invention the cascaded filter bank is used with a audio watermarking system. In the watermarking encoder a first (integer) MDCT is performed. A first watermark is inserted into bins 0 to k1-1 using a psycho-acoustic controlled embedding process. The purpose of this watermark can be frame synchronisation at the watermark decoder. Second-stage variable size (integer) MDCTs are applied to bins starting from bin index k1 as described before. The output of this second stage is resorted to gain a time-frequency expression by interpreting the output as time-reversed temporal blocks and each second-stage MDCT as a new frequency line (bin). A second watermark signal is added onto each one of these new frequency lines by using an attenuation factor that is controlled by psycho-acoustic considerations. The data is resorted and the inverse (integer) MDCT (related to the above-mentioned second-stage MDCT) is performed as described for the above embodiments (decoder), including windowing and overlay/add. The full spectrum related to the first transform is restored. The full-size inverse (integer) MDCT performed onto that data, windowing and overlay/add restores a time signal with a watermark embedded. The multi-resolution filter bank is also used within the watermark decoder. Here the topology of the second-stage MDCTs is fixed by the application.
14 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8 Sheet 9 Sheet 10 Sheet 11 Sheet 12 Sheet 13 Sheet 14
Every citation, both ways
| Document | Relation | Office | Category | Cited during | Relevant claims |
|---|---|---|---|---|---|
| US8762159B2 | Cited by | United States of America | – | Applicant | – |
| US10089990B2 | Cited by | United States of America | – | Applicant | – |
| TWI459375B | Cited by | Taiwan Province of China | – | Examiner | – |
| CN105378832A | Cited by | China | – | Search report | – |
| US2004181403A1 | Cites | United States of America | A | Search report | 1-12 |
| US2005143979A1 | Cites | United States of America | A | Search report | 1-12 |
| US2007016405A1 | Cites | United States of America | XA | Search report | 1-11 |
| NIAMUT O A ET AL: "Flexible frequency decompositions for cosine-modulated filter banks", 2003 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING. PROCEEDINGS. (ICASSP). HONG KONG, APRIL 6 - 10, 2003, IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING (ICASSP), NEW YORK, NY : IEEE, US, vol. VOL. 1 OF 6, 6 April 2003 (2003-04-06), pages V449 - V452, XP010639305, ISBN: 0-7803-7663-3 | Non-patent | – | – | Search report | – |
11 members in 5 offices
Members11
| Document | Office | Kind | |
|---|---|---|---|
| CN101325060A | China | A | |
| EP2003643A1 | European Patent Office (EPO) | A1 | |
| KR20080110542A | Republic of Korea | A | |
| JP2008310327A | Japan | A | |
| US2009012797A1 | United States of America | A1 | |
| EP2015293A1This record | European Patent Office (EPO) | A1 | |
| US8095359B2 | United States of America | B2 | |
| CN101325060B | China | B | |
| EP2003643B1 | European Patent Office (EPO) | B1 | |
| KR101445396B1 | Republic of Korea | B1 | |
| JP5627843B2 | Japan | B2 |
8 legal events, as 2 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Designated country de not longer valid8566 | 8566 | DE | |
| Application deemed to be withdrawnWithdrawn18D | 18D | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWNSTAA | STAA | EP | |
| Designation fees paidAKX | AKX | EP | |
| Designated contracting statesAK | AK | EP | |
| Request for extension of the european patentAX | AX | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 2015293
- Application
- 71102891
Titles3
- German
- Verfahren und Vorrichtung zur Kodierung und Dekodierung von Audiosignalen über adaptiv geschaltete temporäre Auflösung in einer Spektraldomäne
- English
- Method and apparatus for encoding and decoding an audio signal using adaptively switched temporal resolution in the spectral domain
- French
- Procédé et appareil pour coder et décoder un signal audio par résolution temporelle à commutation adaptative dans le domaine spectral
Classification
- CPC, 4
- G10L19/0212
- G10L19/03
- G10L19/022
- G10L19/02
- IPC, 3
- G10L19 02
- G10L19 14
- G10L19 022
Designated states37
- Contracting states, 32
- Austria
- Belgium
- Bulgaria
- Switzerland
- Cyprus
- Czechia
- Germany
- Denmark
- Estonia
- Spain
- Finland
- France
- United Kingdom
- Greece
- Hungary
- Ireland
- Iceland
- Italy
- Liechtenstein
- Lithuania
- Luxembourg
- Latvia
- Monaco
- Malta
and 8 moreShow fewer
- Netherlands (Kingdom of the)
- Poland
- Portugal
- Romania
- Sweden
- Slovenia
- Slovakia
- Türkiye
- Extension states, 5
- Albania
- Bosnia and Herzegovina
- Croatia
- North Macedonia
- Serbia