Go to the documentation of this file.
27 #ifndef CSL_SndFile_Instrument_H
28 #define CSL_SndFile_Instrument_H
46 void setParameter(
unsigned selector,
int argc,
void **argv,
const char *types);
49 void playOSC(
int argc,
void **argv,
const char *types);
50 void playNote(
float ampl = 1,
float rate = 1,
float pos = 0,
int start = -1,
int stop = -1,
51 float attack = 0.0,
float decay = 0.0);
52 void playMIDI(
int chan,
int key,
int vel);
87 void addSample(
LSoundFile & sndFile,
unsigned midi = 0,
double freq = 0.0,
double minRatio = 0.75);
90 void playOSC(
int argc,
void **argv,
const char *types);
91 void playNote(
float ampl = 1,
float rate = 1,
float pos = 0,
int start = -1,
int stop = -1,
92 float attack = 0.0,
float decay = 0.0);