Marsyas  0.5.0-beta1
Public Types | Public Member Functions
PeakFeatureSelect Class Reference

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

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

Detailed Description

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.


Member Enumeration Documentation

enum features
Enumerator:
pkFrequency 
pkAmplitude 
pkFrame 
pkSetFrequencies 
pkSetAmplitudes 
pkSetFrames 
barkPkFreq 
dBPkAmp 
pkPan 
pkDeltaFrequency 
pkDeltaAmplitude 

Definition at line 58 of file PeakFeatureSelect.h.


Constructor & Destructor Documentation

PeakFeatureSelect ( std::string  name)

Definition at line 25 of file PeakFeatureSelect.cpp.

Definition at line 30 of file PeakFeatureSelect.cpp.

Definition at line 41 of file PeakFeatureSelect.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 46 of file PeakFeatureSelect.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 150 of file PeakFeatureSelect.cpp.


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