4 #include "synthfunctions.h" 5 #include "sinetablesource.h" 6 #include "dynamictablesource.h" 11 class SynthLabCore :
public ModuleCore
41 double harmonic2Amp = 1.0;
virtual bool render(CoreProcData &processInfo)
Renders the output of the module.
Definition: synthlabcore.cpp:164
virtual bool reset(CoreProcData &processInfo)
Resets object to initialized state.
Definition: synthlabcore.cpp:29
SynthLabCore()
Construction: Cores follow the same construction pattern.
Definition: synthlabcore.cpp:7
Compact modulo counter with wrapping used as the timebase for all oscillators.
Definition: synthbase.h:335
double panRightGain
right channel gain
Definition: synthlabcore.h:41
virtual bool update(CoreProcData &processInfo)
Updates the object for the next block of audio processing.
Definition: synthlabcore.cpp:41
double currentTableRate
sample rate
Definition: synthlabcore.h:37
virtual bool doNoteOn(CoreProcData &processInfo)
Note-on handler for the ModuleCore.
Definition: synthlabcore.cpp:202
Definition: synthlabcore.cpp:4
SynthClock oscClock
timebase
Definition: synthlabcore.h:45
double sampleRate
sample rate
Definition: synthlabcore.h:31
double hardSyncRatio
for hard sync
Definition: synthlabcore.h:42
virtual bool doNoteOff(CoreProcData &processInfo)
Note-off handler for the ModuleCore.
Definition: synthlabcore.cpp:212
double outputAmplitude
amplitude in dB
Definition: synthlabcore.h:39
double midiPitch
the midi pitch
Definition: synthlabcore.h:35
double panLeftGain
left channel gain
Definition: synthlabcore.h:40
virtual ~SynthLabCore()
Definition: synthlabcore.h:18
This structure holds all of the information needed to call functions on a ModuleCore object...
Definition: synthbase.h:1233