5 #include "synthlabpcmsource.h" virtual bool doNoteOff(CoreProcData &processInfo) override
Note-off handler for the ModuleCore.
Definition: waveslicecore.cpp:277
PCM oscillator that plays wave-slices that are mapped to the C-major scale keys starting at middle C...
Definition: waveslicecore.h:86
IPCMSampleSource * selectedSampleSource
selected PCM sample
Definition: waveslicecore.h:118
virtual bool update(CoreProcData &processInfo) override
Updates the object for the next block of audio processing.
Definition: waveslicecore.cpp:121
double phaseInc
must persist from update to render
Definition: waveslicecore.h:112
void checkAddSampleSet(std::string sampleDirectory, std::string sampleName, CoreProcData &processInfo, uint32_t index)
Query the database and add a set of PCM samples if not existing already.
Definition: waveslicecore.cpp:291
double panRightGain
right channel gain
Definition: waveslicecore.h:108
WaveSliceCore()
Construction: Cores follow the same construction pattern.
Definition: waveslicecore.cpp:31
uint32_t currentIndex
must persist from update to render
Definition: waveslicecore.h:115
virtual bool reset(CoreProcData &processInfo) override
Resets object to initialized state.
Definition: waveslicecore.cpp:67
double panLeftGain
left channel gain
Definition: waveslicecore.h:107
virtual bool doNoteOn(CoreProcData &processInfo) override
Note-on handler for the ModuleCore.
Definition: waveslicecore.cpp:251
double sampleRate
sample rate
Definition: waveslicecore.h:104
Storage for a set of PCM samples that constitute a patch or instrument.
Definition: synthlabpcmsource.h:41
Interface for PCM sample sources.
Definition: synthbase.h:766
Definition: addosccore.cpp:4
const uint32_t MODULE_STRINGS
Definition: synthconstants.h:130
double readIndex
must persist from update to render
Definition: waveslicecore.h:111
virtual ~WaveSliceCore()
Definition: waveslicecore.h:93
double midiPitch
the midi pitch
Definition: waveslicecore.h:105
double outputAmplitude
amplitude in dB
Definition: waveslicecore.h:106
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
virtual bool render(CoreProcData &processInfo) override
Renders the output of the module.
Definition: waveslicecore.cpp:206
See also Designing Software Synthesizers in C++ 2nd Ed. by Will Pirkle.