Marsyas  0.5.0-beta1
Public Member Functions
Sum Class Reference

Sum the input rows of observations into one row. More...

#include <Sum.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

Sum the input rows of observations into one row.

Sum the input rows of observation into one row. Frequently used for mixing audio signals before SoudFileSink or AudioSink.

Controls:

The "mode" control can be set to four different values:

Todo:
Sum mrs_real/weight should be implemented as a meta-composite in marsystemmanager. (? -- lmartins said this)

Definition at line 59 of file Sum.h.


Constructor & Destructor Documentation

Sum ( std::string  name)

Definition at line 24 of file Sum.cpp.

Sum ( const Sum a)

Definition at line 29 of file Sum.cpp.

~Sum ( )

Definition at line 39 of file Sum.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 52 of file Sum.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 110 of file Sum.cpp.


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