Marsyas  0.5.0-beta1
Public Member Functions
Envelope Class Reference

Linear attack-release envelope. More...

#include <Envelope.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
 Envelope (std::string name)
void myProcess (realvec &in, realvec &out)
 Processes data.
void update ()
 ~Envelope ()

Detailed Description

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.


Constructor & Destructor Documentation

Envelope ( std::string  name)

Definition at line 28 of file Envelope.cpp.

~Envelope ( )

Definition at line 34 of file Envelope.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 40 of file Envelope.cpp.

void myProcess ( realvec in,
realvec out 
) [virtual]

Processes data.

Parameters:
inInput data to read.
outOutput 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.


The documentation for this class was generated from the following files: