#include <Oscillator.h>
Inheritance diagram for csl::WavetableOscillator:

Public Member Functions | |
| WavetableOscillator () | |
| WavetableOscillator (Buffer &wave) | |
| WavetableOscillator (sample *samps, unsigned size) | |
| WavetableOscillator (Buffer &wave, float frequency) | |
| WavetableOscillator (Buffer &wave, float frequency, float phase) | |
| WavetableOscillator (float frequency, float ampl, float offset, float phase) | |
| void | setWaveform (Buffer &wave) |
| plug in waveforms | |
| void | setWaveform (sample *samps, unsigned size) |
| void | setInterpolate (InterpolationPolicy whether) |
| set the interpolation flag | |
| virtual void | nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException) |
Protected Member Functions | |
| void | fillSine () |
| fill the wavetable with 1 cycle of a sine wave | |
Protected Attributes | |
| InterpolationPolicy | mInterpolate |
| whether/how I should interpolate between samples | |
| Buffer | mWavetable |
| the stored wave form | |
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
|
|
|
plug in waveforms
|
|
||||||||||||
|
|
|
|
set the interpolation flag
|
|
||||||||||||
|
Reimplemented in csl::CompOrCacheOscillator. |
|
|
fill the wavetable with 1 cycle of a sine wave
|
|
|
whether/how I should interpolate between samples
|
|
|
the stored wave form
|
1.4.5-20051010