Trait rft::Sample [] [src]

pub trait Sample: Zero + One + Clone {
    fn normalize(&self) -> Precision;
}

Trait for sample data, usually from a music file, used for input.

Required Methods

Returns a normalized value between -1.0 and 1.0.

Implementors