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< WTOscParameterswtOscParameters = std::make_shared<WTOscParameters>()
 
std::shared_ptr< LFOParameterslfoParameters = std::make_shared<LFOParameters>()
 
std::shared_ptr< EGParametersampEGParameters = std::make_shared<EGParameters>()
 
std::shared_ptr< FilterParametersfilterParameters = std::make_shared<FilterParameters>()
 
std::shared_ptr< DCAParametersdcaParameters = std::make_shared<DCAParameters>()
 
std::shared_ptr< ModMatrixParametersmodMatrixParameters = std::make_shared<ModMatrixParameters>()
 
uint32_t updateCodeDroplists = 0
 
uint32_t updateCodeKnobs = 0
 
std::shared_ptr< WTOscParametersosc1Parameters = std::make_shared<WTOscParameters>()
 
std::shared_ptr< WTOscParametersosc2Parameters = std::make_shared<WTOscParameters>()
 
std::shared_ptr< WTOscParametersosc3Parameters = std::make_shared<WTOscParameters>()
 
std::shared_ptr< WTOscParametersosc4Parameters = std::make_shared<WTOscParameters>()
 
std::shared_ptr< LFOParameterslfo1Parameters = std::make_shared<LFOParameters>()
 
std::shared_ptr< LFOParameterslfo2Parameters = std::make_shared<LFOParameters>()
 
std::shared_ptr< EGParametersfilterEGParameters = std::make_shared<EGParameters>()
 
std::shared_ptr< EGParametersauxEGParameters = std::make_shared<EGParameters>()
 
std::shared_ptr< FilterParametersfilter1Parameters = std::make_shared<FilterParameters>()
 
std::shared_ptr< FilterParametersfilter2Parameters = 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: