pub enum OnsetMode {
Energy,
Hfc,
Complex,
Phase,
WPhase,
SpecDiff,
Kl,
Mkl,
SpecFlux,
}
Expand description
Onset detection function
Variants§
Energy
Energy based onset detection function
This function calculates the local energy of the input spectral frame.
Hfc
High Frequency Content onset detection function
This method computes the High Frequency Content (HFC) of the input spectral frame. The resulting function is efficient at detecting percussive onsets.
Paul Masri. Computer modeling of Sound for Transformation and Synthesis of Musical Signal. PhD dissertation, University of Bristol, UK, 1996.
Complex
Complex Domain Method onset detection function
Christopher Duxbury, Mike E. Davies, and Mark B. Sandler. Complex domain onset detection for musical signals. In Proceedings of the Digital Audio Effects Conference, DAFx-03, pages 90-93, London, UK, 2003.
Phase
Phase Based Method onset detection function
Juan-Pablo Bello, Mike P. Davies, and Mark B. Sandler. Phase-based note onset detection for music signals. In Proceedings of the IEEE International Conference on Acoustics Speech and Signal Processing, pages 441444, Hong-Kong, 2003.
WPhase
Weighted Phase Deviation onset detection function
S. Dixon. Onset detection revisited. In Proceedings of the 9th International Conference on Digital Audio Ef- fects (DAFx) , pages 133–137, 2006.
SpecDiff
Spectral difference method onset detection function
Jonhatan Foote and Shingo Uchihashi. The beat spectrum: a new approach to rhythm analysis. In IEEE International Conference on Multimedia and Expo (ICME 2001), pages 881884, Tokyo, Japan, August 2001.
Kl
Kullback-Liebler onset detection function
Stephen Hainsworth and Malcom Macleod. Onset detection in music audio signals. In Proceedings of the International Computer Music Conference (ICMC), Singapore, 2003.
Mkl
Modified Kullback-Liebler onset detection function
Paul Brossier, “Automatic annotation of musical audio for interactive systems”, Chapter 2, Temporal segmentation, PhD thesis, Centre for Digital music, Queen Mary University of London, London, UK, 2006.
SpecFlux
Spectral Flux
Simon Dixon, Onset Detection Revisited, in “Proceedings of the 9th International Conference on Digital Audio Effects” (DAFx-06), Montreal, Canada, 2006.
Trait Implementations§
Source§impl AsNativeStr for OnsetMode
impl AsNativeStr for OnsetMode
Source§fn as_native_str(&self) -> &'static str
fn as_native_str(&self) -> &'static str
"energy\0"
)