Marsyas  0.5.0-beta1
Public Member Functions
SilenceRemove Class Reference

Blocks tick()s if the output is silent. More...

#include <SilenceRemove.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

Blocks tick()s if the output is silent.

SilenceRemove takes as argument another Marsystem and ticks it ignoring the output when it is silent. Effectively tick silence remove is the same as playing the sound with silences removed.

Controls:

Definition at line 42 of file SilenceRemove.h.


Constructor & Destructor Documentation

SilenceRemove ( std::string  name)

Definition at line 25 of file SilenceRemove.cpp.

SilenceRemove ( const SilenceRemove a)

Definition at line 31 of file SilenceRemove.cpp.

Definition at line 36 of file SilenceRemove.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 42 of file SilenceRemove.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 86 of file SilenceRemove.cpp.


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