Go to the documentation of this file.
29 #ifndef INCLUDE_Basic_FM_Instrument_H
30 #define INCLUDE_Basic_FM_Instrument_H
46 virtual void setParameter(
unsigned selector,
int argc,
void **argv,
const char *types);
48 void parseArgs(
int argc,
void **argv,
const char *types);
49 virtual void playOSC(
int argc,
void **argv,
const char *types);
51 void playNote(
float dur = 1,
float ampl = 1,
52 float c_fr = 110,
float m_fr = 110,
float ind = 1,
float pos = 0,
53 float att = 0.1,
float dec = 0.1,
float sus = 0.5,
float rel = 0.1,
54 float i_att = 0.1,
float i_dec = 0.1,
float i_sus = 0.5,
float i_rel = 0.1);
55 void playMIDI(
float dur,
int chan,
int key,
int vel);
72 void setParameter(
unsigned selector,
int argc,
void **argv,
const char *types);
73 void playOSC(
int argc,
void **argv,
const char *types);
74 void playMIDI(
float dur,
int chan,
int key,
int vel);