7 #ifndef INCLUDE_WAVESHAPER_H
8 #define INCLUDE_WAVESHAPER_H
AdditiveInstrument.h – Sum-of-sines synthesis instrument class.
void setTableLength(unsigned length)
set the size in bytes of the table.
WaveShaper – Wave-shaping oscillator class.
Buffer mTransferFunction
the wave-shaping look-up table (it's just a sample buffer)
#define CSL_mMaxBufferFrames
max block size (set large for zooming scopes)
void initWaveTable(unsigned sel=0)
function to initialize the default shaping table
Sine – oscillator class (this computes the sine fcn on the fly)
Buffer – the multi-channel sample buffer class (passed around between generators and IO guys)...
unsigned mTableSize
Table size in bytes.
void nextBuffer(Buffer &outputBuffer, unsigned outBufNum)
really compute the next buffer given an offset base channel; this is called by nextBuffer, possibly multiple times
Base class of CSL exceptions (written upper-case). Has a string message.