Enum bliss_audio_aubio_rs::OnsetMode[][src]

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

Onset detection function

Variants

Energy
Expand description

Energy based onset detection function

This function calculates the local energy of the input spectral frame.

Hfc
Expand description

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
Expand description

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
Expand description

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
Expand description

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
Expand description

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
Expand description

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
Expand description

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
Expand description

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]

fn as_native_str(&self) -> &'static str[src]

Implementations should return strings ended with ‘\0’ (for ex.: "energy\0") Read more

fn as_native_cstr(&self) -> *const c_char[src]

Get constant as null-terminated C-string

fn as_rust_str(&self) -> &'static str[src]

Get constant as rust string slice

impl AsRef<str> for OnsetMode[src]

fn as_ref(&self) -> &str[src]

Performs the conversion.

impl Clone for OnsetMode[src]

fn clone(&self) -> OnsetMode[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for OnsetMode[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Default for OnsetMode[src]

fn default() -> Self[src]

Returns the “default value” for a type. Read more

impl Display for OnsetMode[src]

fn fmt(&self, f: &mut Formatter<'_>) -> FmtResult[src]

Formats the value using the given formatter. Read more

impl FromStr for OnsetMode[src]

type Err = Error

The associated error which can be returned from parsing.

fn from_str(src: &str) -> Result<Self>[src]

Parses a string s to return a value of this type. Read more

impl Hash for OnsetMode[src]

fn hash<__H: Hasher>(&self, state: &mut __H)[src]

Feeds this value into the given Hasher. Read more

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given Hasher. Read more

impl PartialEq<OnsetMode> for OnsetMode[src]

fn eq(&self, other: &OnsetMode) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Copy for OnsetMode[src]

impl Eq 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]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.