|
SynthLab SDK
|
Structure for holding information about a static wavetable, that is read from a static location, either compiled into the synth as a resource, or from a binary data file at startup time. More...
#include <synthbase.h>
Public Member Functions | |
| DynamicWavetable (std::shared_ptr< double > _table, uint32_t _tableLength, const char *_waveformName, double _outputComp=1.0, double _tableFs=44100) | |
Public Attributes | |
| std::shared_ptr< double > | table = nullptr |
| the table (shared) | |
| uint32_t | tableLength = kDefaultWaveTableLength |
| length | |
| uint32_t | wrapMask = kDefaultWaveTableLength - 1 |
| mask = length - 1 | |
| double | outputComp = 1.0 |
| output scaling factor (NOT volume or attenuation, waveform specific) | |
| double | tableFs = 44100.0 |
| const char * | waveformName |
| waveform name | |
Structure for holding information about a static wavetable, that is read from a static location, either compiled into the synth as a resource, or from a binary data file at startup time.