Marsyas
0.6.0-alpha
|
State Variable Filter. More...
#include <SVFilter.h>
Inherits MarSystem.
Public Member Functions | |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
void | myUpdate (MarControlPtr sender) |
Updates internal state due to a control change. | |
SVFilter (std::string name) | |
SVFilter (const SVFilter &other) | |
~SVFilter () |
State Variable Filter.
yl(n) = Fyb(n) + yl(n-1) yb(n) = Fyh(n) + yb(n-1) yh(n) = x(n) - yl(n-1) - Qyb(n-1)
F = 2sin(pi*fc/fs) Q = 2*damp
TODO: Put something descriptive here!
Definition at line 42 of file SVFilter.h.
SVFilter | ( | std::string | name | ) |
Definition at line 28 of file SVFilter.cpp.
Definition at line 40 of file SVFilter.cpp.
~SVFilter | ( | ) |
Definition at line 50 of file SVFilter.cpp.
Implements MarSystem.
Definition at line 55 of file SVFilter.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 SVFilter.cpp.
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.
Definition at line 75 of file SVFilter.cpp.