csl::AdditiveInstrument Class Reference

#include <AdditiveInstrument.h>

Inheritance diagram for csl::AdditiveInstrument:

csl::Instrument csl::UnitGenerator csl::Model

List of all members.

Public Member Functions

 AdditiveInstrument ()
 Constructor.
 ~AdditiveInstrument ()
void setParameter (unsigned selector, int argc, void **argv, const char *types)
 Plug functions.
void playOSC (int argc, void **argv, const char *types)
 Play functions.
void playNote (float dur=1, float ampl=1, float c_fr=110, float pos=0, float att=0.1, float dec=0.1, float sus=0.5, float rel=0.1)

Public Attributes

ADSR mAEnv
 amplitude envelope
SumOfSines mSOS
 sum-of-sine oscillator
Panner mPanner
 stereo panner


Detailed Description

AdditiveInstrument

Constructor & Destructor Documentation

AdditiveInstrument::AdditiveInstrument (  ) 

AdditiveInstrument::~AdditiveInstrument (  ) 


Member Function Documentation

void AdditiveInstrument::setParameter ( unsigned  selector,
int  argc,
void **  argv,
const char *  types 
) [virtual]

void AdditiveInstrument::playOSC ( int  argc,
void **  argv,
const char *  types 
) [virtual]

void AdditiveInstrument::playNote ( float  dur = 1,
float  ampl = 1,
float  c_fr = 110,
float  pos = 0,
float  att = 0.1,
float  dec = 0.1,
float  sus = 0.5,
float  rel = 0.1 
)


Member Data Documentation

amplitude envelope

Referenced by AdditiveInstrument(), playNote(), playOSC(), and setParameter().

sum-of-sine oscillator

Referenced by AdditiveInstrument(), playNote(), playOSC(), and setParameter().

stereo panner

Referenced by AdditiveInstrument(), playNote(), playOSC(), and setParameter().


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

Generated on Thu Sep 17 23:14:17 2009 for CSL by  doxygen 1.5.8