Struct dsp::signal::Hz
[−]
[src]
pub struct Hz<I> { // some fields omitted }
An iterator that yields the step size for a phase.
Methods
impl<I> Hz<I> where I: Iterator<Item=f64>
fn phase(self) -> Phase<Hz<I>>
[−]
Construct a Phase
iterator that, for every hz
yielded by self
, yields a phase that is
stepped by hz / self.rate.hz
.
fn sine(self) -> Sine<Hz<I>>
[−]
A composable alternative to the signal::sine
function.
fn saw(self) -> Saw<Hz<I>>
[−]
A composable alternative to the signal::saw
function.
fn square(self) -> Square<Hz<I>>
[−]
A composable alternative to the signal::square
function.
fn noise_simplex(self) -> NoiseSimplex<Hz<I>>
[−]
A composable alternative to the signal::noise_simplex
function.