csl::BasicFMInstrument Class Reference

#include <BasicFMInstrument.h>

Inheritance diagram for csl::BasicFMInstrument:

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

List of all members.

Public Member Functions

 BasicFMInstrument ()
 Constructor.
 ~BasicFMInstrument ()
virtual void setParameter (unsigned selector, int argc, void **argv, const char *types)
 Plug functions.
void parseArgs (int argc, void **argv, const char *types)
 Play functions.
virtual void playOSC (int argc, void **argv, const char *types)
void playNote (float dur=1, float ampl=1, float c_fr=110, float m_fr=110, float ind=1, float pos=0, float att=0.1, float dec=0.1, float sus=0.5, float rel=0.1, float i_att=0.1, float i_dec=0.1, float i_sus=0.5, float i_rel=0.1)
 These are the UGens of the DSP graph (i.e., the FM instrument).

Public Attributes

ADSR mAEnv
ADSR mIEnv
 amplitude & modulation index envelopes
Sine mCar
Sine mMod
 2 sine oscillators, carrier and modulator
Panner mPanner
 stereo panner


Detailed Description

BasicFMInstrument

Constructor & Destructor Documentation

BasicFMInstrument::BasicFMInstrument (  ) 

BasicFMInstrument::~BasicFMInstrument (  ) 


Member Function Documentation

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

void BasicFMInstrument::parseArgs ( int  argc,
void **  argv,
const char *  types 
)

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

Reimplemented from csl::Instrument.

Reimplemented in csl::FancyFMInstrument.

References parseArgs(), and csl::Instrument::play().

void BasicFMInstrument::playNote ( float  dur = 1,
float  ampl = 1,
float  c_fr = 110,
float  m_fr = 110,
float  ind = 1,
float  pos = 0,
float  att = 0.1,
float  dec = 0.1,
float  sus = 0.5,
float  rel = 0.1,
float  i_att = 0.1,
float  i_dec = 0.1,
float  i_sus = 0.5,
float  i_rel = 0.1 
)


Member Data Documentation

amplitude & modulation index envelopes

Referenced by BasicFMInstrument(), parseArgs(), playNote(), and setParameter().

stereo panner

Referenced by BasicFMInstrument(), parseArgs(), playNote(), 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