#include <SndFileInstrument.h>

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). | |
| csl::SampleBankInstrument::SampleBankInstrument | ( | ) |
| csl::SampleBankInstrument::~SampleBankInstrument | ( | ) |
| void csl::SampleBankInstrument::addSample | ( | SoundFile & | sndFile, | |
| unsigned | midi = 0, |
|||
| double | freq = 0.0, |
|||
| double | minRatio = 0.75 | |||
| ) |
| void csl::SampleBankInstrument::play | ( | ) | [virtual] |
| 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.
1.5.8