SynthLab SDK
SynthLab::SynthVoiceParameters Struct Reference

Contains parameters for the Synth Voice component. More...

#include <synthvoice.h>

Public Attributes

uint32_t synthModeIndex = enumToInt(SynthMode::kMono)
 
uint32_t filterModeIndex = enumToInt(FilterMode::kSeries)
 
bool enablePortamento = false
 
double glideTime_mSec = 0.0
 
bool legatoMode = false
 
bool freeRunOscMode = false
 
double unisonDetuneCents = 0.0
 
double unisonStartPhase = 0.0
 
double unisonPan = 0.0
 
std::shared_ptr< WTOscParameters > wtOscParameters = std::make_shared<WTOscParameters>()
 
std::shared_ptr< LFOParameters > lfoParameters = std::make_shared<LFOParameters>()
 
std::shared_ptr< EGParameters > ampEGParameters = std::make_shared<EGParameters>()
 
std::shared_ptr< FilterParameters > filterParameters = std::make_shared<FilterParameters>()
 
std::shared_ptr< DCAParameters > dcaParameters = std::make_shared<DCAParameters>()
 
std::shared_ptr< ModMatrixParameters > modMatrixParameters = std::make_shared<ModMatrixParameters>()
 
uint32_t updateCodeDroplists = 0
 
uint32_t updateCodeKnobs = 0
 
std::shared_ptr< WTOscParameters > osc1Parameters = std::make_shared<WTOscParameters>()
 
std::shared_ptr< WTOscParameters > osc2Parameters = std::make_shared<WTOscParameters>()
 
std::shared_ptr< WTOscParameters > osc3Parameters = std::make_shared<WTOscParameters>()
 
std::shared_ptr< WTOscParameters > osc4Parameters = std::make_shared<WTOscParameters>()
 
std::shared_ptr< LFOParameters > lfo1Parameters = std::make_shared<LFOParameters>()
 
std::shared_ptr< LFOParameters > lfo2Parameters = std::make_shared<LFOParameters>()
 
std::shared_ptr< EGParameters > filterEGParameters = std::make_shared<EGParameters>()
 
std::shared_ptr< EGParameters > auxEGParameters = std::make_shared<EGParameters>()
 
std::shared_ptr< FilterParameters > filter1Parameters = std::make_shared<FilterParameters>()
 
std::shared_ptr< FilterParameters > filter2Parameters = std::make_shared<FilterParameters>()
 

Detailed Description

Contains parameters for the Synth Voice component.

  • A "parameter" is any variable that may be connected to a GUI control, however parameters are not required to be connected to anything and their default values are set in the structure.
  • holds shared pointers to custom parameter structures for all of the voice's SynthModules -includes a few global-voice parameters like poramento time and unison detuning
Author
Will Pirkle http://www.willpirkle.com
Remarks
This object is included and described in further detail in Designing Software Synthesizer Plugins in C++ 2nd Ed. by Will Pirkle
Version
Revision : 1.0
Date
Date : 2021 / 04 / 26

The documentation for this struct was generated from the following file: