14 #include "../../../../source/synthbase.h" 15 #include "../../../../source/synthfunctions.h" 95 class SynthLabCore :
public ModuleCore
114 for (uint32_t i = 0; i < STEREO_CHANNELS; i++)
120 enum { a0, a1, a2, b1, b2, c0, d0 };
SynthLabCore()
Construction: Cores follow the same construction pattern.
Definition: synthlabcore.cpp:29
virtual bool doNoteOff(CoreProcData &processInfo) override
Note-off handler for the ModuleCore.
Definition: synthlabcore.cpp:135
Simple version of the AudioFilter object from Designing Audio Effects Plugins in C++ 2nd Ed...
Definition: synthbase.h:1954
Definition: addosccore.cpp:4
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
virtual bool render(CoreProcData &processInfo) override
Renders the output of the module.
Definition: synthlabcore.cpp:98
virtual bool doNoteOn(CoreProcData &processInfo) override
Note-on handler for the ModuleCore.
Definition: synthlabcore.cpp:116
double midiPitch
midi note pitch
Definition: synthlabcore.h:123
virtual bool reset(CoreProcData &processInfo) override
Resets object to initialized state.
Definition: synthlabcore.cpp:61
virtual ~SynthLabCore()
Definition: synthlabcore.h:102
BQAudioFilter filter[STEREO_CHANNELS]
biquad audio filter objects
Definition: synthlabcore.h:119
void flushDelays()
Definition: synthlabcore.h:112
This structure holds all of the information needed to call functions on a ModuleCore object...
Definition: synthbase.h:1071
double outputAmp
output scaling
Definition: synthlabcore.h:122