Search Spectral Audio Signal Processing
Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?
The (zero-centered) rectangular window may be defined by
To see what happens in the frequency domain, we need to look at the DTFT of the window:
where the last line was derived using the closed form of a geometric series:
The term ``aliased sinc function'' refers to the fact that it may be
obtained from the sinc function
sinc
by
aliasing
sinc
on a block of
samples. (In the time
domain, an amplitude
continuous rectangular pulse extending from
time
to
is simply sampled over the integers.)
As the sampling rate goes to infinity, the aliased sinc function therefore approaches the sinc function
Figure 1.8 illustrates
for
. Note that this is the complete window transform, not just
its real part. We obtain real window transforms like this only for
zero-centered, symmetric windows. Note that the phase of
rectangular-window transform
is zero for
, which is the width of the main lobe. This
is why zero-centered windows are often called zero-phase
windows; while the phase actually alternates between 0 and
radians, the
values occur only within side-lobes which are
routinely neglected (in fact, the window is normally designed to
ensure that all side-lobes can be neglected).
More generally, we may plot both the magnitude and phase of the window versus frequency, as shown in Figures 1.9 and 1.10. In audio work, we more typically plot the window transform magnitude on a decibel (dB) scale, as shown in Fig.1.11. It is common to normalize the peak of the dB magnitude to 0 dB, as we have done here.
