Vital
|
A struct holding references and data used by the GUI to interact with the SynthBase. More...
#include <synth_gui_interface.h>
Public Member Functions | |
SynthGuiData (SynthBase *synth_base) | |
Constructs SynthGuiData from a given SynthBase instance. | |
Public Attributes | |
vital::control_map | controls |
Current set of parameter controls from the synth. | |
vital::output_map | mono_modulations |
Mono (global) modulation values. | |
vital::output_map | poly_modulations |
Polyphonic modulation values. | |
vital::output_map | modulation_sources |
All available modulation sources. | |
WavetableCreator * | wavetable_creators [vital::kNumOscillators] |
Array of pointers to wavetable creators for each oscillator. | |
SynthBase * | synth |
Pointer back to the associated SynthBase. | |
A struct holding references and data used by the GUI to interact with the SynthBase.
SynthGuiData captures a snapshot of various control maps (parameters, modulations) from the SynthBase and provides them to the GUI elements. It also links to the WavetableCreators for each oscillator, enabling the GUI to display and manipulate wavetable data.
SynthGuiData::SynthGuiData | ( | SynthBase * | synth_base | ) |
Constructs SynthGuiData from a given SynthBase instance.
synth_base | A pointer to the SynthBase whose data is to be captured. |
vital::control_map SynthGuiData::controls |
Current set of parameter controls from the synth.
vital::output_map SynthGuiData::modulation_sources |
All available modulation sources.
vital::output_map SynthGuiData::mono_modulations |
Mono (global) modulation values.
vital::output_map SynthGuiData::poly_modulations |
Polyphonic modulation values.
WavetableCreator* SynthGuiData::wavetable_creators[vital::kNumOscillators] |
Array of pointers to wavetable creators for each oscillator.