Spectral flatness

From Wikipedia, the free encyclopedia

Spectral flatness is a measure used in digital signal processing to characterise an audio spectrum. A high spectral flatness 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. A low spectral flatness 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".

The spectral flatness is calculated by dividing the geometric mean of the power spectrum by the arithmetic mean of the power spectrum, i.e.:

 
Flatness = \frac{\sqrt[N]{\prod_{n=0}^{N-1}x(n)}}{(\frac{\sum_{n=0}^{N-1}x(n)}{N})}

where x(n) represents the magnitude of bin number n.

This measurement is one of the many audio descriptors used in the MPEG-7 standard, in which it is labelled "AudioSpectralFlatness".

The spectral flatness can also be measured within a specified subband, rather than across the whole band.

[edit] References


Image:Signal-icon.png This signal processing-related article is a stub. You can help Wikipedia by expanding it.