1 | Event types (number in comment field is event size)
|
---|
2 | -----------
|
---|
3 |
|
---|
4 | EV_NULL 0 /* 1 - null event */
|
---|
5 | EV_SCORE 1 /* 1 - score begin */
|
---|
6 | EV_SBGN 2 /* 2 - section begin */
|
---|
7 | EV_SEND 3 /* 2 - section end */
|
---|
8 | EV_INST 4 /* 2 - instrument change */
|
---|
9 | EV_NBEG 5 /* 1 - note begin */
|
---|
10 | EV_NEND 6 /* 1 - note end */
|
---|
11 | EV_STOP 7 /* 1 - stop */
|
---|
12 | EV_INTP 8 /* 2 - interpolate */
|
---|
13 | EV_TMPO 9 /* 2 - tempo */
|
---|
14 | EV_TUNE 10 /* 2 - tuning */
|
---|
15 | EV_GRP 11 /* 2 - group status */
|
---|
16 | EV_LOCN 12 /* 2 - location */
|
---|
17 | EV_DYN 13 /* 2 - dynamics */
|
---|
18 | EV_ANVL 14 /* 2 - analog value */
|
---|
19 | EV_ANRS 15 /* 2 - analog resolution */
|
---|
20 | EV_ASGN 16 /* 2 - I/O assign */
|
---|
21 | EV_TRNS 17 /* 3 - transposition */
|
---|
22 | EV_REPT 18 /* 1 - repeat */
|
---|
23 | EV_PNCH 19 /* 1 - punch in/out */
|
---|
24 | EV_PRES 20 /* 1 - polyphonic pressure */
|
---|
25 | EV_FINI 21 /* 1 - score end */
|
---|
26 | EV_CPRS 22 /* 1 - channel pressure */
|
---|
27 | EV_BAR 23 /* 1 - bar marker */
|
---|
28 |
|
---|
29 | N_ETYPES 24 /* number of event types (1 + last type code) */
|
---|
30 |
|
---|
31 | Event header types
|
---|
32 | ------------------
|
---|
33 |
|
---|
34 | EH_INST 0 /* instrument change */
|
---|
35 | EH_GRP 1 /* group status */
|
---|
36 | EH_LOCN 2 /* location */
|
---|
37 | EH_DYN 3 /* dynamics */
|
---|
38 | EH_ANRS 4 /* analog resolution */
|
---|
39 | EH_TRNS 5 /* transposition */
|
---|
40 | EH_INTP 6 /* interpolate */
|
---|
41 | EH_TMPO 7 /* tempo */
|
---|
42 | EH_TUNE 8 /* tuning */
|
---|
43 | EH_ASGN 9 /* I/O assign */
|
---|
44 | EH_SBGN 10 /* section begin */
|
---|
45 | EH_SEND 11 /* section end */
|
---|
46 |
|
---|
47 | N_TYPES 12 /* number of event header types */
|
---|