Marsyas  0.5.0-beta1
Public Member Functions
OnsetTimes Class Reference

Retrieves M first beat times (phases, in "frames"-ticks), retrieved from peaks from an onset function. More...

#include <OnsetTimes.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

Retrieves M first beat times (phases, in "frames"-ticks), retrieved from peaks from an onset function.

Input: Supposed to have PeakerOnsets, or similar, as input. Output: [x|Phasei|x|Phasei+1| ... |x|PhaseM]

Definition at line 42 of file OnsetTimes.h.


Constructor & Destructor Documentation

OnsetTimes ( std::string  name)

Definition at line 27 of file OnsetTimes.cpp.

OnsetTimes ( const OnsetTimes a)

Definition at line 36 of file OnsetTimes.cpp.

~OnsetTimes ( )

Definition at line 57 of file OnsetTimes.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 62 of file OnsetTimes.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 145 of file OnsetTimes.cpp.


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