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.
Trait Implementations
impl<I> Step for Hz<I> where I: Iterator<Item=f64>
impl<I> Iterator for Hz<I> where I: Iterator<Item=f64>
Derived Implementations
impl<I> Clone for Hz<I> where I: Clone
fn clone(&self) -> Hz<I>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more