pub struct BPMDesc { /* private fields */ }Expand description
Beats per minutes (BPM) detection object.
It indicates the (subjective) “speed” of a music piece. The higher the BPM, the “quicker” the song will feel.
It uses SpecFlux, a phase-deviation onset detection function to perform
onset detection; it proved to be the best for finding out the BPM of a panel
of songs I had, but it could very well be replaced by something better in the
future.
Ranges from 0 (theoretically…) to 206 BPM. (Even though aubio apparently has trouble to identify tempo > 190 BPM - did not investigate too much)
Implementations§
Auto Trait Implementations§
impl Freeze for BPMDesc
impl RefUnwindSafe for BPMDesc
impl !Send for BPMDesc
impl !Sync for BPMDesc
impl Unpin for BPMDesc
impl UnwindSafe for BPMDesc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more