Window functions are applied to avoid discontinuities at the beginning
and the end of a set of data. The smaller these discontinuities are, the
faster side slopes are dopping. The maximum order of deriviation which
is zero at the ends determines the asymptodic behave:
The following window are normalized for a MDCT on the range of [-1,+1].
Full size window. Actually this is a MDCT without window.
f(x) = 1 for |x| < 1 , 0 otherwise
Sometimes also written as
f(x) = sqrt(1/2) for |x| < 1 , 0 otherwise
Half size window. Actually this is a DCT Type ???
f(x) = 1 for |x| < 1/2 , 0 otherwise
How to add images ???
Image of f(x) and spectral resolution[?]
f(x) = 1 - |x| for |x| < 1, 0 otherwise
Image of f(x) and spectral resolution[?]
f(x) = a0 - a1 * cos(w)
van Hann window: a0 = , a1 =
hamming window: a0 = , a1 =
f(x) = a0 - a1 * cos(w) + a2 * cos(2w) - a3 * cos(3w)
Blackman: a0 = , a1 = , a2 = , a3 =
Blackman Harris: a0 = , a1 = , a2 = , a3 =
Blackman Nuttall: a0 = , a1 = , a2 = , a3 =
Mixture of Barlett and van Hann window:
f(x) = a0 - a1 * cos(w) - a2 * |x|
a0 = , a1 = , a2 =
f(x) =
f(x) = sin(w/2)
For 0 <= x <= 1:
f(x) = Int
For x > 1:
f(x) = 0
For x < 0:
f(x) = f(-x)
When using FFT or DCT for spectral analysis a sample belongs to [b]one[/b]
analysis window. When using windowing samples at the boundaries are attenuated.
To reduce the effect that these samples are less important for the result,
normally windows were overlapped. So samples between two blocks are attenuated,
but they belong to two blocks, so their influence is still (nearly) the same
as samples which are not attenuated. But it is possible to overlap more than
two windows. This typically makes the transition band between main slope and side slopes smaller.
The normal cosine window do not preserve the power of the signal.
Samples which are exactly between two blocks are attenuated by 6 dB, i.e.
their power is reduced by a factor of 0.25. The overlapping reduces this to
a factor of 0.5, which still result
There is an intrinsic trade-off problem between:
Table of contents
1 Non-power-preserving analysis windows
Non-power-preserving analysis windows Rechtangular windows
Triangular (aka Bartlett) window
Hamming/van Hann window
Blackman/Blackman Harris windows
Bartlett-Hann Window
Bessel window
Power-preserving analysis windows Sine window
Kaiser-Bessel-derived (KBD) window
Other power-preserving windows
Multiple overlap windows Triple overlapped cosine window