8 typedef struct hmp_track {
13 unsigned int cur_time;
16 typedef struct hmp_file {
18 hmp_track trks[HMP_TRACKS];
19 unsigned int cur_time;
21 unsigned char *pending;
22 unsigned int pending_size;
23 unsigned int pending_event;
27 unsigned int midi_division;
30 hmp_file *hmp_open(const char *filename);
31 void hmp_close(hmp_file *hmp);
32 void hmp2mid(char *hmp_name, unsigned char **midbuf, unsigned int *midlen);