Marsyas  0.5.0-beta1
Public Member Functions
Memory Class Reference

Collects and outputs N past input samples. More...

#include <Memory.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

Collects and outputs N past input samples.

Memory is essentially a circular buffer that collects and outputs past input samples. It is used to compute "texture" features (or dynamic features) - which are stastics of short-term features (typically around 10-20 milliseconds) over a larger window - typically around 1 second.

Controls:

Definition at line 42 of file Memory.h.


Constructor & Destructor Documentation

Memory ( std::string  name)

Definition at line 30 of file Memory.cpp.

Memory ( const Memory a)

Definition at line 41 of file Memory.cpp.

~Memory ( )

Definition at line 37 of file Memory.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 50 of file Memory.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 108 of file Memory.cpp.


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