PonyTracker
Un projet de tracker de musique
|
#include <stdio.h>
#include <stdlib.h>
#include <gtk/gtk.h>
#include <string.h>
#include "motifs/motifs.h"
#include "melodie/melodie.h"
#include "samples/samples.h"
#include "instruments/instruments.h"
#include "lecture/lecture.h"
Aller au code source de ce fichier.
Macros | |
#define | DEF_NBR_TMP 16 |
#define | MAX_PATTERNS 256 |
#define | NBR_INST 10 |
#define | NBR_SMPL 5 |
Fonctions | |
void | afficherMotif (Motif *m, int nbrPortees) |
void | debut (Motif *melodie[], Instrument *inst[], Sample *smpl[], Motif *liste, int nbrPortees) |
int | main (int argc, char *argv[]) |
void | fenetreSample (int argc, char *argv[]) |
void | fenetreInstrument (int argc, char *argv[]) |
void | fenetreMotif (int argc, char *argv[]) |
void | fenetreNote (int argc, char *argv[]) |
void | remplissageNote (GtkWidget *widget, gpointer *data) |
void | lancerLecture () |
void | quitter () |
void | refresh () |
Variables | |
Motif * | melodie [MAX_PATTERNS] = {NULL} |
Motif * | liste = NULL |
Instrument * | inst [NBR_INST] = {NULL} |
Sample * | smpl [NBR_SMPL] = {NULL} |
int | nbrPortees = 1 |
int | taille |
GtkBuilder * | monBuilder |
char * | Do ="Do" |
char * | DoD ="Do#" |
char * | Re ="Re" |
char * | ReD ="Re#" |
char * | Mi ="Mi" |
char * | Fa ="Fa" |
char * | FaD ="Fa#" |
char * | Sol ="Sol" |
char * | SolD ="Sol#" |
char * | La ="La" |
char * | LaD ="La#" |
char * | Si ="Si" |
char * | N1 ="1" |
char * | N2 ="2" |
char * | N3 ="3" |
char * | N4 ="4" |
char * | N5 ="5" |
void debut | ( | Motif * | melodie[], |
Instrument * | inst[], | ||
Sample * | smpl[], | ||
Motif * | liste, | ||
int | nbrPortees | ||
) |
void remplissageNote | ( | GtkWidget * | widget, |
gpointer * | data | ||
) |
Instrument* inst[NBR_INST] = {NULL} |
Motif* melodie[MAX_PATTERNS] = {NULL} |