blob: a765b5838058a105b45eefc868d785ada003d3bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
/***************************/
/* readmidi.h */
/***************************/
FILE *fp, *tfp;
static Header head;
static Track_Header THead;
#ifdef DEBUG
static double D_Tempo;
extern void debug_out();
#endif
static double one64tel, sequencecounter, lastsc;
static unsigned long converter, bartime, lastbartime;
static char Running_Event;
static char notes_flag;
static unsigned long zeit;
static int help;
static int taktzeit;
static unsigned long diskrete_tz;
static unsigned long int firstnotetime;
static int firstnotetimeflag;
static int Signature;
static int T_genus;
static int Track_Nr;
static char printonly; /* for one track processing */
char Staffs[MAXTRACKS][100]; /* names of instruments */
char TrackName[MAXTRACKS][80]; /* names of tracks */
char texfilename[50]; /* name of texfile */
static unsigned char max[MAXTRACKS];
static unsigned char min[MAXTRACKS];
char region[MAXTRACKS]; /* 0 both, 1 violine, 2 bass */
static char count; /* count_only bit */
static short nom0, denom0, key0; /* for first track datas */
static int valid, valid2;
static int ReadEvent();
extern void ins_dyn_event();
extern void note_insert();
extern int note_delete();
extern int search_note();
extern void dyn_init();
extern void split_notes();
extern void detect_accords();
extern void insert_notetimes_and_slurs();
extern void detect_note_positions_with_signs();
extern void set_slur_regions();
extern void reset_treat_info();
extern void beam_detect();
extern void set_beam_regions();
extern void slur_geometry();
extern void detect_rests();
extern void beam_geometry();
extern void calculate_rest_positions();
extern void set_loudness_infos();
extern void write_texfile();
|