Marsyas
0.6.0-alpha
|
Linear attack-release envelope. More...
#include <Envelope.h>
Inherits MarSystem.
Public Member Functions | |
MarSystem * | clone () const |
Envelope (std::string name) | |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
void | update () |
~Envelope () |
Linear attack-release envelope.
A simple MarSystem example. Multiplies samples of the input vector with the current value of the envelope and writes the result into the output vector.
Definition at line 39 of file Envelope.h.
Envelope | ( | std::string | name | ) |
Definition at line 28 of file Envelope.cpp.
~Envelope | ( | ) |
Definition at line 34 of file Envelope.cpp.
Implements MarSystem.
Definition at line 40 of file Envelope.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 100 of file Envelope.cpp.
void update | ( | ) |
Definition at line 63 of file Envelope.cpp.