Search Spectral Audio Signal Processing
Book Index | Global Index
Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?
Summary of Generalized Hamming Windows
Definition:
where
Transform:
where
Common Properties
- Window is a rectangular window plus a scaled cosine,
where the cosine has one period across the window.
- Symmetric (
zero or linear phase)
- Positive (by convention on
and
)
- Main lobe is
radians per sample wide, where
.
- Zero-crossings (``notches'') in window transform at intervals
of
outside of main lobe.
Figure 3.6 compares the window transforms for the
rectangular, Hann, and Hamming windows. Note how the Hann window has
the fastest roll-off while the Hamming window is closest to being
equal-ripple. The rectangular window has the narrowest main lobe.
Figure 3.6:
Comparison of window
transforms for the rectangular, Hann, and Hamming windows.
![\includegraphics[width=\twidth]{eps/RectHannHamm}](http://www.dsprelated.com/josimages_new/sasp/img342.png) |
Rectangular window properties:
- Abrupt transition from 1 to 0 at the window endpoints.
- Roll off is approximately -6 dB per octave.
- First side lobe is
dB relative to main lobe peak.
Hann window properties:
- Smooth transition to zero at window endpoints.
- Roll off is approximately -18 dB per octave (as
).
- First side lobe is
dB relative to main lobe peak.
Hamming window properties:
- Discontinuous ``slam to zero'' at endpoints.
- Asymptotic roll-off is approximately -6 dB per octave.
- Side lobes are closer to ``equal ripple''.
- First side lobe is
dB down =
dB better than Hann.4.4
Previous: Matlab for the Hamming WindowNext: The MLT Sine Window
About the Author: Julius Orion Smith III
Julius Smith's background is in electrical engineering (BS Rice 1975, PhD Stanford 1983). He is presently Professor of Music and Associate Professor (by courtesy) of Electrical Engineering at
Stanford's Center for Computer Research in Music and Acoustics (CCRMA), teaching courses and pursuing research related to signal processing applied to music and audio systems. See
http://ccrma.stanford.edu/~jos/ for details.