Enum bliss_audio_aubio_rs::SpecShape [−][src]
pub enum SpecShape { Centroid, Spread, Skewness, Kurtosis, Slope, Decrease, Rolloff, }
Expand description
Spectral shape descriptor
The following descriptors are described in:
Geoffroy Peeters, A large set of audio features for sound description (similarity and classification) in the CUIDADO project, CUIDADO I.S.T. Project Report 2004 (pdf)
Variants
Expand description
Spectral centroid
The spectral centroid represents the barycenter of the spectrum.
Note: This function returns the result in bin. To get the spectral centroid in Hz, bintofreq()
should be used.
Expand description
Spectral spread
The spectral spread is the variance of the spectral distribution around its centroid.
See also Standard deviation on Wikipedia.
Expand description
Spectral skewness
Similarly, the skewness is computed from the third order moment of the spectrum. A negative skewness indicates more energy on the lower part of the spectrum. A positive skewness indicates more energy on the high frequency of the spectrum.
See also Skewness on Wikipedia.
Expand description
Spectral kurtosis
The kurtosis is a measure of the flatness of the spectrum, computed from the fourth order moment.
See also Kurtosis on Wikipedia.
Expand description
Spectral slope
The spectral slope represents decreasing rate of the spectral amplitude, computed using a linear regression.
Expand description
Spectral decrease
The spectral decrease is another representation of the decreasing rate, based on perceptual criteria.
Expand description
Spectral roll-off
This function returns the bin number below which 95% of the spectrum energy is found.
Trait Implementations
impl AsNativeStr for SpecShape
[src]
impl AsNativeStr for SpecShape
[src]fn as_native_str(&self) -> &'static str
[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]
fn as_native_cstr(&self) -> *const c_char
[src]Get constant as null-terminated C-string
fn as_rust_str(&self) -> &'static str
[src]
fn as_rust_str(&self) -> &'static str
[src]Get constant as rust string slice
impl Copy for SpecShape
[src]
impl Eq for SpecShape
[src]
impl SpecMethod for SpecShape
[src]
impl StructuralEq for SpecShape
[src]
impl StructuralPartialEq for SpecShape
[src]
Auto Trait Implementations
impl RefUnwindSafe for SpecShape
impl Send for SpecShape
impl Sync for SpecShape
impl Unpin for SpecShape
impl UnwindSafe for SpecShape
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
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]
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