Marsyas  0.5.0-beta1
Public Member Functions
AMDF Class Reference

Average Magnitude Difference Function. More...

#include <AMDF.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

Average Magnitude Difference Function.

Computer the average magnitude difference function which can then be used for pitch detection by detecting the location of valleys.

Definition at line 37 of file AMDF.h.

Constructor & Destructor Documentation

AMDF ( std::string  name)

Definition at line 27 of file AMDF.cpp.

~AMDF ( )

Definition at line 34 of file AMDF.cpp.

Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 40 of file AMDF.cpp.

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

Processes data.

inInput data to read.
outOutput data to write.

Implement this method in subclass to define specific data processing.

Implements MarSystem.

Definition at line 59 of file AMDF.cpp.

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