[−][src]Enum aubio_rs::SpecShape
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
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.
Spectral spread
The spectral spread is the variance of the spectral distribution around its centroid.
See also Standard deviation on Wikipedia.
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.
Spectral kurtosis
The kurtosis is a measure of the flatness of the spectrum, computed from the fourth order moment.
See also Kurtosis on Wikipedia.
Spectral slope
The spectral slope represents decreasing rate of the spectral amplitude, computed using a linear regression.
Spectral decrease
The spectral decrease is another representation of the decreasing rate, based on perceptual criteria.
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]
fn as_native_str(&self) -> &'static str
[src]
fn as_native_cstr(&self) -> *const c_char
[src]
fn as_rust_str(&self) -> &'static str
[src]
impl AsRef<str> for SpecShape
[src]
impl Clone for SpecShape
[src]
impl Copy for SpecShape
[src]
impl Debug for SpecShape
[src]
impl Display for SpecShape
[src]
impl Eq for SpecShape
[src]
impl FromStr for SpecShape
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(src: &str) -> Result<Self>
[src]
impl Hash for SpecShape
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<SpecShape> 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,