csl::BasicFMInstrument Class Reference

#include <BasicFMInstrument.h>

Inheritance diagram for csl::BasicFMInstrument:

csl::Instrument csl::UnitGenerator List of all members.

Detailed Description

BasicFMInstrument


Public Member Functions

 BasicFMInstrument ()
 Constructor.
 ~BasicFMInstrument ()
void setParameter (unsigned selector, void *value)
 Plug functions.
void playOSC (const char *types, void *args)
 Play functions.
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


Constructor & Destructor Documentation

BasicFMInstrument::BasicFMInstrument  ) 
 

Constructor.

BasicFMInstrument::~BasicFMInstrument  ) 
 


Member Function Documentation

void BasicFMInstrument::setParameter unsigned  selector,
void *  value
[virtual]
 

Plug functions.

Reimplemented from csl::Instrument.

void BasicFMInstrument::playOSC const char *  types,
void *  args
[virtual]
 

Play functions.

Reimplemented from csl::Instrument.

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
 

These are the UGens of the DSP graph (i.e., the FM instrument).


Member Data Documentation

ADSR csl::BasicFMInstrument::mAEnv
 

ADSR csl::BasicFMInstrument::mIEnv
 

amplitude & modulation index envelopes

Sine csl::BasicFMInstrument::mCar
 

Sine csl::BasicFMInstrument::mMod
 

2 sine oscillators, carrier and modulator

Panner csl::BasicFMInstrument::mPanner
 

stereo panner


The documentation for this class was generated from the following files:
Generated on Fri Apr 6 20:18:17 2007 for CSL by  doxygen 1.4.5-20051010