HK1233046B - Processor, method and computer program for processing an audio signal using truncated analysis or synthesis window overlap portions - Google Patents
Processor, method and computer program for processing an audio signal using truncated analysis or synthesis window overlap portions Download PDFInfo
- Publication number
- HK1233046B HK1233046B HK17106603.7A HK17106603A HK1233046B HK 1233046 B HK1233046 B HK 1233046B HK 17106603 A HK17106603 A HK 17106603A HK 1233046 B HK1233046 B HK 1233046B
- Authority
- HK
- Hong Kong
- Prior art keywords
- window
- overlap portion
- asymmetric
- overlap
- length
- Prior art date
Links
Description
The present invention is related to audio processing and particularly, to audio processing with overlapping windows for an analysis-side or synthesis-side of an audio signal processing chain.
Most contemporary frequency-domain audio coders based on overlapping transforms like the MDCT employ some kind of transform size switching to adapt time and frequency resolution to the current signal properties. Different approaches have been developed to handle the switching between the available transform sizes and their corresponding window shapes. Some approaches insert a transition window between frames encoded using different transform lengths, e.g. MPEG-4 (HE-)AAC [1]. The disadvantage of the transition windows is the need for an increased encoder look-ahead, making it unsuitable for low-delay applications. Others employ a fixed low window overlap for all transform sizes to avoid the need for transitions windows, e.g. CELT [2]. However, the low overlap reduces frequency separation, which degrades coding efficiency for tonal signals. An improved instant switching approach employing different transform and overlap lengths for symmetric overlaps is given in [3] as well as in WO 2014/128194 A1 . Fig. 16 shows an example for instant switching between different transform lengths using low-overlap sine windows.
On the other hand low-delay audio coders often employ asymmetric MDCT windows, as they exhibit a good compromise between delay and frequency separation. On encoder-side a shortened overlap with the subsequent frame is used to reduce the look-ahead delay, while a long overlap with the previous frame is used to improve frequency separation. On decoder-side a mirrored version of the encoder window is used. Asymmetric analysis and synthesis windowing is depicted in Figs. 8a to 8c .
US patent application US 2014/0142930 A1 discloses a method and device for coding or decoding a digital audio signal by a transform using analysis or synthesis weighting windows applied to sample frames. The method includes an irregular sampling of an initial window provided for a transform of given initial size to apply a secondary transform of a different size. The irregular sampling and a decimation or interpolation of the initial window are performed during this step of implementing the temporal folding or unfolding used for the computation of the secondary transform.
It is an object of the present invention to provide an improved concept for processing an audio signal.
This object is achieved by a processor for processing an audio signal of claim 1, a method of processing an audio signal of claim 17 or a computer program of claim 18.
The invention is set forth in the independent claims 1, 17 and 18. All following occurrences of the word "embodiment(s)", if referring to feature combinations different from those defined by the independent claims, refer to examples which were originally filed but which do not represent embodiments of the presently claimed invention; these examples are still shown for illustrative purposes only.
The present invention is based on the finding that asymmetric transform windows are useful for achieving good coding efficiency for stationary signals at a reduced delay. On the other hand, in order to have a flexible transform size switching strategy, analysis or synthesis windows for a transition from one block size to a different block size allow the use of truncated overlap portions of asymmetric windows as window edges or as a basis for window edges without disturbing the perfect reconstruction property.
Hence, truncated portions of an asymmetric window such as the long overlap portion of the asymmetric window can be used within the transition window. However, in order to comply with the necessary length of the transition window, this overlap portion or asymmetric window edge or flank is truncated to a length allowable within the transition window constraints. This, however, does not violate the perfect reconstruction property. Hence, this truncation of window overlap portions of asymmetric windows allows short and instant switching transition windows without any penalty from the perfect reconstruction side.
In further embodiments, it is preferred to not use the truncated overlap portion directly, but to smooth or fade-in or fade-out the discontinuity incurred by truncating the asymmetric window overlap portion under consideration.
Further embodiments rely on a highly memory-saving implementation, due to the fact that only a minimum amount of window edges or window flanks are stored in the memory and even for fading-in or fading-out, a certain window edge is used. These memory-efficient implementations additionally construct descending window edges from a stored ascending window edge or vice versa by means of logic or arithmetic operations, so that only a single edge, such as either an ascending or a descending edge has to be stored and the other one can be derived on the fly.
An embodiment comprises a processor or a method for processing an audio signal. The processor has an analyzer for deriving a window control signal from the audio signal indicating a change from a first asymmetric window to a second window in an analysis-processing of the audio signal. Alternatively or additionally, the window control signal indicates a change from a third window to a fourth asymmetric window in the case of, for example, a synthesis signal processing. Particularly, for the analysis-side, the second window is shorter than the first window or, on the synthesis-side, the third window is shorter than the fourth window.
The processor additionally comprises a window constructor for constructing the second window or the third window using a first overlap portion of the first asymmetric window. Particularly, the window constructor is configured to determine the first overlap portion of the second window using a truncated first overlap portion of the first asymmetric window. Alternatively, or additionally, the window constructor is configured to calculate a second overlap portion of the third window using a second overlap portion of the fourth asymmetric window.
Finally, the processor has a windower for applying the first and second windows, particularly for an analysis processing or for applying the third and fourth windows in the case of a synthesis processing to obtain windowed audio signal portions.
As known, an analysis windowing takes place at the very beginning of an audio encoder, where a stream of time-discrete and time-subsequent audio signal samples are windowed by window sequences and, for example, a switch from a long window to a short window is performed when the analyzer actually detects a transient in the audio signal. Then, subsequent to the windowing, a conversion from the time domain to the frequency domain is performed and, in preferred embodiments, this conversion is performed using the modified discrete cosine transform (MDCT). The MDCT uses a folding operation and a subsequent DCT IV transform in order to generate, from a set of 2N time domain samples, a set of N frequency domain samples, and these frequency domain values are then further processed.
On the synthesis-side, the analyzer does not perform an actual signal analysis of the audio signal, but the analyzer derives the window control signal from a side information to the encoded audio signal indicating a certain window sequence determined by an encoder-side analyzer and transmitted to the decoder-side processor implementation. The synthesis windowing is performed at the very end of the decoder-side processing, i.e., subsequent to a frequency-time conversion and unfolding operation which generates, from a set of N spectral values a set of 2N time-domain values, which are then windowed and, subsequent to the synthesis windowing using the inventive truncated window edges, an overlap-add as required is performed. Preferably, a 50% overlap is applied for the positioning of the analysis windows and for the actual overlap-adding subsequent to synthesis windowing using the synthesis windows.
Hence, advantages of the present invention are that the present invention relies on asymmetric transform windows, which have good coding efficiency for stationary signals at a reduced delay. On the other hand, the present invention allows a flexible transform size switching strategy for an efficient coding of transient signals, which does not increase the total coder delay. Hence, the present invention relies on a combination of asymmetric windows for long transforms and a flexible transform/overlap-length switching concept for symmetric overlap ranges of short windows. The short windows can be fully symmetric having the same symmetric overlap on both sides, or can be asymmetric having a first symmetric overlap with a preceding window and a second different symmetric overlap with a subsequent window.
The present invention is specifically advantageous in that, by the usage of the truncated overlap portion from the asymmetric long window, any coder delay or required coder look-ahead is not increased due to the fact that any transition from windows with different block sizes does not require the insertion of any additional long transition windows.
Preferred embodiments of the present invention are subsequently discussed with respect to the accompanying drawings, in which:
- Fig. 1a
- illustrates an aspect for encoding in the context of truncated overlap portions;
- Fig. 1b
- illustrates an apparatus for decoding in the context of using truncated overlap portions;
- Fig. 1c
- illustrates a more detailed illustration of the synthesis-side;
- Fig. 1d
- illustrates an implementation of a mobile device having an encoder, a decoder and a memory;
- Fig. 2
- illustrates a preferred embodiment of the present invention for the analysis-side (case A) or the synthesis-side (case B);
- Fig. 3
- illustrates a preferred implementation of the window constructor;
- Fig. 4
- illustrates a schematic illustration of the memory content of Fig. 3;
- Fig. 5
- illustrates a preferred procedure for determining the first overlap portion and the second overlap portion of an analysis transition window;
- Fig. 6
- illustrates a preferred procedure for determining a synthesis transition window;
- Fig. 7
- illustrates a further procedure with a truncation smaller than the maximum length;
- Fig. 8a
- illustrates an asymmetric analysis window;
- Fig. 8b
- illustrates an asymmetric synthesis window;
- Fig. 8c
- illustrates an asymmetric analysis window with folding-in portions;
- Fig. 9a
- illustrates a symmetric analysis/synthesis window;
- Fig. 9b
- illustrates a further analysis/synthesis window with symmetric, but different overlap portions;
- Fig. 9c
- illustrates a further window with symmetric overlap portions having different lengths;
- Fig. 10a
- illustrates an analysis transition window such as the second window with a truncated first overlap portion;
- Fig. 10b
- illustrates a second window with a truncated and faded-in first overlap portion;
- Fig. 10c
- illustrates the second window of Fig. 10a in the context of the corresponding overlapping portions of the preceding and subsequent windows;
- Fig. 10d
- illustrates the situation of Fig. 10c, but with a faded-in first overlap portion;
- Fig. 11a
- illustrates a different transition window with a fade-in for the analysis-side;
- Fig. 11b
- illustrates a further analysis transition window with a higher than necessary truncation and a corresponding further modification;
- Fig. 12a,12b
- illustrate analysis transition windows for a transition from a small to a high block size;
- Fig. 13a,13b
- illustrate synthesis transition windows from a high block size to a low block size;
- Fig. 13c
- illustrates a synthesis transition window with a truncated second overlap portion such as the third window;
- Fig. 13d
- illustrates the window of Fig. 13c, but without the fade-out;
- Fig. 14a
- illustrates a certain analysis window sequence;
- Fig. 14b
- illustrates a corresponding synthesis window sequence;
- Fig. 15a
- illustrates a certain analysis window sequence;
- Fig. 15b
- illustrates a corresponding synthesis window sequence matched to Fig. 15a; and
- Fig. 16
- illustrates an example for instant switching between different transform lengths using symmetric overlaps only.
Embodiments relate to concepts for instantly switching from a long MDCT transform using an asymmetric window to a shorter transform with symmetrically overlapping windows, without the need for inserting an intermediate frame.
When constructing the window shape for the first frame employing a shorter transform length, two restrictions are an issue:
- The left overlapping part of the window needs to match the shape of the previous asymmetric window in a way so that perfect or near-perfect reconstruction is achieved.
- The length of the overlapping parts is constrained due to the shorter transform length.
The left overlapping part of the long asymmetric window would satisfy the first condition, but it is too long for shorter transforms, which usually have half or less the size of the long transform. Therefore a shorter window shape needs to be chosen.
It is assumed here that the asymmetric analysis and synthesis windows are symmetric to each other, i.e. the synthesis window is a mirrored version of the analysis window. In this case the window w has to satisfy the following equation for perfect reconstruction: where L represents the transform length and n the sample index.
For delay reduction the right side overlap of the asymmetric long analysis window has been shortened, which means all of the rightmost window samples have a value of zero. From the equation above it can be seen that if a window sample wn has a value of zero, an arbitrary value can be chosen for the symmetric sample w 2L-1-n . If the rightmost m samples of the window are zero, the leftmost m samples may therefore be replaced by zeroes as well without losing perfect reconstruction, i.e. the left overlapping part can be truncated down to the length of the right overlapping part.
If the truncated overlap length is short enough, so that sufficient overlap length remains for the right part of the first short transform window, this gives a solution for the first short transform window shape, satisfying both of the above conditions. The left end of the asymmetric window's overlapping part is truncated and combined with the symmetric overlap used for subsequent short windows. An example of the resulting window shape is depicted in Fig. 10c .
Using a truncated version of the existing long window overlap avoids the need to design a completely new window shape for the transition. It also reduces ROM/RAM demand for hardware on which the algorithm is implemented, as no additional window table is required for the transition.
For synthesis windowing on decoder-side a symmetric approach is used. The asymmetric synthesis window has the long overlap on the right side. A truncated version of the right overlapping part is therefore used for the right window part of the last short transform before switching back to long transforms with asymmetric windows, as depicted in Fig. 13d .
As shown above the use of a truncated version of the long window allows for perfect reconstruction of the time-domain signal if the spectral data is not modified between analysis and synthesis transform. However, in an audio coder quantization is applied to the spectral data. In the synthesis transform the resulting quantization noise is shaped by the synthesis window. As the truncation of the long window introduces a step in the window shape, discontinuities can occur in the quantization noise of the output signal. These discontinuities can become audible as click-like artifacts.
In order to avoid such artifacts, a fade-out can be applied to the end of the truncated window to smooth the transition to zero. The fade-out can be done in several different ways, e.g. it could be linear, sine or cosine shaped. The length of the fade-out should be chosen large enough so that no audible artifacts occur. The maximum length available for the fade-out without losing perfect reconstruction is determined by the short transform length and the length of the window overlaps. In some cases the available length might be zero or too small to suppress artifacts. For such cases it can be beneficial to extend the fade-out length and accept small reconstruction errors, as these are often less disturbing than discontinuities in the quantization noise. Carefully tuning the fade-out length allows to trade reconstruction errors against quantization error discontinuities, in order to achieve best audio quality.
Subsequently, Fig. 2 is discussed in order to describe a processor for processing an audio signal in accordance with embodiments of the present invention. The audio signal is provided at an input 200 into an analyzer 202. The analyzer is configured for deriving a window control signal 204 from the audio signal at the input 200, where the window control signal indicates a change from a first asymmetric window to a second window as, for example, illustrated by the first window 1400 or 1500 in Fig. 14a or Fig. 15a , where the second window, in this embodiment, is window 1402 in Fig. 14a or 1502 in Fig. 15a . The window control signal 204 again, alternatively, and with respect to an operation at a synthesis-side exemplarily indicates a change from a third window such as 1450 in Fig. 14b or 1550 in Fig. 5b to a third window such as 1452 in Fig. 14b or 1552 in Fig. 15b . As illustrated, the second window such as 1402 is shorter than the first window 1400 or the third window such as 1450 or 1550 is shorter than the fourth window such as 1452 or 1552.
The processor further comprises a window constructor 206 for constructing the second window using a first overlap portion of a first asymmetric window, wherein this window constructor is configured to determine a first overlap portion of the second window using a truncated first overlap portion of the first asymmetric window for the synthesis-side, i.e., case B in Fig. 2 . The window constructor is configured to calculate a second overlap portion of the third window such as 1502 or 1550 using a truncated second overlap portion of the first window, i.e., the asymmetric window.
These windows, such as the second window on the analysis-side or the third window on the synthesis-side and, of course, the preceding and/or subsequent windows are transmitted from the window constructor 206 to a windower 208. The windower 208 applies the first and second windows or the third and fourth windows to an audio signal in order to obtain the signal portions at an output 210.
Case A is related to the analysis-side. Here, the input is an audio signal and the actual analyzer 202 performs an actual audio signal analysis such as a transient analysis etc. The first and second windows are analysis windows and the windowed signal is encoder-side processed as will be discussed later on with respect to Fig. 1A .
Hence, a decoder processor 214 illustrated in Fig. 2 is bypassed or actually not present in case A.
In case B, i.e., when the inventive processing is applied on a synthesis-side, the input is the encoded audio signal such as a bitstream having audio signal information and side information, and the analyzer 202 performs a bitstream analysis or a bitstream or encoded signal parsing in order to retrieve, from the encoded audio signal, a window control signal indicating the window sequence applied by the encoder, from which the window sequence to be applied by the decoder can be derived.
Then, the third and fourth windows are synthesis windows and the windowed signal is subjected to an overlap-add processing for the purpose of an audio signal synthesis as illustrated in Fig. 1B or 1C .
The controller 108 is configured to select the specific window from a group of at least three windows. The group comprises a first window having a first overlap length, a second window having a second overlap length, and a third window having a third overlap length or no overlap. The first overlap length is greater than the second overlap length and the second overlap length is greater than a zero overlap. The specific window is selected, by the controllable windower 102 based on the transient location such that one of two time-adjacent overlapping windows has first window coefficients at the location of the transient and the other of the two time-adjacent overlapping windows has second window coefficients at the location of the transient and the second window coefficients are at least nine times greater than the first coefficients. This makes sure that the transient is substantially suppressed by the first window having the first (small) coefficients and the transient is quite unaffected by the second window having the second window coefficients. Preferably, the first window coefficients are equal to 1 within a tolerance of plus/minus 5%, such as between 0.95 and 1.05, and the second window coefficients are preferably equal to 0 or at least smaller than 0.05. The window coefficients can be negative as well and in this case, the relations and the quantities of the window coefficients are related to the absolute magnitude.
Furthermore, alternatively or in addition, the controller 108 comprises the functionalities of the window constructor 206 as discussed in the context of Fig. 2 and will be discussed later on. Furthermore, the transient location detector 106 can be implemented and can have the functionalities of the analyzer 202 of Fig. 2 for case A, i.e., for the application of the windows on the analysis-side.
Furthermore, blocks 104 and 110 illustrate processing to be performed by the windowed audio signal 210, which corresponds to the windowed audio signal 103 in Fig. 1A . Furthermore, the window constructor 206, although not specifically indicated in Fig. 2 provides the window information 112 of Fig. 1A to the output interface 114, which can then be regained from the encoded signal by the analyzer 202 operating on the decoder-side, i.e., for case B.
As known in the art of MDCT processing, generally, processing using an aliasing-introducing transform, this aliasing-introducing transform can be separated into a folding-in step and a subsequent transform step using a certain non-aliasing introducing transform. In an example, sections are folded in other sections and the result of the folding operation is then transformed into the spectral domain using a transform such as a DCT transform. In the case of an MDCT, a DCT IV transform is applied.
Subsequently, this is exemplified by reference to the MDCT, but other aliasing-introducing transforms can be processed in a similar and analogous manner. As a lapped transform, 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). In particular, it is a linear function F : R 2N → R N (where R denotes the set of real numbers). The 2N real numbers x0,. .., x2N-1 are transformed into the N real numbers X0, ..., XN-1 according to the formula:
(The normalization coefficient in front of this transform, here unity, 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 time-adjacent overlapping blocks, causing the errors to cancel and the original data to be retrieved; this technique is known as time-domain aliasing cancellation (TDAC).
The IMDCT transforms N real numbers X0, ..., XN-1 into 2N real numbers y0, ..., y2N-1 according to the formula:
(Like for the DCT-IV, an orthogonal transform, the inverse has the same form as the forward transform.)
In the case of a windowed MDCT with the usual window normalization (see below), the normalization coefficient in front of the IMDCT should be multiplied by 2 (i.e., becoming 2/N).
In typical signal-compression applications, the transform properties are further improved by using a window function wn (n = 0, ..., 2N-1) that is multiplied with xn and yn in the MDCT and IMDCT formulas, above, in order to avoid discontinuities at the n = 0 and 2N boundaries by making the function go smoothly to zero at those points. (That is, we window the data before the MDCT and after the IMDCT.) In principle, 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 we consider the common case of identical window functions for equal-sized blocks.
The transform remains invertible (that is, TDAC works), for a symmetric window wn = w2N-1-n, as long as w satisfies the Princen-Bradley condition: various window functions are used. A window that produces a form known as a modulated lapped transform is given by and is used for MP3 and MPEG-2 AAC, and for Vorbis. AC-3 uses a Kaiser-Bessel derived (KBD) window, and MPEG-4 AAC can also use a KBD window.
Note that windows applied to the MDCT are different from windows used for some other types of signal analysis, since they must fulfill the Princen-Bradley condition. One of the reasons for this difference is that MDCT windows are applied twice, for both the MDCT (analysis) and the IMDCT (synthesis).
As can be seen by inspection of the definitions, for even N 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. By examining this equivalence more carefully, important properties like TDAC can be easily derived.
In order to define the precise relationship to the DCT-IV, one must realize that the DCT-IV corresponds to alternating even/odd boundary conditions: even at its left boundary (around n=-1/2), odd at its right boundary (around n=N-1/2), and so on (instead of periodic boundaries as for a DFT). This follows from the identities: and
Thus, if its inputs are an array x of length N, we can imagine extending this array to (x, -xR, -x, xR, ...) and so on, where xR denotes x in reverse order.
Consider an MDCT with 2N inputs and N outputs, where we divide the inputs into four blocks (a, b, c, d) each of size N/2. If we shift these to the right by N/2 (from the +N/2 term in the MDCT definition), then (b, c, d) extend past the end of the N DCT-IV inputs, so we must "fold" them back according to the boundary conditions described above.
Thus, the MDCT of 2N inputs (a, b, c, d) is exactly equivalent to a DCT-IV of the N inputs: (-cR-d, a-bR), where R denotes reversal as above.
(In this way, any algorithm to compute the DCT-IV can be trivially applied to the MDCT.) Similarly, the IMDCT formula above is precisely 1/2 of the DCT-IV (which is its own inverse), where the output is extended (via the boundary conditions) to a length 2N and shifted back to the left by N/2. The inverse DCT-IV would simply give back the inputs (-cR-d, a-bR) from above. When this is extended via the boundary conditions and shifted, one obtains:
Half of the IMDCT outputs are thus redundant, as b-aR = -(a-bR)R, and likewise for the last two terms. If we group the input into bigger blocks A,B of size N, where A=(a, b) and B=(c, d), we can write this result in a simpler way:
One can now understand how TDAC works. Suppose that one computes the MDCT of the time-adjacent, 50% overlapped, 2N block (B, C). The IMDCT will then yield, analogous to the above: (B-BR, C+CR) / 2. When this is added with the previous IMDCT result in the overlapping half, the reversed terms cancel and one obtains simply B, recovering the original data.
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 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: we cannot distinguish the contributions of a and of bR to the MDCT of (a, b, c, d), or equivalently, to the result of IMDCT(MDCT(a, b, c, d)) = (a-bR, b-aR, c+dR, d+cR) / 2. The combinations c-dR and so on, have precisely the right signs for the combinations to cancel when they are added.
For odd N (which are rarely used in practice), N/2 is not an integer so the MDCT is not simply a shift permutation of a DCT-IV. In this case, 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.
We have seen above that the MDCT of 2N inputs (a, b, c, d) is equivalent to a DCT-IV of the N inputs (-cR-d, a-bR). The DCT-IV is designed for the case where the function at the right boundary is odd, and therefore the values near the right boundary are close to 0. If the input signal is smooth, this is the case: the rightmost components of a and bR are consecutive in the input sequence (a, b, c, d), and therefore their difference is small. Let us look at the middle of the interval: if we rewrite the above expression as (-cR-d, a-bR) = (-d, a)-(b,c)R, the second term, (b,c)R, gives a smooth transition in the middle. However, in the first term, (-d, a), there is a potential discontinuity where the right end of -d meets the left end of a. This is the reason for using a window function that reduces the components near the boundaries of the input sequence (a, b, c, d) towards 0.
Above, the TDAC property was proved for the ordinary MDCT, showing that adding IMDCTs of time-adjacent blocks in their overlapping half recovers the original data. The derivation of this inverse property for the windowed MDCT is only slightly more complicated.
Consider two overlapping consecutive sets of 2N inputs (A,B) and (B,C), for blocks A,B,C of size N. Recall from above that when (A,B) and (B,C)are MDCTed, IMDCTed, and added in their overlapping half, we obtain (B+BR )/2+(B-BR )/2=B, the original data. Now we suppose that we multiply both the MDCT inputs and the IMDCT outputs by a window function of length 2N. As above, we assume a symmetric window function, which is therefore of the form (W,WR )where W is a length-N vector and R denotes reversal as before. Then the Princen-Bradley condition can be written as with the squares and additions performed elementwise.
Therefore, instead of MDCTing (A,B), one now MDCTs (WA,WRB) with all multiplications performed elementwise. When this is IMDCTed and multiplied again (elementwise) by the window function, the last-N half becomes:
(Note that we no longer have the multiplication by 1/2, because the IMDCT normalization differs by a factor of 2 in the windowed case.)
Similarly, the windowed MDCT and IMDCT of (B,C) yields, in its first-N half:
When one adds these two halves together, one recovers the original data.
The above MDCT discussion describes identical analysis/synthesis windows. For asymmetric windows analysis/synthesis windows are different, but preferably symmetric to each other; in that case the Princen-Bradley condition changes to the more general equation:
Then, the output of the frequency-time converter 170 is input into a synthesis windower which applies the synthesis window which is preferably symmetric to the encoder-side window. Thus, each sample is, before an overlap-add is performed, windowed by two windows so that the resulting "total windowing" is the product of the analysis window coefficients and the synthesis window coefficients so that the Princen-Bradley condition as discussed before is fulfilled.
Finally, the overlap-adder 174 performs the corresponding correct overlap-add in order to finally obtain the decoded audio signal at output 175.
Subsequently, a preferred window is discussed with respect to Fig. 8a . It has a first overlap portion 800, a second overlap portion 802, a further portion 804 with high values and a further portion 806 with low values. The high values of portion 804 are 1.0 values or are at least greater than 0.95, and the low values in the low portion 806 are equal to 0.0 and are preferably lower than 0.1. In the embodiment, the length of the asymmetric analysis window is 40ms and this results in a block size of 20ms due to the fact that a 50% overlap-add is preferably used. However, other overlap ratios, etc. can be used as well.
In this specific implementation, the first overlap portion 800 is greater than the second overlap portion 802 which allows a low delay implementation and, additionally, in the context of the fact that the low portion 806 precedes the second overlap portion, the asymmetric analysis window illustrated in Fig. 8a allows a low delay filtering due to the zero portion and the short second overlap portion 802 and additionally has a quite good separation due to the long first overlap portion 800. This long overlap, however, does not cause any additional delay due to the fact that the long overlap portion is at the first half of the asymmetric analysis window. In the specific embodiment, the first overlap portion 800 is equal to 14.375ms, the second non-overlapping part or high part is equal to 11.25ms, the third part or the second overlap portion 802 is equal to 8.75ms and the final fourth part or low part is equal to 5.625ms.
The exemplary length of the corresponding parts is indicated but it is generally preferred that the first overlap portion 812 is shorter than the second overlap portion 814 and it is furthermore preferred that the length of the constant or high part 816 is between the length of the first overlap portion and the second overlap portion and it is furthermore preferred that the length of the first part 810 or the zero part is lower than the length of the first overlap portion 812.
As illustrated in Fig. 8a , it is preferred that the length of the first overlap portion 800 is higher than the length of the second overlap portion 802, and the length of the high part 804 is between the length of the second overlap portion 802 and the first overlap portion 800 and the length of the fourth part 806 is lower than the length of the second overlap portion 802.
Analogously, Fig. 8b illustrates a corresponding synthesis sequence with a preceding synthesis window 819 and a subsequent synthesis window 820.
Furthermore, Fig. 8c illustrates the same analysis window of Fig. 8a , but now with folded portions 821, 822, which are folded in the fold-in operation on the encoder-side or which are "de-folded" in the foldout on the decoder-side. These foldings 821, 822 can be considered to take place along folding lines 823 and 824 and these lines are also illustrated in Fig. 8a, 8b and it appears that the folding lines do not directly coincide with the crossing points of the windows in Fig. 8a and 8b . This is due to the asymmetric characteristic of the analysis window in Fig. 8a or the synthesis window in Fig. 8b .
In this context, it is outlined that Fig. 9a illustrates a truly symmetric analysis or synthesis window, since the left overlap portion and the right overlap portion are symmetric to each other, i.e., have the same overlap length of, in this embodiment, 3.75 ms. Generally, it is preferred to have the zero portions 900, 908 smaller than the overlap portions 902, 904 and, consequently, the high portion 906 has two times the length of a single zero portion, when both zero portions 900, 908 have the same length.
Generally, most of the window figures from Fig. 8a to 15b have indicated folding lines such as 910 and 911 of Fig. 9a and additionally have the folded outer window portions such as 912 and 913 in Fig. 9a .
Furthermore, it is outlined that the corresponding transformation length corresponds to the distance between the folding points. For example, when Fig. 9a is considered, it becomes clear that the transformation length corresponds to 10ms which has the difference between 15ms and 5ms. Hence, the transform length corresponds to the notation of a "block" in Fig. 9a and the other figures. However, on the other hand, the actually windowed time portion is two times the transform or block length such as 20ms in the Fig. 9a embodiment.
Correspondingly, the window in Fig. 9c has a transform length of 5ms which corresponds to a length of the window time portion of 10ms as illustrated in Fig. 9c .
In the asymmetric case illustrated in Fig. 8a , the transform length or block size is again the distance between the folding lines such as 823 and 824 and is, therefore, 20ms and the length of the window time portion is 40ms.
Required for perfect reconstruction is to maintain the folding line or folding point when the long overlap portion or window edge of the asymmetric window such as 800 or 814 (for the synthesis side) is truncated.
Furthermore, as will be outlined specifically with respect to Fig. 4 , the present embodiment uses six different sampling rates and the length of the window edges or window flanks are selected in such a way that the length corresponds to an integer number of sampling values for each of the sampling rates.
Furthermore, it is outlined that for 10ms transforms, overlaps of 3.75ms or overlaps of 1.25ms are used. Hence, even more combinations than illustrated in the window figures from Fig. 8a to Fig. 15b are possible and useful and can be signaled by the window control signal in order to make sure that an optimum window sequence is selected for a certain audio signal having transient portions at specific portions.
The right overlap portion 1202 of Fig. 12a and the right overlap portion 1212 in Fig. 12b corresponds to the short edge of the asymmetric analysis window indicated at 802 in Fig. 8a .
In particular, Fig. 13a illustrates a synthesis transition window from a long block to a short block having a left long overlap portion 1300 and a right overlap portion 1302 and corresponding folding lines and folding portions as indicated.
Furthermore, Fig. 13d illustrates the first overlap portion 1340 of the next synthesis window corresponding to the "fourth window" in the context of Fig. 2 and, furthermore, Fig. 13d illustrates the second overlap portion 1342 of the preceding window, i.e., the window before the third window consisting of the second overlap portion 1330 and a first overlap portion 1331 corresponding to a short overlap of 1.25ms for example.
Although not illustrated, a synthesis window corresponding to the situation in Figs. 11a, 11b is useful, i.e., a synthesis window having a minimum truncation with or without fade-in in analogy to Fig. 11a or a synthesis window having the same kind of truncation as in Fig. 13d but now with first and second zero or low parts and an intermediate constant part.
Furthermore, in Fig. 15a , the 1502 is specifically illustrated in Fig. 11b and the third window function 1550 of Fig. 15b corresponds to the synthesis window function of Fig. 13c .
Hence, Fig. 14a illustrates a transition from a very first long asymmetric window with 20ms indicated at 1406 to the first asymmetric window function 1400 where, specifically, the zero portion 806 of Fig. 8a is also illustrated. In Fig. 14a then follows the long asymmetric window 1400 and, subsequently, the second window function with the truncated first overlap portion 1402 is illustrated. The following window 1408 is similar to the window in Fig. 9b and the following window 1410 corresponds to the Fig. 9c window and, finally, window 1412 is once again the asymmetric analysis window of Fig. 8a .
Regarding the synthesis window sequence in Fig. 15b , there are windows 1554, 1556, 1558 and 1560. 1554 corresponds to the synthesis window of Fig. 8b and the same is true for window 1556. Window 1558 is a transition from 20 to 10 and corresponds to Fig. 13b . Window 1560 is a transition from 10 to 5 and corresponds to Fig. 9b but, once again, with the long overlap to the left-hand side overlapped to the right-hand side. The inventively truncated and fade-out window 1550 follows which is again followed by the long asymmetric synthesis window.
Subsequently, a preferred implementation of the window constructor 206 is discussed in the context of Fig. 3 . In particular, the window constructor preferably comprises a memory 300, a window portion truncator 302 and a fader 304. Depending on the window control information illustrated at item 310 indicating a transition, for example, from the first window to the second window or from the third window to the fourth window, the window portion truncator 302 is activated. The truncator accesses the memory in order to retrieve the portion 800 of the asymmetric window or to retrieve the second overlap portion 814 of the fourth window. The portion is retrieved by retrieval line 308 from the memory 300 to the window portion truncator. The window portion truncator 302 performs a truncation to a certain length such as the maximum truncation length as discussed or shorter than the maximum length. The truncated overlap portion or window edge 316 is then forwarded to the fader 304. The fader then performs a fading-in or fading-out operation, i.e., the operation to arrive at the window in Fig. 10b , for example from the window in Fig. 10c illustrating the truncated window without fade-in. To this end, the fader accesses the memory via the access line 314 from the memory of the short overlap portion via retrieval line 312. The fader 304 then performs the fading-in or fading-out operation with the truncated window portion from line 316, for example by multiplying the truncated portion with the overlap portion. The output is the truncated and faded portion at output line 318.
Furthermore, the window constructor is configured to determine, on its own in accordance with corresponding predefined rules, the length and position of the low or zero portions and the high or one-portions of the specific windows as illustrated in the plots from Fig. 8a to 15b .
Thus, only a minimum amount of memory requirements are necessary for the purpose of implementing an encoder and a decoder. Hence, apart from the fact that encoder and decoder rely on one and the same memory 300, even a waste amount of different windows and transition windows etc., can be implemented only by storing four sets of window coefficients for each sampling rate.
The transform window switching outlined above was implemented in an audio coding system using asymmetric windows for long transforms and low-overlap sine windows for short transforms. The block length is 20ms for long blocks and 10ms or 5ms for short blocks. The left overlap of the asymmetric analysis window has a length of 14.375ms, the right overlap length is 8.75ms. The short windows use overlaps of 3.75ms and 1.25ms. For the transition from 20ms to 10ms or 5ms transform length on encoder side the left overlapping part of the asymmetric analysis window is truncated to 8.75ms and used for the left window part of the first short transform. A 1.25ms sine-shaped fade-in is applied by multiplying the left end of the truncated window with the 1.25ms ascending short window overlap. Reusing the 1.25ms overlap window shape for the fade-in avoids the need for an additional ROM/RAM table, as well as the complexity for on-the-fly computation of the fade-in shape. Fig. 14a depicts the resulting window sequence for an example with transform length sequence 20ms, 5ms, 5ms, 10ms, 20ms.
On decoder side for the transition from 10ms or 5ms to 20ms transform length the right overlapping part of the asymmetric synthesis window is truncated to 8.75ms and used for the right window part of the last short transform. A 1.25ms sine-shaped fade-out similar to the fade in on encoder side is applied to the truncated end of the window. The decoder window sequence for the example above is depicted in Fig. 14b .
Although not illustrated explicitly in Fig. 5 , a further step is required for the purpose of other transitions such as the transition illustrated in Fig. 15a . Here, the first zero part, the second zero part and the intermediate high part have to be additionally inserted by the window constructor, while this insertion can be done before or subsequent to the determination of the first and second overlap portions of the second window.
Then, in step 702 the length of the symmetric overlap portion of the window is determined. For the analysis side this means that the length of the second overlap portion is determined while, for the synthesis side, this means that the length for the first overlap portion is determined. The step 702 makes sure that the "fixed" situation of the transition window is acknowledged, i.e., that the transition window has a symmetric overlap. Now, in step 704, the second edge of the window or the other overlap portion of the window is determined. Basically, the maximum truncation length is the difference between the length of the transition window and the length of the symmetric overlap portion. When this length is greater than the length of the long edge of the asymmetric window then no truncation is necessary at all. However, when this difference is smaller than the long edge of the asymmetric window then a truncation is performed. The maximum truncation length, i.e., the length by which a minimum truncation is obtained is equal to this difference. Where necessary a truncation to this maximum length, i.e., a minimum truncation, can be performed and a certain fade can be applied as illustrated in Fig. 11a or 10b . As illustrated in Fig. 11a , a certain number of ones are required in order to make sure that the folding along the folding lines 1104, 1106 is possible due to the fact that these folding lines should not be changed in certain embodiments. Hence, a certain number of ones as indicated at 1101 in Fig. 11a are necessary for the 20 to 10ms analysis transition window but these ones are not necessary for the 20 to 5ms transition window of Fig. 10b .
Step 704, however, can be bypassed as illustrated by 708. A truncation to a smaller than a maximum length is then performed in step 710 leading to the situation of Fig. 11b . The remaining window portion has to be filled with zeros and ones and, in particular, has to be accounted for by inserting zeros at the beginning and an end of the window indicated at portions 1131 and 1133 in step 712. Furthermore, an insertion of a corresponding number of ones to obtain the high portion 1132 has to be performed as indicated at 714 in order to make sure that the folding-in around the folding points 1104 and 1106 properly operates as illustrates in Fig. 11b .
Hence, the number of zeros of portion 1131 is equal to a number of zeros immediately close to the first overlap portion 1130, a number of zeros in portion 1133 of Fig. 11b corresponds to a number of zeros immediately adjacent to the second overlap portion 1134 of Fig. 11b . Then the folding in with the marker 1135 around the folding lines 1104 and 1106 properly works.
Although the preferred embodiments have been described with window length of 40ms and transform length of 20ms as a long window, a block size of 10ms for intermediate windows and a block size of 5ms for a short window, it is to be emphasized that a different block or window size can be applied. Furthermore, it is to be emphasized that the present invention also is useful for only two different block sizes but three different block sizes are preferred in order to have a very good placement of short window functions with respect to a transient as, for example, discussed in detail in PCT/EP2014/053287 additionally discussing multi-overlap portions, i.e., an overlap between more than two windows occurring in the sequences in Figs. 15a and 15b or 14a and 14b .
Although the present invention has been described in the context of block diagrams where the blocks represent actual or logical hardware components, the present invention can also be implemented by a computer-implemented method. In the latter case, the blocks represent corresponding method steps where these steps stand for the functionalities performed by corresponding logical or physical hardware blocks.
Although some 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. Some or all of the method steps may be executed by (or using) a hardware apparatus, like for example, a microprocessor, a programmable computer or an electronic circuit. In some embodiments, some one or more of the most important method steps may be executed by such an apparatus.
The inventive transmitted or encoded 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.
Depending on certain implementation requirements, 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 disc, a DVD, a Blu-Ray, a CD, a ROM, a PROM, and 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. Therefore, the digital storage medium may be computer readable.
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.
Generally, 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.
Other embodiments comprise the computer program for performing one of the methods described herein, stored on a machine readable carrier.
In other words, 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 method is, therefore, a data carrier (or a non-transitory storage medium such as a digital storage medium, or a computer-readable medium) comprising, recorded thereon, the computer program for performing one of the methods described herein. The data carrier, the digital storage medium or the recorded medium are typically tangible and/or non-transitory.
A further embodiment of the invention 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 further embodiment comprises a computer having installed thereon the computer program for performing one of the methods described herein.
A further embodiment according to the invention comprises an apparatus or a system configured to transfer (for example, electronically or optically) a computer program for performing one of the methods described herein to a receiver. The receiver may, for example, be a computer, a mobile device, a memory device or the like. The apparatus or system may, for example, comprise a file server for transferring the computer program to the receiver.
In some embodiments, a programmable logic device (for example, a field programmable gate array) may be used to perform some or all of the functionalities of the methods described herein. In some embodiments, a field programmable gate array may cooperate with a microprocessor in order to perform one of the methods described herein. Generally, the methods are preferably performed by any hardware apparatus.
The above described embodiments are merely illustrative for the principles of the present invention. It is understood that modifications and variations of the arrangements and the details described herein will be apparent to others skilled in the art. It is the intent, therefore, to be limited only by the scope of the impending patent claims and not by the specific details presented by way of description and explanation of the embodiments herein.
- [1] International Organization for Standardization, ISO/IEC 14496-3, "Information Technology - Coding of audio-visual objects - Part 3: Audio," Geneva, Switzerland, Aug. 2009.
- [2] Internet Engineering Task Force (IETF), RFC 6716, "Definition of the Opus Audio Codec," Sep. 2012.
- [3] C. R. Helmrich, G. Markovic and B. Edler, "Improved Low-Delay MDCT-Based Coding of Both Stationary and Transient Audio Signals," in Proceedings of the IEEE 2014 Int. Conference on Acoustics, Speech and Signal Processing (ICASSP), 2014 or PCT/EP2014/053287.
Claims (18)
- Processor for processing an audio signal (200), comprising:an analyzer (202) for deriving a window control signal (204) from the audio signal (200),the window control signal (204) indicating a change from a first asymmetric window (1400) comprising a first overlap portion (800) and a second overlap portion (802) to a second window (1402) comprising a first overlap portion (1000), the second overlap portion (802) of the first asymmetric window (1400) overlapping with the first overlap portion (1000) of the second window (1402), the first overlap portion of the first asymmetric window preceding the second overlap portion of the first asymmetric window, orthe window control signal (204) indicating a change from a third window (1450) comprising a second overlap portion (1330) to a fourth asymmetric window (1452) comprising a first overlap portion (812) and a second overlap portion (814), the second overlap portion (1330) of the third window (1450) overlapping with the first overlap portion (812) of the fourth asymmetric window (1452), the first overlap portion of the fourth asymmetric window preceding the second overlap portion of the fourth asymmetric window,wherein the second window (1402) is shorter than the first asymmetric window (1400), or wherein the third window (1450) is shorter than the fourth asymmetric window (1452);a window constructor (206)for constructing the second window (1402) using the first overlap portion (800) of the first asymmetric window (1400), wherein the window constructor (206) is configured to determine the first overlap portion (1000) of the second window (1402) using a truncated first overlap portion of the first asymmetric window (1400), orfor constructing the third window (1450) using the second overlap portion (1330) of the fourth asymmetric window (1452), wherein the window constructor is configured to calculate the second overlap portion (1330) of the third window (1450) using a truncated second overlap portion (814) of the fourth asymmetric window (1452); anda windower (208) for applying the first asymmetric window and the second window or the third window and the fourth asymmetric window to obtain windowed audio signal portions (210).
- Processor of claim 1, wherein the first asymmetric window and the second window are analysis windows or the third window and the fourth asymmetric window are synthesis windows, wherein the processor further comprises an audio encoder (110) for further processing samples windowed by the first asymmetric window and the second window, or wherein the processor further comprises an overlap-adder (174) for overlap-adding samples windowed by the third window and the fourth asymmetric window.
- Processor of claim 1 or 2, wherein the window constructor (206) is configured to derive the first overlap portion (1000) of the second window by truncating the first overlap portion of the first asymmetric window and by fading-in the truncated portion, or wherein the window constructor (206) is configured to derive the second overlap portion of the third window by truncating the second overlap portion of the fourth asymmetric window and by fading-out the truncated portion.
- Processor of claim 3, wherein the window constructor (206) is configured for performing the fade-in or the fade-out using a sine fade-in function or a sine fade-out function.
- Processor of claim 3 or 4, wherein the window constructor (206) is configured to calculate the fade-in or fade-out using an overlap portion of any other window used by the processor.
- Processor of claim 5, wherein the window constructor (206) is configured to calculate the fade-in or fade-out (304) using a shortest overlap portion (401) of all overlap portions used.
- Processor of one of the preceding claims, further comprising a memory (300) having stored thereon, for a certain sampling rate, the first overlap portion (800) of the first asymmetric window, a second overlap portion (802) of the first asymmetric window and a third overlap portion for a further window shorter than the first asymmetric window, wherein the window constructor (206) is configured for retrieving (308) the first overlap portion of the first asymmetric window from the memory (300), for truncating (302) the first overlap portion to a length shorter than the length of the first overlap portion, for retrieving (312) the third overlap portion, and for multiplying (304) the truncated first portion by the third overlap portion to generate the first overlap portion of the second window; or wherein the window constructor (206) is configuredfor retrieving the second overlap portion of the fourth asymmetric window from the memory (300),for truncating the second overlap portion retrieved to a length shorter than the length of the second overlap portion (302),for retrieving the third overlap portion (312); andfor multiplying the truncated second overlap portion by the third overlap portion to generate the second overlap portion of the third window.
- Processor of claim 7, wherein the memory (300) has furthermore stored a fourth overlap portion (402) of an even further window, the even further window having a length between a length of the first asymmetric window and a length of the further window.
- Processor of claim 8, wherein the window constructor (206) is configured to construct, depending on the window control signal (204), a sequence comprising the first asymmetric window (1400), the second window (1402), an additional window constructed using the third overlap portion and the fourth overlap portion or using the third overlap portion only, and a further additional window (1410) using the third overlap portion and the second overlap portion of the first asymmetric window.
- Processor of one of the preceding claims, wherein the window constructor (206) is configured to determine the first overlap portion of the second window (1402) using the truncated first overlap portion of the first asymmetric window (1400) being truncated to a length of the second overlap portion of the first asymmetric window, or to determine the second overlap portion of the third window using a second overlap portion of the fourth asymmetric window truncated to a length of the first overlap portion of the fourth asymmetric window.
- Processor of one of the preceding claims, wherein the window constructor (206) is configured to determine the second window using the first overlap portion of the second window (1402) and a second overlap portion (1002) of the second window (1402) corresponding to a first overlap portion (1022) of a further window following the second window, or wherein the window constructor (206) is configured to construct the third window by using a first overlap portion (1331) of the third windoe corresponding to a second overlap portion (1342) of a further window preceding the third window (1450).
- Processor of one of the preceding claims, wherein the window constructor (206) is configured to truncate the first overlap portion of the first asymmetric window or the second overlap portion of the fourth asymmetric window to a truncation length being shorter or equal than a window length of the second or third window less a length of the first overlap portion of a further window following the second window or a length of a second overlap portion of a further window preceding the third window (706, 710).
- Processor of claim 12, wherein, when the truncation length is smaller than the window length less the length of the first overlap portion of the further window or the second overlap portion of the window, the window constructor (206) is configured to insert (712) zeroes (1131, 1133) before or subsequent to the first and second overlap portions of the second or third window, and wherein the window constructor is furthermore configured to insert a number of "1" values (714; 1132) between the first and second overlap portions of the second window or the third window.
- Processor of one of claims 1 to 3, wherein the first asymmetric window has a first high value part between the first and second overlap portion and a second low value part subsequent to the second overlap portion, wherein the values in the high value part are greater than 0.9 and the values in the low value part are lower than 0.1, and wherein the length of the second overlap portion is lower than a length of the first overlap portion.
- Processor of one of the preceding claims, which is configured to operate at a plurality of different sampling rates, and wherein the processor is configured to store, for each sampling rate, the first and second overlap portions of the first or fourth window (403, 404), a symmetric overlap portion of a further window (402), and a further symmetric overlap portion (401) of an even further window being shorter than the further window; and wherein the symmetric overlap portion and the further symmetric overlap portion are stored as an ascending or a descending portion only, and wherein the window constructor (206) is configured to derive a descending or an ascending portion from the stored ascending or descending portion by arithmetic or logic operations.
- Processor of one of the preceding claims, wherein the first asymmetric window is configured for a transform length of 20 ms, wherein the window constructor is configured for further using further windows for transform length of 10 ms or 5 ms, and wherein the second window is a transition window from the transform length of 20 ms to the transform length of 10 ms or 5 ms, or wherein the fourth asymmetric window is configured for the transform length of 20 ms, and wherein the third window is a transition window from the transform length of 5 ms to 20 ms or from the transform length of 10 ms to 20 ms.
- Method of processing an audio signal (200), comprising:deriving (202) a window control signal (204) from the audio signal (200),the window control signal (204) indicating a change from a first asymmetric window (1400) comprising a first overlap portion (800) and a second overlap portion (802) to a second window (1402) comprising a first overlap portion (1000), the second overlap portion (802) of the first asymmetric window (1400) overlapping with the first overlap portion (1000) of the second window (1402), the first overlap portion of the first asymmetric window preceding the second overlap portion of the first asymmetric window, orthe window control signal (204) indicating a change from a third window (1450) comprising a second overlap portion (1330) to a fourth asymmetric window (1452) comprising a first overlap portion (812) and a second overlap portion (814), the second overlap portion (1330) of the third window (1450) overlapping with the first overlap portion (812) of the fourth asymmetric window (1452) the first overlap portion of the fourth asymmetric window preceding the second overlap portion of the fourth asymmetric window,wherein the second window (1402) is shorter than the first asymmetric window (1400), or wherein the third window (1450) is shorter than the fourth asymmetric window (1452);constructing (206) the second window (1402) using a first overlap portion (800) of the first asymmetric window (1400), wherein the constructing (206) comprises determining the first overlap portion (1000) of the second window (1402) using a truncated first overlap portion of the first asymmetric window (1400), orconstructing (206) the third window (1450) using the second overlap portion (1330) of the fourth asymmetric window (1452), wherein the constructing (206) comprises calculating the second overlap portion (1330) of the third window (1450) using a truncated second overlap portion (814) of the fourth asymmetric window (1452); andapplying (208) the first asymmetric window (1400) and the second window (1402) or the third window (1450) and the fourth asymmetric window (1452) to obtain windowed audio signal portions (210).
- Computer program comprising instructions which, when the program is executed by a computer or processor, cause the computer or processor to carry out the method of claim 17.
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP14178774 | 2014-07-28 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1233046A1 HK1233046A1 (en) | 2018-01-19 |
| HK1233046B true HK1233046B (en) | 2020-08-21 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11664036B2 (en) | Processor and method for processing an audio signal using truncated analysis or synthesis window overlap portions | |
| EP3525207B1 (en) | Apparatus and method for encoding or decoding an audio signal using a transient-location dependent overlap | |
| HK1233046B (en) | Processor, method and computer program for processing an audio signal using truncated analysis or synthesis window overlap portions | |
| HK1233046A1 (en) | Processor, method and computer program for processing an audio signal using truncated analysis or synthesis window overlap portions | |
| BR112017001630B1 (en) | PROCESSOR AND METHOD FOR PROCESSING AN AUDIO SIGNAL USING TRUNCATED ANALYSIS OR OVERLAPPING PARTS OF THE SYNTHESIS WINDOW | |
| HK1219343B (en) | Apparatus and method for encoding or decoding an audio signal using a transient-location dependent overlap |