Marsyas
0.6.0-alpha
|
Attack-Decay-Sustain-Release envelope. More...
#include <ADSR.h>
Inherits MarSystem.
Public Member Functions | |
ADSR (std::string name) | |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
void | myUpdate (MarControlPtr sender) |
Updates internal state due to a control change. | |
~ADSR () |
Attack-Decay-Sustain-Release envelope.
Multiplies each sample of the input realvec with the value of the envelope at the corresponding time.
void myUpdate | ( | MarControlPtr | sender | ) | [virtual] |
Updates internal state due to a control change.
sender | The control that triggered the update; more precisely, any control passed to the update() method - could be an invalid one. |
Implement this method in subclass to define specific response to control changes.
Reimplemented from MarSystem.