#include <PeakRatio.h>
Inherits Marsyas::MarSystem.
Public Member Functions | |
| PeakRatio (std::string name) | |
Take the values of the input realvec and put them in the output vector. Then take the maximum value and divide either by the average or minimum value. Both results are appended to the output as Observations.
Normally this Marsystem expects as input a vector of chromas (i.e. the output of a chroma generator like Spectrum2Chroma). In case of multiple samples per Observation, the Ratios are computed sample per sample over all observations.
Controls: none
Definition at line 42 of file PeakRatio.h.
| PeakRatio | ( | std::string | name | ) |
Marsystem for incorporating the ratio of the higest peak to minimal/average peak of each observation samplewise to the output vector
This Marsystem appends the ratio of the higest peak to minimal peak and ratio of the higest peak to average peak of each observation samplewise to the output vector.
Definition at line 36 of file PeakRatio.cpp.
1.5.6