SynthLab SDK
SynthLab::SynthEngineParameters Struct Reference

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

#include <synthengine.h>

Public Attributes

bool enableMIDINoteEvents = true
 
uint32_t synthModeIndex = enumToInt(SynthMode::kMono)
 
double globalVolume_dB = 0.0
 
unsigned int globalPitchBendSensCoarse = 7
 
unsigned int globalPitchBendSensFine = 0
 
int globalTuningCoarse = 0
 
int globalTuningFine = 0
 
double globalUnisonDetune_Cents = 0.0
 
std::shared_ptr< SynthVoiceParametersvoiceParameters = std::make_shared<SynthVoiceParameters>()
 
uint32_t globalPitchBendSensCoarse = 7
 
uint32_t globalPitchBendSensFine = 0
 
int32_t globalTuningCoarse = 0
 
int32_t globalTuningFine = 0
 
std::shared_ptr< AudioDelayParametersaudioDelayParameters = std::make_shared<AudioDelayParameters>()
 
bool enableDelayFX = false
 

Detailed Description

Contains parameters for the Synth Engine 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 a shared parameter pointer for the voice object, used for sharing data across all voices
  • holds a shared pointer to the audio delay object's parameter but currently not shared with any other object
  • see the Synth Boook for much more detail on how this structure is used to safely and efficiently share data
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: