/* This file is part of the GMOD package */

extern int pattern_len[MAX_POSITION];
extern int pattern_tempo[MAX_POSITION];
extern pattern *pattern_table[MAX_PATTERN * MAX_TRACK];

extern struct voice_info voices[MAX_TRACK];

extern int tune[MAX_POSITION];
extern short voice_table[MAX_POSITION][MAX_TRACK];
extern double tick_duration;

extern int seqfd, mixerfd;
extern unsigned char sample_ok[MAX_SAMPLES], sample_vol[MAX_SAMPLES];
extern short sample_ft[MAX_SAMPLES];
extern int tmp, gus_dev;
extern double this_time, next_time;
extern int ticks_per_division;
extern double clock_rate;	/* HZ */

extern unsigned char _seqbuf[];
extern int _seqbuflen, _seqbufptr;

extern unsigned short base_freq_table[];
extern unsigned short period_table[];
extern short vibra_table[][NUM_VIBRA];

extern unsigned char stop_flag;
extern unsigned char dump_enabled;
extern unsigned char background;
