SynthLab SDK
|
Interface for wavetable sources. More...
#include <synthbase.h>
Public Member Functions | |
virtual void | selectTable (uint32_t midiNoteNumber)=0 |
Objects that access the database will select a table based on the user's waveform selection. More... | |
virtual double | readWaveTable (double normalizedPhaseInc)=0 |
Read a table at a normalized index where 0.0 is the start of the table and 1.0 is the end of it. More... | |
virtual uint32_t | getWaveTableLength ()=0 |
virtual const char * | getWaveformName ()=0 |
Interface for wavetable sources.
|
pure virtual |
Implemented in SynthLab::DrumWTSource, SynthLab::SineTableSource, SynthLab::StaticTableSource, SynthLab::DynamicTableSource, and SynthLab::WavetableSource.
|
pure virtual |
Implemented in SynthLab::DrumWTSource, SynthLab::SineTableSource, SynthLab::StaticTableSource, SynthLab::DynamicTableSource, and SynthLab::WavetableSource.
|
pure virtual |
Read a table at a normalized index where 0.0 is the start of the table and 1.0 is the end of it.
normalizedPhaseInc | normalized index in the table to access |
Implemented in SynthLab::DrumWTSource, SynthLab::SineTableSource, SynthLab::DynamicTableSource, SynthLab::StaticTableSource, and SynthLab::WavetableSource.
|
pure virtual |
Objects that access the database will select a table based on the user's waveform selection.
midiNoteNumber | the note number corresponding to the currently rendered pitch |
Implemented in SynthLab::DrumWTSource, SynthLab::SineTableSource, SynthLab::StaticTableSource, SynthLab::DynamicTableSource, and SynthLab::WavetableSource.