14 #include "../../../../source/synthbase.h" 15 #include "../../../../source/synthfunctions.h" 16 #include "../../../../source/sinetablesource.h" 17 #include "../../../../source/dx_eg.h" 101 class SynthLabCore :
public ModuleCore
134 std::unique_ptr<DXEG>
dxEG =
nullptr;
SineTableSource sineTableSource
a single sinewave table
Definition: synthlabcore.h:130
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
virtual bool doNoteOff(CoreProcData &processInfo) override
Note-off handler for the ModuleCore.
Definition: synthlabcore.cpp:135
Storage for one static sinusoidal table source; stores a single sine table that is used for all notes...
Definition: sinetablesource.h:39
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
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 outputAmplitude
amplitude in dB
Definition: synthlabcore.h:128
double midiPitch
midi note pitch
Definition: synthlabcore.h:123
virtual bool reset(CoreProcData &processInfo) override
Resets object to initialized state.
Definition: synthlabcore.cpp:61
double panLeftGain
left channel gain
Definition: synthlabcore.h:129
std::unique_ptr< DXEG > dxEG
an EG for FM modulation
Definition: synthlabcore.h:134
virtual ~SynthLabCore()
Definition: synthlabcore.h:108
std::shared_ptr< EGParameters > dxEGParameters
EG parameters for controlling the EG.
Definition: synthlabcore.h:135
This structure holds all of the information needed to call functions on a ModuleCore object...
Definition: synthbase.h:1071
double outputValue
current output,
Definition: synthlabcore.h:128