![]() |
|
|
| |
|
||||
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 the side slopes drop. Frequency analysis of a signal commonly involves taking a discrete, finite-length sample of the signal and performing a discrete Fourier-related transform to convert it from the time domain to the frequency domain, in order to have a frequency spectrum. However, this type of transform assumes that the signal can be reproduced by looping the sample. If the length of the sample isn't exactly a multiple of the period of the signal, then that assumption is not met, and the transform will contain errors as a result. In particular, if the end of the sample is not continuous with the beginning, the transform will be somewhat incorrect. To eliminate any discontinuity at the edges of a sample, the sample may be multiplied by a window function before attempting any frequency analysis. This introduces some minor error of its own, but it commonly produces a sample that more closely resembles the overall signal in the frequency domain. The maximum order of derivative which is zero at the ends determines the asymptotic behaviour:
There is an intrinsic trade-off problem between:
and
The following windows are normalized for a MDCT on the range of [-1,+1].
Non-power-preserving analysis windowsRectangular windowsFull size window. Actually this is a MDCT without window.
Sometimes also written as
Half-size window. Actually this is a DCT Type?
Triangular (aka Bartlett) window
Hamming/von Hann window
von Hann window: a = 1/2 Hamming window: a ≈ 0.54 (precisely a = 25/46) Blackman/Blackman Harris windows
Blackman: a0 = 0.42, a1 = −0.5, a2 = 0.08, a3 = 0 Blackman Harris: a0 = 0.35875, a1 = 0.48829, a2 = 0.14128, a3 = 0.01168 Blackman Nuttall: a0 = 0.3635819, a1 = 0.4891775, a2 = 0.1365995, a3 = 0.0106411 Bartlett-Hann windowMixture of Barlett and von Hann window:
Bessel window
Power-preserving analysis windows
Sine window
Kaiser-Bessel-derived (KBD) windowFor 0 ≤ x ≤ 1:
For x > 1:
For x < 0:
(See Kaiser window.) Other power-preserving windowsMultiple overlap windowsWhen using FFT or DCT for spectral analysis a sample belongs to one analysis window. When using windowing, samples at the boundaries are attenuated. To reduce the effect that these samples become less important for the result, normally windows are overlapped. So samples between two blocks are attenuated, but they belong to two blocks: 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. Triple overlapped cosine windowThe normal cosine windows 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.
|
||
|
|
|
|
|
|
Copyright 2008 WordIQ.com - Privacy Policy
::
Terms of Use
:: Contact Us
:: About Us This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Windowed frame". |