Marsyas  0.5.0-beta1
Public Member Functions
AdditiveOsc Class Reference

Generates what is perceptually a saw wave. More...

#include <AdditiveOsc.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

Generates what is perceptually a saw wave.

Creates what is perceptually a saw wave using wave guides to generate each harmonic.

TODO: Make actually generate a saw wave. Add ability to choose wave shape eg: Saw, Square, Triangle Add ability to vary pitch over time

Controls:

Definition at line 44 of file AdditiveOsc.h.


Constructor & Destructor Documentation

AdditiveOsc ( std::string  name)

Definition at line 24 of file AdditiveOsc.cpp.

AdditiveOsc ( const AdditiveOsc a)

Definition at line 34 of file AdditiveOsc.cpp.

Definition at line 41 of file AdditiveOsc.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 45 of file AdditiveOsc.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 88 of file AdditiveOsc.cpp.


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