Marsyas  0.5.0-beta1
Public Member Functions
Filter Class Reference

Filter a Signal. More...

#include <Filter.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
 Filter (std::string name)
void myProcess (realvec &in, realvec &out)
 Processes data.
void write (std::string filename)
 ~Filter ()

Detailed Description

Filter a Signal.

Filters a Signal using the coefficients stored in a FilterCoeffs object. The filter is implemented as a direct form II structure. This is a canonical form which has the minimum number of delay elements.

See also:
OnePole

Definition at line 39 of file Filter.h.


Constructor & Destructor Documentation

Filter ( std::string  name)

Definition at line 30 of file Filter.cpp.

~Filter ( )

Definition at line 49 of file Filter.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 56 of file Filter.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 142 of file Filter.cpp.

void write ( std::string  filename)

Definition at line 135 of file Filter.cpp.


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