Function dsp::signal::rate [] [src]

pub fn rate(hz: f64) -> Rate

Creates a frame Rate (aka sample rate) representing the rate at which a signal may be sampled.

This is necessary for composing Hz or ConstHz, both of which may be used to step forward the Phase for some kind of oscillator (i.e. Sine, Saw, Square or NoiseSimplex). ```