Marsyas  0.5.0-beta1
Public Member Functions
BeatTimesSink Class Reference

Outputs predicted beat times (in seconds or "frames"-ticks) and/or the median IBI (in BPMs). More...

#include <BeatTimesSink.h>

Inherits MarSystem.

Public Member Functions

mrs_realvec addMedianVector (mrs_real ibiBPM)
 BeatTimesSink (std::string name)
 BeatTimesSink (const BeatTimesSink &a)
MarSystemclone () const
void myProcess (realvec &in, realvec &out)
 Processes data.
mrs_natural refreshSocket ()
 ~BeatTimesSink ()

Detailed Description

Outputs predicted beat times (in seconds or "frames"-ticks) and/or the median IBI (in BPMs).

Output: outPath\inputFileName.txt -> beat times. outPath\inputFileName_medianTempo.txt -> median IBI (in BPMs)


Definition at line 50 of file BeatTimesSink.h.

Constructor & Destructor Documentation

BeatTimesSink ( std::string  name)

Definition at line 29 of file BeatTimesSink.cpp.

BeatTimesSink ( const BeatTimesSink a)

Definition at line 46 of file BeatTimesSink.cpp.

Definition at line 79 of file BeatTimesSink.cpp.

Member Function Documentation

mrs_realvec addMedianVector ( mrs_real  ibiBPM)

Definition at line 176 of file BeatTimesSink.cpp.

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 84 of file BeatTimesSink.cpp.

void myProcess ( realvec in,
realvec out 
) [virtual]

Processes data.

inInput data to read.
outOutput data to write.

Implement this method in subclass to define specific data processing.

Implements MarSystem.

Definition at line 218 of file BeatTimesSink.cpp.

mrs_natural refreshSocket ( )

Definition at line 140 of file BeatTimesSink.cpp.

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