Vital
|
Holds the state of the LFO for either control-rate or audio-rate processing. More...
#include <synth_lfo.h>
Public Attributes | |
poly_float | delay_time_passed = 0.0f |
How much time has passed since the LFO was triggered or started its delay. | |
poly_float | fade_amplitude = 0.0f |
The current fade-in amplitude value. | |
poly_float | smooth_value = 0.0f |
The stored value for applying smoothing between updates. | |
poly_float | fade_amount = 0.0f |
Controls how much fade has been applied (not directly updated here). | |
poly_float | offset = 0.0f |
The current LFO offset (phase offset). | |
poly_float | phase = 0.0f |
The current LFO phase. | |
Holds the state of the LFO for either control-rate or audio-rate processing.
Each LfoState stores timing and smoothing variables to ensure consistent and correct LFO behavior after triggers, fades, and delays.
poly_float vital::SynthLfo::LfoState::delay_time_passed = 0.0f |
How much time has passed since the LFO was triggered or started its delay.
poly_float vital::SynthLfo::LfoState::fade_amount = 0.0f |
Controls how much fade has been applied (not directly updated here).
poly_float vital::SynthLfo::LfoState::fade_amplitude = 0.0f |
The current fade-in amplitude value.
poly_float vital::SynthLfo::LfoState::offset = 0.0f |
The current LFO offset (phase offset).
poly_float vital::SynthLfo::LfoState::phase = 0.0f |
The current LFO phase.
poly_float vital::SynthLfo::LfoState::smooth_value = 0.0f |
The stored value for applying smoothing between updates.