5 #include "synthlabwtsource.h" int32_t currentWaveIndex
to minimize dictionary (map) lookup iterating
Definition: drumwtcore.h:114
IWavetableSource * selectedTableSource
selected based on oscillator pitch
Definition: drumwtcore.h:120
double outputAmplitude
amplitude in dB
Definition: drumwtcore.h:110
Wavetables that implement electronic drum samples; these samples were extracted from WAV files and co...
Definition: drumwtcore.h:88
Compact modulo counter with wrapping used as the timebase for all oscillators.
Definition: synthbase.h:137
double renderSample(SynthClock &clock, bool forceLoop)
Renders one sample out of the wavetable Core Specific:
Definition: drumwtcore.cpp:176
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 reset(CoreProcData &processInfo) override
Resets object to initialized state.
Definition: drumwtcore.cpp:88
SynthClock oscClock
timebase
Definition: drumwtcore.h:117
Definition: addosccore.cpp:4
virtual ~DrumWTCore()
Definition: drumwtcore.h:95
virtual bool update(CoreProcData &processInfo) override
Updates the object for the next block of audio processing.
Definition: drumwtcore.cpp:132
const uint32_t MODULE_STRINGS
Definition: synthconstants.h:130
double panLeftGain
left channel gain
Definition: drumwtcore.h:111
virtual bool doNoteOff(CoreProcData &processInfo) override
Note-off handler for the ModuleCore.
Definition: drumwtcore.cpp:264
bool oneShotDone
one-shot flag
Definition: drumwtcore.h:113
DrumWTCore()
Construction: Cores follow the same construction pattern.
Definition: drumwtcore.cpp:34
virtual bool render(CoreProcData &processInfo) override
Renders the output of the module.
Definition: drumwtcore.cpp:201
virtual bool doNoteOn(CoreProcData &processInfo) override
Note-on handler for the ModuleCore.
Definition: drumwtcore.cpp:239
double panRightGain
right channel gain
Definition: drumwtcore.h:112
double sampleRate
sample rate
Definition: drumwtcore.h:109
hard-coded arrays of FIR filter coefficients for the sample rate conversion objects (Interpolator and...
This structure holds all of the information needed to call functions on a ModuleCore object...
Definition: synthbase.h:1071
Abstract base class that encapsulates functionality of a module core; used with the Module-Core parad...
Definition: synthbase.h:1516
See also Designing Software Synthesizers in C++ 2nd Ed. by Will Pirkle.