PeakRatio Class Reference
[ProcessingBasic Processing]

Incorporates the ratio of the higest peak to minimal/average peak of each observation samplewise to the output vector. More...

#include <PeakRatio.h>

Inherits Marsyas::MarSystem.


Public Member Functions

 PeakRatio (std::string name)


Detailed Description

Incorporates the ratio of the higest peak to minimal/average peak of each observation samplewise to the output vector.

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.


Constructor & Destructor Documentation

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.


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

Generated on Wed May 23 00:02:23 2012 for Marsyas by  doxygen 1.5.6