Marsyas
0.6.0-alpha
|
This MarSystem takes a realvec with peak information (using peakView) and allows to select which peak features should be sent to the output. Used for similarity computations on peaks. More...
#include <PeakFeatureSelect.h>
Inherits MarSystem.
Public Types | |
enum | features { pkFrequency = 1, pkAmplitude = 2, pkFrame = 4, pkSetFrequencies = 8, pkSetAmplitudes = 16, pkSetFrames = 32, barkPkFreq = 64, dBPkAmp = 128, pkPan = 256, pkDeltaFrequency = 512, pkDeltaAmplitude = 1024 } |
Public Member Functions | |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
PeakFeatureSelect (std::string name) | |
PeakFeatureSelect (const PeakFeatureSelect &a) | |
~PeakFeatureSelect () |
This MarSystem takes a realvec with peak information (using peakView) and allows to select which peak features should be sent to the output. Used for similarity computations on peaks.
Controls:
Definition at line 40 of file PeakFeatureSelect.h.
enum features |
pkFrequency | |
pkAmplitude | |
pkFrame | |
pkSetFrequencies | |
pkSetAmplitudes | |
pkSetFrames | |
barkPkFreq | |
dBPkAmp | |
pkPan | |
pkDeltaFrequency | |
pkDeltaAmplitude |
Definition at line 58 of file PeakFeatureSelect.h.
PeakFeatureSelect | ( | std::string | name | ) |
Definition at line 25 of file PeakFeatureSelect.cpp.
PeakFeatureSelect | ( | const PeakFeatureSelect & | a | ) |
Definition at line 30 of file PeakFeatureSelect.cpp.
~PeakFeatureSelect | ( | ) |
Definition at line 41 of file PeakFeatureSelect.cpp.
Implements MarSystem.
Definition at line 46 of file PeakFeatureSelect.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 150 of file PeakFeatureSelect.cpp.