A frequency spectrum describes the frequency components of a function. A Fourier series supplies discrete Fourier coefficients; the Fourier transform of an integrable function supplies a continuous, generally complex-valued description. An amplitude plot shows magnitudes and omits wave phases, so it need not determine the original function. In the example with three Fourier harmonics above, the one-sided amplitude plot has heights , , and . The corresponding complex Fourier coefficients at positive and negative frequencies each have half those heights: .
A spectral envelope is a smooth description of the broad shape of a frequency spectrum, separating slowly varying magnitude structure from fine spectral peaks. It is an estimated representation, not a uniquely defined extra part of the Fourier transform. Smoothing scale, whether one smooths linear magnitude or log magnitude, and the estimation method all matter.[ref]
Spectral Audio Signal Processing by Julius O. Smith III. Spectral Envelope Extraction, Cepstral Windowing and examples
For a periodic signal passed through a linear time-invariant system, the harmonic line at has amplitude proportional to . The excitation sets the line spacing , while the filter's frequency response shapes their broad heights. Changing the fundamental frequency can therefore move the lines without moving the filter's resonant peaks. A spectral envelope aims to capture that broad shape; overly aggressive smoothing can erase meaningful resonances, while insufficient smoothing retains the individual harmonics.
A spectrogram displays a signal's changing local frequency spectrum, usually by color proportional to squared short-time Fourier transform magnitude. With window function , one convention isThe window selects a neighborhood of time before taking its Fourier transform. A sinusoid gives a persistent frequency ridge, while a brief pulse spreads across frequencies and occupies a short time range.
A longer window separates nearby persistent frequencies more clearly but mixes events across a longer interval. A shorter window localizes transients but broadens their spectral features. Changing the window function changes this tradeoff and the spectral leakage. Zero padding can sample the displayed frequency curve more finely; it does not add observed data or restore the resolution lost through a short measurement interval. The phase is discarded in the plotted squared magnitude, so the spectrogram should not be confused with a complete set of complex transform coefficients.
Articles by others on the same topic
There are currently no matching articles.