Vital
|
Holds the internal state of the RandomLfo for a given voice or channel. More...
#include <random_lfo.h>
Public Member Functions | |
RandomState () | |
Public Attributes | |
poly_float | offset |
Current offset (phase) in the LFO cycle. | |
poly_float | last_random_value |
The previously generated random value. | |
poly_float | next_random_value |
The next target random value for interpolation. | |
poly_float | state1 |
poly_float | state2 |
poly_float | state3 |
Holds the internal state of the RandomLfo for a given voice or channel.
This structure stores offsets, last and next random values, and various intermediate states required for generating continuous or discrete random waveforms.
|
inline |
poly_float vital::RandomLfo::RandomState::last_random_value |
The previously generated random value.
poly_float vital::RandomLfo::RandomState::next_random_value |
The next target random value for interpolation.
poly_float vital::RandomLfo::RandomState::offset |
Current offset (phase) in the LFO cycle.
poly_float vital::RandomLfo::RandomState::state1 |
poly_float vital::RandomLfo::RandomState::state2 |
poly_float vital::RandomLfo::RandomState::state3 |