Spectral flatness
Spectral flatness or tonality coefficient, also known as Wiener entropy, is a measure used in digital signal processing to characterize an audio spectrum.[src] Spectral flatness is typically measured in decibels, and provides a way to quantify how much a sound resembles a pure tone, as opposed to being noise-like.[src]
Spectral flatness or tonality coefficient, also known as Wiener entropy, is a measure used in digital signal processing to characterize an audio spectrum.[src] Spectral flatness is typically measured in decibels, and provides a way to quantify how much a sound resembles a pure tone, as opposed to being noise-like.[src] ==Interpretation== The meaning of tonal in this context is in the sense of the amount of peaks or resonant structure in a power spectrum, as opposed to the flat spectrum of white noise.[src] A high spectral flatness (approaching 1.0 for white noise) indicates that the spectrum has a similar amount of power in all spectral bands — this would sound similar to white noise, and the graph of the spectrum would appear relatively flat and smooth.[src] A low spectral flatness (approaching 0.0 for a pure tone) indicates that the spectral power is concentrated in a relatively small number of bands — this would typically sound like a mixture of sine waves, and the spectrum would appear "spiky".[src] Dubnov has shown that spectral flatness is equivalent to information theoretic concept of mutual information that is known as dual total correlation.[src] ==Formulation== The spectral flatness is calculated by dividing the geometric mean of the power spectrum by the arithmetic mean of the power spectrum, i.e.: \mathrm{Flatness} = \frac{\sqrt[N]{\prod_{n=0}^{N-1}x(n)}}{\frac{\sum_{n=0}^{N-1}x(n)}{N}} = \frac{\exp\left(\frac{1}{N}\sum_{n=0}^{N-1} \ln x(n)\right)}{\frac{1}{N} \sum_{n=0}^{N-1}x(n)} where x(n) represents the magnitude of bin number n.[src] Note that a single (or more) empty bin yields a flatness of 0, so this measure is most useful when bins are generally not empty.[src] The ratio produced by this calculation is often converted to a decibel scale for reporting, with a maximum of 0 dB and a minimum of −∞ dB.[src] The spectral flatness can also be measured within a specified sub-band, rather than across the whole band.[src]
12 sentences · 12 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Spectral flatness." encyclopegia.org, 2025, https://encyclopegia.org/wiki/spectral-flatness. Accessed 06 December 2026.
Chicago
"Spectral flatness." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/spectral-flatness.
APA
encyclopegia.org. (2025). Spectral flatness. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/spectral-flatness
Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON