SynthLab SDK
SynthLab::VAOscParameters Struct Reference

Custom parameter structure for the VAOscillator and its ModuleCores. Notable members: More...

#include <synthlabparams.h>

Public Attributes

uint32_t waveIndex = enumToInt(VAWaveform::kSawAndSquare)
 waveform index in the GUI
 
double octaveDetune = 0.0
 1 = up one octave, -1 = down one octave
 
double coarseDetune = 0.0
 1 = up one octave, -1 = down one octave
 
double fineDetune = 0.0
 1 = up one half-step, -1 = down one half-step More...
 
double unisonDetune = 0.0
 1 = up one cent, -1 = down one cent
 
double pulseWidth_Pct = 50.0
 sqr wave only
 
double outputAmplitude_dB = 0.0
 dB
 
double oscillatorShape = 0.0
 [-1, +1]
 
double hardSyncRatio = 1.00
 [1, +4]
 
double panValue = 0.00
 [-1, +1]
 
double phaseModIndex = 1.0
 [1, 4]
 
double waveformMix = 0.5
 [1, +???]
 
double modKnobValue [4] = { 0.5, 0.0, 0.0, 0.0 }
 mod knobs
 
uint32_t moduleIndex = 0
 module identifier
 

Detailed Description

Custom parameter structure for the VAOscillator and its ModuleCores. Notable members:

  • doubleOscillator true if the synth is using two WSOscillators for detuning and intervals
  • all others are in sets of 8, one for each step in the wave sequencer
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

Member Data Documentation

◆ fineDetune

double SynthLab::VAOscParameters::fineDetune = 0.0

1 = up one half-step, -1 = down one half-step

— this is a root-detuner for unison mode (could combine with detuneCents but would become tangled)


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