Marsyas  0.5.0-beta1
Public Member Functions
PeakerOnset Class Reference

Detects if input contains a onset point. More...

#include <PeakerOnset.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

Detects if input contains a onset point.

PeakerOnset is based on the onset peak picking algorithm presented in:

Dixon, S. (2006). Onset detection revisited. In Proc. International Conference on Digital Audio Effects (DAFx), Montreal, Canada.

It takes as input an onset function over time (i.e. a row vector with the times series of a onset function like flux) and evaluates a specific point for onset presence, as below:

Input = [zzzzzzzzzXyyy]

Point "X" at the input will be evaluated. The onsetWinSize control specifies a "look ahead" parameter, i.e. how many samples (represented above as "y") after "X" will be used for evaluating if it is an onset or not (i.e. look ahead samples).

Controls:

Definition at line 51 of file PeakerOnset.h.


Constructor & Destructor Documentation

PeakerOnset ( std::string  name)

Definition at line 25 of file PeakerOnset.cpp.

PeakerOnset ( const PeakerOnset a)

Definition at line 33 of file PeakerOnset.cpp.

Definition at line 44 of file PeakerOnset.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 49 of file PeakerOnset.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 88 of file PeakerOnset.cpp.


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