Marsyas
0.6.0-alpha
|
Generates what is perceptually a saw wave. More...
#include <AdditiveOsc.h>
Inherits MarSystem.
Public Member Functions | |
AdditiveOsc (std::string name) | |
AdditiveOsc (const AdditiveOsc &a) | |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
~AdditiveOsc () |
Generates what is perceptually a saw wave.
Creates what is perceptually a saw wave using wave guides to generate each harmonic.
TODO: Make actually generate a saw wave. Add ability to choose wave shape eg: Saw, Square, Triangle Add ability to vary pitch over time
Controls:
Definition at line 44 of file AdditiveOsc.h.
AdditiveOsc | ( | std::string | name | ) |
Definition at line 24 of file AdditiveOsc.cpp.
AdditiveOsc | ( | const AdditiveOsc & | a | ) |
Definition at line 34 of file AdditiveOsc.cpp.
~AdditiveOsc | ( | ) |
Definition at line 41 of file AdditiveOsc.cpp.
Implements MarSystem.
Definition at line 45 of file AdditiveOsc.cpp.
Processes data.
in | Input data to read. |
out | Output data to write. |
Implement this method in subclass to define specific data processing.
Implements MarSystem.
Definition at line 88 of file AdditiveOsc.cpp.