SynthLab SDK
SynthLab::PCMOscParameters Struct Reference

Custom parameter structure for the PCM sample oscillator and its cores. Notable members: More...

#include <synthlabparams.h>

Public Attributes

uint32_t waveIndex = 0
 the waveform string is usually the patch or WAV folder name
 
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
 
double unisonDetune = 0.0
 1 = up one cent, -1 = down one cent
 
double outputAmplitude_dB = 0.0
 in dB
 
double oscillatorShape = 0.0
 [-1, +1]
 
double hardSyncRatio = 1.00
 [1, 4]
 
double phaseModIndex = 1.0
 [1, 4]
 
double freqModIndex = 1.0
 [1, 4]
 
double panValue = 0.0
 [-1, +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 PCM sample oscillator and its cores. Notable members:

  • waveIndex is the index from the GUI selection control for the waveform string; usually the same as the folder of WAV files used to generate it
  • modKnobValue[4] are the four mod knob values
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: