Marsyas  0.5.0-beta1
Public Member Functions
TriangularFilterBank Class Reference

Triangular filter-bank. More...

#include <TriangularFilterBank.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

Triangular filter-bank.

Takes as input the N/2+1 spectrum Magnitude points output by PowerSpectrum. For example it can be used to compute a Mel-scale or Constant-Q filterbank.

See also:
Spectrum, PowerSpectrum

Controls:

Definition at line 42 of file TriangularFilterBank.h.


Constructor & Destructor Documentation

TriangularFilterBank ( std::string  name)

Definition at line 27 of file TriangularFilterBank.cpp.

Definition at line 37 of file TriangularFilterBank.cpp.

Definition at line 47 of file TriangularFilterBank.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 54 of file TriangularFilterBank.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 230 of file TriangularFilterBank.cpp.


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