SynthLab SDK
SynthLab::WTOscParameters Struct Reference

Custom parameter structure for wavetable oscillators (note that several SynthLab oscillators are actually wavetable at the core). Notable members: More...

#include <synthlabparams.h>

Public Attributes

uint32_t waveIndex = 0
 index of waveform, usually linked to GUI control
 
double octaveDetune = 0.0
 +/- 4 octaves
 
double coarseDetune = 0.0
 +/-12 semitones
 
double fineDetune = 0.0
 +/-50 cents
 
double unisonDetuneCents = 0.0
 fine tune for unison
 
double oscSpecificDetune = 0.0
 +/-12 semitones
 
double outputAmplitude_dB = 0.0
 dB
 
double oscillatorShape = 0.0
 [-1, +1]
 
double hardSyncRatio = 1.00
 [1, +???]
 
double panValue = 0.00
 [-1, +1]
 
double phaseModIndex = 1.0
 [1, 4]
 
double modKnobValue [4] = { 0.5, 0.0, 0.0, 0.0 }
 mod knobs
 
uint32_t moduleIndex = 0
 module indentifier
 
bool forceLoop = false
 force the wavetable to loop at extremes
 

Detailed Description

Custom parameter structure for wavetable oscillators (note that several SynthLab oscillators are actually wavetable at the core). Notable members:

  • waveIndex is the index of the waveform string in the GUI selection control
  • modKnobValue[4] are the four mod knob values, all on the range [0, 1]
Author
Will Pirkle http://www.willpirkle.com
Remarks
This object is included in Designing Software Synthesizer Plugins in C++ 2nd Ed. by Will Pirkle
Version
Revision : 1.0
Date
Date : 2021 / 05 / 02

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