SynthLab SDK
SynthLab::OscParameters Struct Reference

Custom parameter structure for general purpose oscillators or those that don't fit into one of the other categories. 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 shape = 0.0
 [-1, +1]
 
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/sample to loop at extremes
 

Detailed Description

Custom parameter structure for general purpose oscillators or those that don't fit into one of the other categories.

  • 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: