Marsyas
0.6.0-alpha
|
Mix the input channels (observations rows) into one output observation channel. More...
#include <MixToMono.h>
Inherits MarSystem.
Public Member Functions | |
MarSystem * | clone () 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. |
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.
This MarSystem has no extra controls.
Definition at line 43 of file MixToMono.h.
MixToMono | ( | std::string | name | ) |
MixToMono constructor.
Definition at line 24 of file MixToMono.cpp.
MixToMono copy constructor.
Definition at line 29 of file MixToMono.cpp.
~MixToMono | ( | ) |
MixToMono destructor.
Definition at line 35 of file MixToMono.cpp.
Implementation of the MarSystem::clone() method.
Implements MarSystem.
Definition at line 40 of file MixToMono.cpp.
Implementation of the MarSystem::myProcess method.
Implements MarSystem.
Definition at line 61 of file MixToMono.cpp.