Trait envelope_detector::peak::Rectifier [] [src]

pub trait Rectifier {
    fn rectify(sample: f32) -> f32;
}

Types that can rectify some incoming signal.

Required Methods

fn rectify(sample: f32) -> f32

Rectify a single sample of some incoming signal.

Implementors