Fields
lfo: Box<TriSawLFO<f64>>
trig: Trigger
Implementations
sourceimpl TsLFO
impl TsLFO
pub fn new(_nid: &NodeId, _node_global: &NodeGlobalRef) -> Self
pub const time: &'static str = "The frequency or period time of the LFO, goes all the \ way from **0.1ms** up to **30s**. Please note, that the text entry is always \ in milliseconds."
pub const trig: &'static str = "Triggers a phase reset of the LFO."
pub const rev: &'static str = "The reverse point of the LFO waveform. At **0.5** the LFO \ will follow a triangle waveform. At **0.0** or **1.0** the LFO waveform will \ be (almost) a (reversed) saw tooth. Node: A perfect sawtooth can not be \ achieved with this oscillator, as there will always be a minimal \ rise/fall time."
pub const sig: &'static str = "The LFO output."
pub const DESC: &'static str = r#"TriSaw LFO This simple LFO has a configurable waveform. You can blend between triangular to sawtooth waveforms using the ~~rev~~ parameter. "#
pub const HELP: &'static str = r#"TriSaw LFO This simple LFO has a configurable waveform. You can blend between triangular to sawtooth waveforms using the ~~rev~~ parameter. Using the ~~trig~~ input you can reset the LFO phase, which allows to use it kind of like an envelope. "#
pub fn graph_fun() -> Option<GraphFun>
Trait Implementations
sourceimpl DspNode for TsLFO
impl DspNode for TsLFO
sourcefn set_sample_rate(&mut self, srate: f32)
fn set_sample_rate(&mut self, srate: f32)
Updates the sample rate for the node.
sourcefn process(
&mut self,
ctx: &mut dyn NodeAudioContext,
_ectx: &mut NodeExecContext,
_nctx: &NodeContext<'_>,
_atoms: &[SAtom],
inputs: &[ProcBuf],
outputs: &mut [ProcBuf],
ctx_vals: LedPhaseVals<'_>
)
fn process(
&mut self,
ctx: &mut dyn NodeAudioContext,
_ectx: &mut NodeExecContext,
_nctx: &NodeContext<'_>,
_atoms: &[SAtom],
inputs: &[ProcBuf],
outputs: &mut [ProcBuf],
ctx_vals: LedPhaseVals<'_>
)
The code DSP function. Read more
Auto Trait Implementations
impl RefUnwindSafe for TsLFO
impl Send for TsLFO
impl Sync for TsLFO
impl Unpin for TsLFO
impl UnwindSafe for TsLFO
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