[][src]Enum aubio_rs::OnsetMode

pub enum OnsetMode {
    Energy,
    Hfc,
    Complex,
    Phase,
    WPhase,
    SpecDiff,
    Kl,
    Mkl,
    SpecFlux,
}

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 441­444, 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.

See http://www.eecs.qmul.ac.uk/~simond/pub/2006/dafx.pdf

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 881­884, 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

impl AsNativeStr for OnsetMode[src]

impl AsRef<str> for OnsetMode[src]

impl Clone for OnsetMode[src]

impl Copy for OnsetMode[src]

impl Debug for OnsetMode[src]

impl Default for OnsetMode[src]

impl Display for OnsetMode[src]

impl Eq for OnsetMode[src]

impl FromStr for OnsetMode[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for OnsetMode[src]

impl PartialEq<OnsetMode> for OnsetMode[src]

impl SpecMethod for OnsetMode[src]

impl StructuralEq for OnsetMode[src]

impl StructuralPartialEq for OnsetMode[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.