pub struct TriSawLFO<F: Flt> { /* private fields */ }
Expand description
An LFO with a variable reverse point, which can go from reverse Saw, to Tri and to Saw, depending on the reverse point.
Implementations
sourceimpl<F: Flt> TriSawLFO<F>
impl<F: Flt> TriSawLFO<F>
pub fn new() -> Self
pub fn set_phase_offs(&mut self, phase: F)
pub fn set_sample_rate(&mut self, srate: F)
pub fn reset(&mut self)
pub fn set(&mut self, freq: F, rev: F)
pub fn next_unipolar(&mut self) -> F
pub fn next_bipolar(&mut self) -> F
Trait Implementations
impl<F: Copy + Flt> Copy for TriSawLFO<F>
Auto Trait Implementations
impl<F> RefUnwindSafe for TriSawLFO<F>where
F: RefUnwindSafe,
impl<F> Send for TriSawLFO<F>where
F: Send,
impl<F> Sync for TriSawLFO<F>where
F: Sync,
impl<F> Unpin for TriSawLFO<F>where
F: Unpin,
impl<F> UnwindSafe for TriSawLFO<F>where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more