Marsyas  0.5.0-beta1
Public Member Functions
PeakPeriods2BPM Class Reference

PeakPeriods2BPM: convert peaks to beats per minute. More...

#include <PeakPeriods2BPM.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

PeakPeriods2BPM: convert peaks to beats per minute.

This block should have as input a vector with the peak amplitudes in its pair indexes and the peak arguments (in frames) in its odd indexes. It was created to convert the input given by "MaxArgMax" which outputs the chosen number of peaks in the referred form.

Controls:

Definition at line 43 of file PeakPeriods2BPM.h.


Constructor & Destructor Documentation

PeakPeriods2BPM ( std::string  name)

Definition at line 26 of file PeakPeriods2BPM.cpp.

Definition at line 32 of file PeakPeriods2BPM.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 44 of file PeakPeriods2BPM.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 64 of file PeakPeriods2BPM.cpp.


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