15 strcpy(tab[i]->nom,
"Nouvel instrument");
42 strcpy(inst->
nom,nom);
46 float freq = 440*pow(2,(octave-3)+(note-11)*(1.0/12.0));
int getBalance(Instrument *inst)
float rapportPitch(Instrument *inst, int note, int octave)
void setVolume(Instrument *inst, int volume)
char * getNomInst(Instrument *inst)
int getVolume(Instrument *inst)
void setBalance(Instrument *inst, int balance)
void ajouterInstrument(Instrument *tab[], int i)
void supprimerInstrument(Instrument *tab[], int i)
void setNomInst(Instrument *inst, char *nom)