csl::SampleBankInstrument Class Reference

#include <SndFileInstrument.h>

Inheritance diagram for csl::SampleBankInstrument:

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

List of all members.

Public Member Functions

 SampleBankInstrument ()
 ~SampleBankInstrument ()
void addSample (SoundFile &sndFile, unsigned midi=0, double freq=0.0, double minRatio=0.75)
void play ()
 play note
void playOSC (int argc, void **argv, const char *types)
void playNote (float ampl=1, float rate=1, float pos=0, int start=-1, int stop=-1, float attack=0.0, float decay=0.0)
 These are the UGens of the DSP graph (i.e., the sndfile player instrument).


Detailed Description

Sample bank player instrument

Constructor & Destructor Documentation

csl::SampleBankInstrument::SampleBankInstrument (  ) 

csl::SampleBankInstrument::~SampleBankInstrument (  ) 


Member Function Documentation

void csl::SampleBankInstrument::addSample ( SoundFile &  sndFile,
unsigned  midi = 0,
double  freq = 0.0,
double  minRatio = 0.75 
)

void csl::SampleBankInstrument::play (  )  [virtual]

play note

Reimplemented from csl::SndFileInstrument.

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

Reimplemented from csl::SndFileInstrument.

void csl::SampleBankInstrument::playNote ( float  ampl = 1,
float  rate = 1,
float  pos = 0,
int  start = -1,
int  stop = -1,
float  attack = 0.0,
float  decay = 0.0 
)

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

Reimplemented from csl::SndFileInstrument.


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

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