14 #include "../../../../source/synthbase.h" 15 #include "../../../../source/synthfunctions.h" 16 #include "../../../../source/synthlabwtsource.h" 17 #include "../../../../wavetables/static_tables/drumtables.h" 103 class SynthLabCore :
public ModuleCore
SynthLabCore()
Construction: Cores follow the same construction pattern.
Definition: synthlabcore.cpp:29
Compact modulo counter with wrapping used as the timebase for all oscillators.
Definition: synthbase.h:137
double panRightGain
right channel gain
Definition: synthlabcore.h:130
Interface for wavetable sources.
Definition: synthbase.h:609
Storage for one static table source, specifically for drums which are pitchless and one-shot...
Definition: synthlabwtsource.h:151
virtual bool doNoteOff(CoreProcData &processInfo) override
Note-off handler for the ModuleCore.
Definition: synthlabcore.cpp:135
Definition: addosccore.cpp:4
SynthClock oscClock
the oscillator timebase
Definition: synthlabcore.h:134
virtual bool update(CoreProcData &processInfo) override
Updates the object for the next block of audio processing.
Definition: synthlabcore.cpp:79
double sampleRate
sample rate
Definition: synthlabcore.h:108
bool oneShotDone
one-shot flag
Definition: synthlabcore.h:128
virtual bool render(CoreProcData &processInfo) override
Renders the output of the module.
Definition: synthlabcore.cpp:98
const uint32_t MODULE_STRINGS
Definition: synthconstants.h:130
virtual bool doNoteOn(CoreProcData &processInfo) override
Note-on handler for the ModuleCore.
Definition: synthlabcore.cpp:116
double outputAmplitude
amplitude in dB
Definition: synthlabcore.h:128
virtual bool reset(CoreProcData &processInfo) override
Resets object to initialized state.
Definition: synthlabcore.cpp:61
double panLeftGain
left channel gain
Definition: synthlabcore.h:129
int32_t currentWaveIndex
to minimize dictionary (map) lookup iterating
Definition: synthlabcore.h:131
virtual ~SynthLabCore()
Definition: synthlabcore.h:110
This structure holds all of the information needed to call functions on a ModuleCore object...
Definition: synthbase.h:1071
IWavetableSource * selectedTableSource
selected table
Definition: synthlabcore.h:137
double renderSample(SynthClock &clock, double shape=0.5)
Renders one sample out of the wavetable Core Specific:
Definition: synthlabcore.cpp:236