![]() |
PonyTracker
Un projet de tracker de musique
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include "../samples/samples.h"

Aller au code source de ce fichier.
Structures de données | |
| struct | _enveloppe |
| struct | _intrument |
Définitions de type | |
| typedef struct _enveloppe | Enveloppe |
| typedef struct _intrument | Instrument |
Fonctions | |
| void | ajouterInstrument (Instrument *tab[], int i) |
| void | supprimerInstrument (Instrument *tab[], int i) |
| char * | getChemin (Instrument *inst) |
| int | getVolumeInst (Instrument *inst) |
| int | getBalanceInst (Instrument *inst) |
| char * | getNomInst (Instrument *inst) |
| Sample * | getSample (Instrument *inst) |
| void | setVolume (Instrument *inst, int volume) |
| void | setBalance (Instrument *inst, int balance) |
| void | setNomInst (Instrument *inst, char *nom) |
| void | setSample (Instrument *inst, Sample *smpl) |
| float | rapportPitch (Instrument *inst, int note, int octave) |
| typedef struct _enveloppe Enveloppe |
| typedef struct _intrument Instrument |
| void ajouterInstrument | ( | Instrument * | tab[], |
| int | i | ||
| ) |
Définition à la ligne 13 du fichier instruments.c.
| int getBalanceInst | ( | Instrument * | inst | ) |
| char* getChemin | ( | Instrument * | inst | ) |
Définition à la ligne 22 du fichier instruments.c.
| char* getNomInst | ( | Instrument * | inst | ) |
Définition à la ligne 34 du fichier instruments.c.
| Sample* getSample | ( | Instrument * | inst | ) |
Définition à la ligne 38 du fichier instruments.c.
| int getVolumeInst | ( | Instrument * | inst | ) |
Définition à la ligne 26 du fichier instruments.c.
| float rapportPitch | ( | Instrument * | inst, |
| int | note, | ||
| int | octave | ||
| ) |
Définition à la ligne 58 du fichier instruments.c.
| void setBalance | ( | Instrument * | inst, |
| int | balance | ||
| ) |
| void setNomInst | ( | Instrument * | inst, |
| char * | nom | ||
| ) |
Définition à la ligne 50 du fichier instruments.c.
| void setSample | ( | Instrument * | inst, |
| Sample * | smpl | ||
| ) |
Définition à la ligne 54 du fichier instruments.c.
| void setVolume | ( | Instrument * | inst, |
| int | volume | ||
| ) |
| void supprimerInstrument | ( | Instrument * | tab[], |
| int | i | ||
| ) |
Définition à la ligne 18 du fichier instruments.c.
1.8.6