- Spectral flux
:"This article is about the
Digital signal processing term. For the term used inastronomy , which refers to a different measure, seeSpectral flux density ."Spectral flux is a measure of how quickly the
power spectrum of a signal is changing, calculated by comparing the power spectrum for one frame against the power spectrum from the previous frame. More precisely, it is usually calculated as the 2-norm (also known as theEuclidean distance ) between the two normalised spectra.Calculated this way, the spectral flux is not dependent upon overall power (since the spectra are normalised), nor on phase considerations (since only the magnitudes are compared).
The spectral flux can be used to determine the timbre of an audio signal, or in onset detection, among other things.
Variations
Some implementations use the 1-norm rather than the 2-norm (i.e. the sum rather than the Euclidean distance).
Some implementations do not normalise the spectra.
For onset detection, increases in energy are important (not decreases), so some algorithms only include values calculated from bins in which the energy is increasing.
References
* Dixon, S. (2006) " [http://www.dafx.ca/proceedings/papers/p_133.pdf Onset Detection Revisited] ", in Proceedings of the 9th International Conference on Digital Audio Effects (DAFx-06), Montreal, Canada, September 18-20, 2006
Wikimedia Foundation. 2010.