Marsyas
0.6.0-alpha
|
A simple aliasing oscillator. More...
#include <AliasingOsc.h>
Inherits MarSystem.
Public Member Functions | |
AliasingOsc (std::string name) | |
AliasingOsc (const AliasingOsc &a) | |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
~AliasingOsc () |
A simple aliasing oscillator.
A simple aliasing oscillator capable of Saw and PWM.
The pitch can be modulated by using in(0,t).
The cyclic rate can be modulated by using in(1,t). If cyclicin is set to true.
TODO: Implement triangle wave. TODO: Make it so that there is control over what in channel is mapped to what parameter is getting modulated.
Controls:
Definition at line 49 of file AliasingOsc.h.
AliasingOsc | ( | std::string | name | ) |
Definition at line 25 of file AliasingOsc.cpp.
AliasingOsc | ( | const AliasingOsc & | a | ) |
Definition at line 37 of file AliasingOsc.cpp.
~AliasingOsc | ( | ) |
Definition at line 46 of file AliasingOsc.cpp.
Implements MarSystem.
Definition at line 50 of file AliasingOsc.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 89 of file AliasingOsc.cpp.