Struct oddio::Speed[][src]

pub struct Speed<T: ?Sized> { /* fields omitted */ }

Scales rate of playback by a dynamically-adjustable factor

Higher/lower speeds will naturally result in higher/lower pitched sound respectively.

Implementations

impl<T> Speed<T>[src]

pub fn new(signal: T) -> Self[src]

Apply dynamic speed to signal

Trait Implementations

impl<'a, T: 'a> Controlled<'a> for Speed<T>[src]

type Control = SpeedControl<'a, T>

The interface through which this signal can be safely controlled

impl<T> Filter for Speed<T>[src]

type Inner = T

Type of signal transformed by this filter

impl<T: Signal> Signal for Speed<T> where
    T::Frame: Frame
[src]

type Frame = T::Frame

Type of frames yielded by sample, e.g. [Sample; 2] for stereo

Auto Trait Implementations

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

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

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

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

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

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, 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.