Marsyas
0.6.0-alpha
|
PeakPeriods2BPM: convert peaks to beats per minute. More...
#include <PeakPeriods2BPM.h>
Inherits MarSystem.
Public Member Functions | |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
PeakPeriods2BPM (std::string name) | |
~PeakPeriods2BPM () |
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.
PeakPeriods2BPM | ( | std::string | name | ) |
Definition at line 26 of file PeakPeriods2BPM.cpp.
~PeakPeriods2BPM | ( | ) |
Definition at line 32 of file PeakPeriods2BPM.cpp.
Implements MarSystem.
Definition at line 44 of file PeakPeriods2BPM.cpp.
Processes data.
in | Input data to read. |
out | Output data to write. |
Implement this method in subclass to define specific data processing.
Implements MarSystem.
Definition at line 64 of file PeakPeriods2BPM.cpp.