#include <WaveTableOscModule.h>
Inheritance diagram for syn::WaveTableOscModule:
Public Types | |
enum | Interp { NONE, LINEAR } |
Public Methods | |
WaveTableOscModule () | |
default constructor. More... | |
virtual | ~WaveTableOscModule () |
destructor. More... | |
virtual void | update () |
defines this module's task (or frame) function. More... | |
virtual bool | open () |
modules need to be opened before they are used. More... | |
virtual bool | isOpen () |
check to see if the module is open. More... | |
virtual void | close () |
close the module when done with it. More... | |
virtual Module* | clone () const |
get an exact copy of me. More... | |
void | loadStream (AudioIStreamPtr stream, int numsamps) |
void | loadFile (const std::string &name) |
void | setWaveTable (const SampleBuffer1f &wt) |
virtual void | setFreq (float freq) |
set frequency of emitted waveform in HZ. More... | |
void | setFreqControl (float param) |
Set the sampling rate of the wave table (alters frequency, aka. More... | |
void | setFreqControlSensitivity (float octaves=1.0f) |
Set how sensative setFreq() is. More... | |
void | setInterp (Interp in) |
void | setLoop (bool state) |
void | setRetriggerable (bool state) |
void | trigger () |
void | release () |
has no effect when loop is set to true. More... | |
float | freq () const |
float | freqControl () const |
float | freqControlSensitivity () const |
Interp | interp () const |
bool | loop () const |
bool | retriggerable () const |
parameter access | |
virtual void | getParam (const std::string &key, MultivariateType &value) |
a way to get module params without knowing the real funcs. More... | |
virtual void | setParam (const std::string &key, const MultivariateType &value) |
a way to set module params without knowing the real funcs. More... |
Definition at line 52 of file WaveTableOscModule.h.
|
Definition at line 168 of file WaveTableOscModule.h. |
|
default constructor.
Definition at line 38 of file WaveTableOscModule.cpp. |
|
destructor.
Definition at line 50 of file WaveTableOscModule.cpp. |
|
defines this module's task (or frame) function.
Reimplemented from syn::Module. Definition at line 81 of file WaveTableOscModule.cpp. |
|
modules need to be opened before they are used.
Reimplemented from syn::Module. Definition at line 56 of file WaveTableOscModule.cpp. |
|
check to see if the module is open.
Definition at line 54 of file WaveTableOscModule.cpp. |
|
close the module when done with it.
Reimplemented from syn::Module. Definition at line 76 of file WaveTableOscModule.cpp. |
|
get an exact copy of me.
Reimplemented from syn::Module. Definition at line 74 of file WaveTableOscModule.h. |
|
Definition at line 87 of file WaveTableOscModule.h. Referenced by loadFile().
|
|
Definition at line 95 of file WaveTableOscModule.h. Referenced by setParam().
|
|
Definition at line 107 of file WaveTableOscModule.h. |
|
set frequency of emitted waveform in HZ.
Definition at line 122 of file WaveTableOscModule.h. Referenced by setParam().
|
|
Set the sampling rate of the wave table (alters frequency, aka. pitch bend)
Definition at line 153 of file WaveTableOscModule.h. Referenced by WaveTableOscModule(), and setParam().
|
|
Set how sensative setFreq() is. Musically, this affects by how many octaves setFreq() will affect the sound. Definition at line 162 of file WaveTableOscModule.h. |
|
Definition at line 173 of file WaveTableOscModule.h. Referenced by setParam().
|
|
Definition at line 178 of file WaveTableOscModule.h. Referenced by setParam().
|
|
Definition at line 183 of file WaveTableOscModule.h. |
|
Definition at line 188 of file WaveTableOscModule.h. Referenced by setParam().
|
|
has no effect when loop is set to true.
Definition at line 196 of file WaveTableOscModule.h. Referenced by setParam().
|
|
Definition at line 202 of file WaveTableOscModule.h. |
|
Definition at line 203 of file WaveTableOscModule.h. |
|
Definition at line 204 of file WaveTableOscModule.h. |
|
Definition at line 205 of file WaveTableOscModule.h. |
|
Definition at line 206 of file WaveTableOscModule.h. |
|
Definition at line 207 of file WaveTableOscModule.h. |
|
a way to get module params without knowing the real funcs.
Reimplemented from syn::Module. Definition at line 213 of file WaveTableOscModule.h. |
|
a way to set module params without knowing the real funcs.
Reimplemented from syn::Module. Definition at line 230 of file WaveTableOscModule.h. |