SynthLab SDK
SynthLab::FilterParameters Struct Reference

Custom parameter structure for the any of the synth filters. This structure is designed to take care of both VA and biquad filter parameter requirements. Notable members: More...

#include <synthlabparams.h>

Public Attributes

int32_t filterIndex = 0
 filter index in GUI control
 
double fc = 1000.0
 parameter fc
 
double Q = 1.0
 parameter Q
 
double filterOutputGain_dB = 0.0
 parameter output gain in dB
 
double filterDrive = 1.0
 parameter drive (distortion)
 
double bassGainComp = 0.0
 0.0 = no bass compensation, 1.0 = restore all bass
 
bool analogFGN = true
 use analog FGN filters; adds to CPU load
 
bool enableKeyTrack = false
 key track flag
 
double keyTrackSemis = 0.0
 key tracking ratio in semitones
 
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 any of the synth filters. This structure is designed to take care of both VA and biquad filter parameter requirements. Notable members:

  • filterIndex the selected index from a GUI control that the user toggles
  • modKnobValue[4] the four mod knob values 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: