pub struct NoiseWave { /* private fields */ }Expand description
A pseudo-random noise waveform.
In white mode a fresh value is drawn for every sample. In sample-and-hold mode a new value
is drawn each time the oscillator phase wraps and held in between, giving noise that changes at
the oscillator frequency (this requires a positive oscillator frequency). The generator is
seeded, so output is reproducible and reset replays the same sequence.
Trait Implementations§
Source§impl Waveform for NoiseWave
impl Waveform for NoiseWave
Auto Trait Implementations§
impl Freeze for NoiseWave
impl RefUnwindSafe for NoiseWave
impl Send for NoiseWave
impl Sync for NoiseWave
impl Unpin for NoiseWave
impl UnsafeUnpin for NoiseWave
impl UnwindSafe for NoiseWave
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more