|
Marsyas
0.6.0-alpha
|
Calculate the difference of successive input samples. More...
#include <Differentiator.h>
Inherits MarSystem.
Public Member Functions | |
| MarSystem * | clone () const |
| Differentiator (std::string name) | |
| Differentiator (const Differentiator &a) | |
| void | myProcess (realvec &in, realvec &out) |
| Processes data. | |
| ~Differentiator () | |
Calculate the difference of successive input samples.
Simple MarSystem that calculates the differences of successive input samples in the given slices. For the first sample of a slice, the last sample of the previous slice is used.
This MarSystem has no extra controls.
Definition at line 40 of file Differentiator.h.
| Differentiator | ( | std::string | name | ) |
Definition at line 25 of file Differentiator.cpp.
| Differentiator | ( | const Differentiator & | a | ) |
Definition at line 29 of file Differentiator.cpp.
| ~Differentiator | ( | ) |
Definition at line 34 of file Differentiator.cpp.
Implements MarSystem.
Definition at line 39 of file Differentiator.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 59 of file Differentiator.cpp.
1.7.6.1