Struct dsp::signal::Hz [] [src]

pub struct Hz<I> { /* fields omitted */ }

An iterator that yields the step size for a phase.

Methods

impl<I> Hz<I> where
    I: Iterator<Item = f64>, 
[src]

Construct a Phase iterator that, for every hz yielded by self, yields a phase that is stepped by hz / self.rate.hz.

A composable alternative to the signal::sine function.

A composable alternative to the signal::saw function.

A composable alternative to the signal::square function.

A composable alternative to the signal::noise_simplex function.

Trait Implementations

impl<I> Clone for Hz<I> where
    I: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<I> Step for Hz<I> where
    I: Iterator<Item = f64>, 
[src]

Yield the phase step size (normally hz / sampling rate). Read more

impl<I> Iterator for Hz<I> where
    I: Iterator<Item = f64>, 
[src]