[][src]Enum aubio_rs::WindowType

pub enum WindowType {
    Ones,
    Rectangle,
    Hamming,
    Hanning,
    Hanningz,
    Blackman,
    BlackmanHarris,
    Gaussian,
    Welch,
    Parzen,
}

The window function type

See:

  • Window function on Wikipedia
  • Amalia de Götzen, Nicolas Bernardini, and Daniel Arfib. Traditional (?) implementations of a phase vocoder: the tricks of the trade. In Proceedings of the International Conference on Digital Audio Effects (DAFx-00), pages 37–44, Uni- versity of Verona, Italy, 2000. pdf

Variants

Ones
Rectangle
Hamming
Hanning
Hanningz
Blackman
BlackmanHarris
Gaussian
Welch
Parzen

Methods

impl WindowType[src]

pub fn set<'a, W>(&self, window: W) where
    W: Into<FVecMut<'a>>, 
[src]

Set elements of a vector to window coefficients

Trait Implementations

impl AsNativeStr for WindowType[src]

impl AsRef<str> for WindowType[src]

impl Clone for WindowType[src]

impl Copy for WindowType[src]

impl Debug for WindowType[src]

impl Default for WindowType[src]

fn default() -> Self[src]

Hanningz window by default

impl Display for WindowType[src]

impl Eq for WindowType[src]

impl FromStr for WindowType[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for WindowType[src]

impl PartialEq<WindowType> for WindowType[src]

impl StructuralEq for WindowType[src]

impl StructuralPartialEq for WindowType[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.