Marsyas  0.5.0-beta1
Public Member Functions
MixToMono Class Reference

Mix the input channels (observations rows) into one output observation channel. More...

#include <MixToMono.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
 Implementation of the MarSystem::clone() method.
 MixToMono (std::string name)
 MixToMono constructor.
 MixToMono (const MixToMono &a)
 MixToMono copy constructor.
void myProcess (realvec &in, realvec &out)
 Implementation of the MarSystem::myProcess method.
 ~MixToMono ()
 MixToMono destructor.

Detailed Description

Mix the input channels (observations rows) into one output observation channel.

This MarSystem averages its input channels (the different observation rows of a slice) to a single output channel. The weights for the averaging are determined automatically based on the number of input channels, so it works intuitively for mono, stereo or input with more channels.

See also:
Sum.

This MarSystem has no extra controls.

Definition at line 43 of file MixToMono.h.


Constructor & Destructor Documentation

MixToMono ( std::string  name)

MixToMono constructor.

Definition at line 24 of file MixToMono.cpp.

MixToMono ( const MixToMono a)

MixToMono copy constructor.

Definition at line 29 of file MixToMono.cpp.

~MixToMono ( )

MixToMono destructor.

Definition at line 35 of file MixToMono.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implementation of the MarSystem::clone() method.

Implements MarSystem.

Definition at line 40 of file MixToMono.cpp.

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

Implementation of the MarSystem::myProcess method.

Implements MarSystem.

Definition at line 61 of file MixToMono.cpp.


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