pub struct Lfo { /* private fields */ }
Expand description
A Low Frequency Oscillator is represented here
Implementations§
Source§impl Lfo
impl Lfo
Sourcepub fn tick(&mut self)
pub fn tick(&mut self)
lfo.tick()
advances the LFO by 1 tick, must be called at the sample rate
Sourcepub fn set_frequency(&mut self, freq: f32)
pub fn set_frequency(&mut self, freq: f32)
lfo.set_frequency(f)
sets the frequency of the LFO to f
Trait Implementations§
impl Copy for Lfo
impl StructuralPartialEq for Lfo
Auto Trait Implementations§
impl Freeze for Lfo
impl RefUnwindSafe for Lfo
impl Send for Lfo
impl Sync for Lfo
impl Unpin for Lfo
impl UnwindSafe for Lfo
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