27 strcpy(m->
nom,
"Motif ");
30 strcat(m->
nom, nombre);
45 free((*((*cellule)->motif))[i]);
47 free((*cellule)->motif);
54 (*(*m->
motif)[portee])[tmp].note = note;
58 (*(*m->
motif)[portee])[tmp].octave = octave;
62 (*(*m->
motif)[portee])[tmp].instrument = instrument;
66 (*(*m->
motif)[portee])[tmp].volume = volume;
70 (*(*m->
motif)[portee])[tmp].effet = effet;
74 (*(*m->
motif)[portee])[tmp].note = 0;
78 return (*(*m->
motif)[portee])[tmp].note;
82 return (*(*m->
motif)[portee])[tmp].octave;
86 return (*(*m->
motif)[portee])[tmp].instrument;
90 return (*(*m->
motif)[portee])[tmp].volume;
94 return (*(*m->
motif)[portee])[tmp].note;
int getInstrument(Motif *m, int portee, int tmp)
void ajouterMotif(Motif **pliste, int nbrTmp, int nbrPortees)
int getNote(Motif *m, int portee, int tmp)
int getEffet(Motif *m, int portee, int tmp)
void definirOctave(Motif *m, int portee, int tmp, int octave)
void definirNomMotif(Motif *m, char *nom)
void definirNote(Motif *m, int portee, int tmp, int note)
int getVolume(Motif *m, int portee, int tmp)
void supprimerNote(Motif *m, int portee, int tmp)
void definirEffet(Motif *m, int portee, int tmp, int effet)
void definirInstrument(Motif *m, int portee, int tmp, int instrument)
void definirVolume(Motif *m, int portee, int tmp, int volume)
int getOctave(Motif *m, int portee, int tmp)
void supprimerMotif(Motif **cellule, int nbrPortees)