Marsyas  0.5.0-beta1
Public Member Functions
AliasingOsc Class Reference

A simple aliasing oscillator. More...

#include <AliasingOsc.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

A simple aliasing oscillator.

A simple aliasing oscillator capable of Saw and PWM.

The pitch can be modulated by using in(0,t).

The cyclic rate can be modulated by using in(1,t). If cyclicin is set to true.

TODO: Implement triangle wave. TODO: Make it so that there is control over what in channel is mapped to what parameter is getting modulated.


Definition at line 49 of file AliasingOsc.h.

Constructor & Destructor Documentation

AliasingOsc ( std::string  name)

Definition at line 25 of file AliasingOsc.cpp.

AliasingOsc ( const AliasingOsc a)

Definition at line 37 of file AliasingOsc.cpp.

Definition at line 46 of file AliasingOsc.cpp.

Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 50 of file AliasingOsc.cpp.

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

Processes data.

inInput data to read.
outOutput data to write.

Implement this method in subclass to define specific data processing.

Implements MarSystem.

Definition at line 89 of file AliasingOsc.cpp.

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