1 | MIDAS-VII Score structure Documentation
|
---|
2 | ---------------------------------------
|
---|
3 |
|
---|
4 | Document: events.doc Version 8 -- 1988-07-18
|
---|
5 |
|
---|
6 | Based on: score.h Version 28 -- 1988-03-22
|
---|
7 |
|
---|
8 |
|
---|
9 | CONSTANT DEFINITIONS
|
---|
10 | --------------------
|
---|
11 |
|
---|
12 | #define MAX_SE 49152 /* number of longs for score storage */
|
---|
13 |
|
---|
14 | #define N_SCORES 20 /* number of scores */
|
---|
15 | #define N_SECTS 20 /* number of sections per score */
|
---|
16 |
|
---|
17 |
|
---|
18 | #define E_NULL (struct s_entry *)0L /* null event pointer */
|
---|
19 |
|
---|
20 |
|
---|
21 | #define E_SIZE1 5 /* event size 1 -- 5 longs -- 20 bytes */
|
---|
22 | #define E_SIZE2 6 /* event size 2 -- 6 longs -- 24 bytes */
|
---|
23 | #define E_SIZE3 8 /* event size 3 -- 8 longs -- 32 bytes */
|
---|
24 |
|
---|
25 |
|
---|
26 | #define TO_BAK 240 /* offset from current time to left edge */
|
---|
27 | #define TO_FWD 258 /* offset from current time to right edge */
|
---|
28 |
|
---|
29 |
|
---|
30 | #define D_BAK 1 /* display backward */
|
---|
31 | #define D_FWD 0 /* display forward */
|
---|
32 |
|
---|
33 |
|
---|
34 | #define GS_DSBL 0 /* group status: off */
|
---|
35 | #define GS_ENBL 1 /* group status: on */
|
---|
36 | |
---|
37 | Event Types (number in comment field is event size)
|
---|
38 | -----------
|
---|
39 |
|
---|
40 | #define EV_NULL 0 /* 1 - null event */
|
---|
41 | #define EV_SCORE 1 /* 1 - score begin */
|
---|
42 | #define EV_SBGN 2 /* 2 - section begin */
|
---|
43 | #define EV_SEND 3 /* 2 - section end */
|
---|
44 | #define EV_INST 4 /* 2 - instrument change */
|
---|
45 | #define EV_NBEG 5 /* 1 - note begin */
|
---|
46 | #define EV_NEND 6 /* 1 - note end */
|
---|
47 | #define EV_STOP 7 /* 1 - stop */
|
---|
48 | #define EV_INTP 8 /* 2 - interpolate */
|
---|
49 | #define EV_TMPO 9 /* 2 - tempo */
|
---|
50 | #define EV_TUNE 10 /* 2 - tuning */
|
---|
51 | #define EV_GRP 11 /* 2 - -unused- (was group status) */
|
---|
52 | #define EV_LOCN 12 /* 2 - location */
|
---|
53 | #define EV_DYN 13 /* 2 - dynamics */
|
---|
54 | #define EV_ANVL 14 /* 2 - analog value */
|
---|
55 | #define EV_ANRS 15 /* 2 - analog resolution */
|
---|
56 | #define EV_ASGN 16 /* 2 - I/O assign */
|
---|
57 | #define EV_TRNS 17 /* 3 - transposition */
|
---|
58 | #define EV_REPT 18 /* 1 - -unused- (was repeat) */
|
---|
59 | #define EV_PNCH 19 /* 1 - punch in/out */
|
---|
60 | #define EV_PRES 20 /* 1 - -unused- (was polyphonic pressure) */
|
---|
61 | #define EV_FINI 21 /* 1 - score end */
|
---|
62 | #define EV_CPRS 22 /* 1 - -unused- (was channel pressure) */
|
---|
63 | #define EV_BAR 23 /* 1 - bar marker */
|
---|
64 | #define EV_NEXT 24 /* 1 - next score */
|
---|
65 |
|
---|
66 | #define N_ETYPES 25 /* number of event types (1 + last type code) */
|
---|
67 |
|
---|
68 |
|
---|
69 | Event Header Types
|
---|
70 | ------------------
|
---|
71 |
|
---|
72 | #define EH_INST 0 /* instrument change */
|
---|
73 | #define EH_GRP 1 /* -unused- (was group status) */
|
---|
74 | #define EH_LOCN 2 /* location */
|
---|
75 | #define EH_DYN 3 /* dynamics */
|
---|
76 | #define EH_ANRS 4 /* analog resolution */
|
---|
77 | #define EH_TRNS 5 /* transposition */
|
---|
78 | #define EH_INTP 6 /* interpolate */
|
---|
79 | #define EH_TMPO 7 /* tempo */
|
---|
80 | #define EH_TUNE 8 /* tuning */
|
---|
81 | #define EH_ASGN 9 /* I/O assign */
|
---|
82 | #define EH_SBGN 10 /* section begin */
|
---|
83 | #define EH_SEND 11 /* section end */
|
---|
84 |
|
---|
85 | #define N_TYPES 12 /* number of event header types */
|
---|
86 | |
---|
87 | MIDAS-VII SCORE EVENT SIZES (in bytes)
|
---|
88 | ---------------------------------------
|
---|
89 |
|
---|
90 | . Standard event sizes in RAM:
|
---|
91 |
|
---|
92 | E_SIZE1 20 bytes
|
---|
93 | E_SIZE2 24 bytes
|
---|
94 | E_SIZE3 32 bytes
|
---|
95 |
|
---|
96 | . Event sizes in RAM and on disk:
|
---|
97 |
|
---|
98 | size score disk type
|
---|
99 | ------- ----- ---- --------------
|
---|
100 | E_SIZE1 20 0 0 - EV_NULL
|
---|
101 | E_SIZE1 20 6 1 - EV_SCORE
|
---|
102 | E_SIZE2 24 6 2 - EV_SBGN
|
---|
103 | E_SIZE2 24 6 3 - EV_SEND
|
---|
104 | E_SIZE2 24 7 4 - EV_INST
|
---|
105 | E_SIZE1 20 9 5 - EV_NBEG
|
---|
106 | E_SIZE1 20 9 6 - EV_NEND
|
---|
107 | E_SIZE1 20 5 7 - EV_STOP
|
---|
108 | E_SIZE1 20 7 8 - EV_INTP
|
---|
109 | E_SIZE2 24 6 9 - EV_TMPO
|
---|
110 | E_SIZE2 24 6 10 - EV_TUNE
|
---|
111 | E_SIZE2 24 7 11 - EV_GRP
|
---|
112 | E_SIZE2 24 7 12 - EV_LOCN
|
---|
113 | E_SIZE2 24 7 13 - EV_DYN
|
---|
114 | E_SIZE2 24 8 14 - EV_ANVL
|
---|
115 | E_SIZE2 24 7 15 - EV_ANRS
|
---|
116 | E_SIZE2 24 6 16 - EV_ASGN
|
---|
117 | E_SIZE3 32 8 17 - EV_TRNS
|
---|
118 | E_SIZE1 20 6 18 - EV_REPT
|
---|
119 | E_SIZE1 20 6 19 - EV_PNCH
|
---|
120 | E_SIZE1 20 7 20 - EV_PRES
|
---|
121 | E_SIZE1 20 6 21 - EV_FINI
|
---|
122 | E_SIZE1 20 7 22 - EV_CPRS
|
---|
123 | E_SIZE1 20 5 23 - EV_BAR
|
---|
124 | E_SIZE1 20 5 24 - EV_NEXT
|
---|
125 | |
---|
126 | SCORE LIST STRUCTURES
|
---|
127 | ---------------------
|
---|
128 |
|
---|
129 | Note Entry Structure E_SIZE1 (20 bytes)
|
---|
130 | --------------------
|
---|
131 |
|
---|
132 | struct n_entry {
|
---|
133 |
|
---|
134 | +0 long e_time; time, in frames
|
---|
135 |
|
---|
136 | +4 char e_size; size of entry, in longs
|
---|
137 | +5 char e_type; type of entry
|
---|
138 | +6 char e_note; note number
|
---|
139 | +7 char e_group; group number
|
---|
140 |
|
---|
141 | +8 struct s_entry *e_bak, backward pointer
|
---|
142 | +12 *e_fwd; forward pointer
|
---|
143 |
|
---|
144 | +16 short e_vel; velocity
|
---|
145 | +18 short e_data4; optional data or padding
|
---|
146 |
|
---|
147 | };
|
---|
148 |
|
---|
149 |
|
---|
150 | Event Entry Structure E_SIZE2 (24 bytes) or E_SIZE3 (32 bytes)
|
---|
151 | ---------------------
|
---|
152 |
|
---|
153 | struct s_entry {
|
---|
154 |
|
---|
155 | --- E_SIZE2 and E_SIZE3 ---
|
---|
156 |
|
---|
157 | +0 long e_time; time, in frames
|
---|
158 |
|
---|
159 | +4 char e_size; size of entry, in longs
|
---|
160 | +5 char e_type; type of entry
|
---|
161 | +6 char e_data1; 1st 8 bits of data
|
---|
162 | +7 char e_data2; 2nd 8 bits of data
|
---|
163 |
|
---|
164 | +8 struct s_entry *e_bak, backward pointer
|
---|
165 | +12 *e_fwd, forward pointer
|
---|
166 |
|
---|
167 | +16 *e_dn, down pointer or 4 bytes of data
|
---|
168 | +20 *e_up, up pointer or 4 bytes of data
|
---|
169 |
|
---|
170 | --- E_SIZE3 only ---
|
---|
171 |
|
---|
172 | +24 *e_lft, left pointer or 4 bytes of data
|
---|
173 | +28 *e_rgt; right pointer or 4 bytes of data
|
---|
174 |
|
---|
175 | };
|
---|
176 |
|
---|
177 | |
---|
178 | Event type: Null event EV_NULL 0 00
|
---|
179 | ----------- ---------- ------- - --
|
---|
180 |
|
---|
181 | struct n_entry {
|
---|
182 |
|
---|
183 | long e_time; time, in frames
|
---|
184 |
|
---|
185 | char e_size; size of entry, in longs: 5 05
|
---|
186 | char e_type; type of entry 0 00
|
---|
187 | char e_note; -unused-
|
---|
188 | char e_group; -unused-
|
---|
189 |
|
---|
190 | struct s_entry *e_bak, backward pointer
|
---|
191 | *e_fwd; forward pointer
|
---|
192 |
|
---|
193 | short e_vel; -unused-
|
---|
194 | short e_data4; -unused-
|
---|
195 | };
|
---|
196 |
|
---|
197 |
|
---|
198 | Score format: E_SIZE1 20 bytes
|
---|
199 | -------------
|
---|
200 |
|
---|
201 | time nn nn nn nn
|
---|
202 | size 05
|
---|
203 | type 00
|
---|
204 | -unused- 00 00
|
---|
205 | bak nn nn nn nn
|
---|
206 | fwd nn nn nn nn
|
---|
207 | -unused- 00 00 00 00
|
---|
208 |
|
---|
209 |
|
---|
210 | Disk format: 0 bytes
|
---|
211 | ------------
|
---|
212 |
|
---|
213 | Not stored on disk.
|
---|
214 |
|
---|
215 | |
---|
216 | Event type: Score begin EV_SCORE 1 01
|
---|
217 | ----------- ----------- -------- - --
|
---|
218 |
|
---|
219 | struct n_entry {
|
---|
220 |
|
---|
221 | long e_time; time, in frames
|
---|
222 |
|
---|
223 | char e_size; size of entry, in longs: 5 05
|
---|
224 | char e_type; type of entry: 1 01
|
---|
225 | char e_note; score number
|
---|
226 | char e_group; -unused-
|
---|
227 |
|
---|
228 | struct s_entry *e_bak, backward pointer
|
---|
229 | *e_fwd; forward pointer
|
---|
230 |
|
---|
231 | short e_vel; -unused-
|
---|
232 | short e_data4; -unused-
|
---|
233 | };
|
---|
234 |
|
---|
235 |
|
---|
236 | Score format: E_SIZE1 20 bytes
|
---|
237 | -------------
|
---|
238 |
|
---|
239 | time nn nn nn nn
|
---|
240 | size 05
|
---|
241 | type 01
|
---|
242 | score number nn
|
---|
243 | -unused- 00
|
---|
244 | bak nn nn nn nn
|
---|
245 | fwd nn nn nn nn
|
---|
246 | -unused- 00 00 00 00
|
---|
247 |
|
---|
248 |
|
---|
249 | Disk format: 6 bytes
|
---|
250 | ------------
|
---|
251 |
|
---|
252 | type 01
|
---|
253 | time nn nn nn nn
|
---|
254 | score number nn
|
---|
255 |
|
---|
256 | |
---|
257 | Event type: Section begin EV_SBGN 2 02
|
---|
258 | ----------- ------------- ------- - --
|
---|
259 |
|
---|
260 | struct s_entry {
|
---|
261 |
|
---|
262 | long e_time; time, in frames
|
---|
263 |
|
---|
264 | char e_size; size of entry, in longs: 6 06
|
---|
265 | char e_type; type of entry: 2 02
|
---|
266 | char e_data1; section number
|
---|
267 | char e_data2; -unused-
|
---|
268 |
|
---|
269 | struct s_entry *e_bak, backward pointer
|
---|
270 | *e_fwd, forward pointer
|
---|
271 |
|
---|
272 | *e_dn, down pointer
|
---|
273 | *e_up; up pointer
|
---|
274 | };
|
---|
275 |
|
---|
276 |
|
---|
277 | Score format: E_SIZE2 24 bytes
|
---|
278 | -------------
|
---|
279 |
|
---|
280 | time nn nn nn nn
|
---|
281 | size 06
|
---|
282 | type 02
|
---|
283 | section number nn
|
---|
284 | -unused- 00
|
---|
285 | bak nn nn nn nn
|
---|
286 | fwd nn nn nn nn
|
---|
287 | dn nn nn nn nn
|
---|
288 | up nn nn nn nn
|
---|
289 |
|
---|
290 |
|
---|
291 | Disk format: 6 bytes
|
---|
292 | ------------
|
---|
293 |
|
---|
294 | type 02
|
---|
295 | time nn nn nn nn
|
---|
296 | section number nn
|
---|
297 | |
---|
298 | Event type: Section end EV_SEND 3 03
|
---|
299 | ----------- ----------- ------- - --
|
---|
300 |
|
---|
301 | struct s_entry {
|
---|
302 |
|
---|
303 | long e_time; time, in frames
|
---|
304 |
|
---|
305 | char e_size; size of entry, in longs: 6 06
|
---|
306 | char e_type; type of entry: 3 03
|
---|
307 | char e_data1; section number
|
---|
308 | char e_data2; -unused-
|
---|
309 |
|
---|
310 | struct s_entry *e_bak, backward pointer
|
---|
311 | *e_fwd, forward pointer
|
---|
312 |
|
---|
313 | *e_dn, down pointer
|
---|
314 | *e_up; up pointer
|
---|
315 | };
|
---|
316 |
|
---|
317 |
|
---|
318 | Score format: E_SIZE2 24 bytes
|
---|
319 | -------------
|
---|
320 |
|
---|
321 | time nn nn nn nn
|
---|
322 | size 06
|
---|
323 | type 03
|
---|
324 | section number nn
|
---|
325 | -unused- 00
|
---|
326 | bak nn nn nn nn
|
---|
327 | fwd nn nn nn nn
|
---|
328 | dn nn nn nn nn
|
---|
329 | up nn nn nn nn
|
---|
330 |
|
---|
331 |
|
---|
332 | Disk format: 6 bytes
|
---|
333 | ------------
|
---|
334 |
|
---|
335 | type 03
|
---|
336 | time nn nn nn nn
|
---|
337 | section number nn
|
---|
338 | |
---|
339 | Event type: Instrument change EV_INST 4 04
|
---|
340 | ----------- ----------------- ------- - --
|
---|
341 |
|
---|
342 | struct s_entry {
|
---|
343 |
|
---|
344 | long e_time; time, in frames
|
---|
345 |
|
---|
346 | char e_size; size of entry, in longs: 6 06
|
---|
347 | char e_type; type of entry: 4 04
|
---|
348 | char e_data1; group number
|
---|
349 | char e_data2; instrument number
|
---|
350 |
|
---|
351 | struct s_entry *e_bak, backward pointer
|
---|
352 | *e_fwd, forward pointer
|
---|
353 |
|
---|
354 | *e_dn, down pointer
|
---|
355 | *e_up; up pointer
|
---|
356 | };
|
---|
357 |
|
---|
358 |
|
---|
359 | Score format: E_SIZE2 24 bytes
|
---|
360 | -------------
|
---|
361 |
|
---|
362 | time nn nn nn nn
|
---|
363 | size 06
|
---|
364 | type 04
|
---|
365 | group number nn
|
---|
366 | instrument number nn
|
---|
367 | bak nn nn nn nn
|
---|
368 | fwd nn nn nn nn
|
---|
369 | dn nn nn nn nn
|
---|
370 | up nn nn nn nn
|
---|
371 |
|
---|
372 |
|
---|
373 | Disk format: 7 bytes
|
---|
374 | ------------
|
---|
375 |
|
---|
376 | type 04
|
---|
377 | time nn nn nn nn
|
---|
378 | group number nn
|
---|
379 | instrument number nn
|
---|
380 | |
---|
381 | Event type: Note begin EV_NBEG 5 05
|
---|
382 | ----------- ---------- ------- - --
|
---|
383 |
|
---|
384 | struct n_entry {
|
---|
385 |
|
---|
386 | long e_time; time, in frames
|
---|
387 |
|
---|
388 | char e_size; size of entry, in longs: 5 05
|
---|
389 | char e_type; type of entry: 5 05
|
---|
390 | char e_note; note number
|
---|
391 | char e_group; group number
|
---|
392 |
|
---|
393 | struct s_entry *e_bak, backward pointer
|
---|
394 | *e_fwd; forward pointer
|
---|
395 |
|
---|
396 | short e_vel; velocity
|
---|
397 | short e_data4; -unused-
|
---|
398 | };
|
---|
399 |
|
---|
400 |
|
---|
401 | Score format: E_SIZE1 20 bytes
|
---|
402 | -------------
|
---|
403 |
|
---|
404 | time nn nn nn nn
|
---|
405 | size 05
|
---|
406 | type 05
|
---|
407 | note number nn
|
---|
408 | group number nn
|
---|
409 | bak nn nn nn nn
|
---|
410 | fwd nn nn nn nn
|
---|
411 | velocity nn nn
|
---|
412 | -unused- 00 00
|
---|
413 |
|
---|
414 |
|
---|
415 | Disk format: 9 bytes
|
---|
416 | ------------
|
---|
417 |
|
---|
418 | type 05
|
---|
419 | time nn nn nn nn
|
---|
420 | note number nn
|
---|
421 | group number nn
|
---|
422 | velocity nn nn
|
---|
423 | |
---|
424 | Event type: Note end EV_NEND 6 06
|
---|
425 | ----------- -------- ------- - --
|
---|
426 |
|
---|
427 | struct n_entry {
|
---|
428 |
|
---|
429 | long e_time; time, in frames
|
---|
430 |
|
---|
431 | char e_size; size of entry, in longs: 5 05
|
---|
432 | char e_type; type of entry: 6 06
|
---|
433 | char e_note; note number
|
---|
434 | char e_group; group number
|
---|
435 |
|
---|
436 | struct s_entry *e_bak, backward pointer
|
---|
437 | *e_fwd; forward pointer
|
---|
438 |
|
---|
439 | short e_vel; velocity
|
---|
440 | short e_data4; -unused-
|
---|
441 | };
|
---|
442 |
|
---|
443 | Score format: E_SIZE1 20 bytes
|
---|
444 | -------------
|
---|
445 |
|
---|
446 | time nn nn nn nn
|
---|
447 | size 05
|
---|
448 | type 06
|
---|
449 | note number nn
|
---|
450 | group number nn
|
---|
451 | bak nn nn nn nn
|
---|
452 | fwd nn nn nn nn
|
---|
453 | velocity nn nn
|
---|
454 | -unused- 00 00
|
---|
455 |
|
---|
456 |
|
---|
457 | Disk format: 9 bytes
|
---|
458 | ------------
|
---|
459 |
|
---|
460 | type 06
|
---|
461 | time nn nn nn nn
|
---|
462 | note number nn
|
---|
463 | group number nn
|
---|
464 | velocity nn nn
|
---|
465 | |
---|
466 | Event type: Stop EV_STOP 7 07
|
---|
467 | ----------- ---- ------- - --
|
---|
468 |
|
---|
469 | struct n_entry {
|
---|
470 |
|
---|
471 | long e_time; time, in frames
|
---|
472 |
|
---|
473 | char e_size; size of entry, in longs: 5 05
|
---|
474 | char e_type; type of entry: 7 07
|
---|
475 | char e_note; -unused-
|
---|
476 | char e_group; -unused-
|
---|
477 |
|
---|
478 | struct s_entry *e_bak, backward pointer
|
---|
479 | *e_fwd; forward pointer
|
---|
480 |
|
---|
481 | short e_vel; -unused-
|
---|
482 | short e_data4; -unused-
|
---|
483 | };
|
---|
484 |
|
---|
485 |
|
---|
486 | Score format: E_SIZE1 20 bytes
|
---|
487 | -------------
|
---|
488 |
|
---|
489 | time nn nn nn nn
|
---|
490 | size 05
|
---|
491 | type 07
|
---|
492 | -unused- 00
|
---|
493 | -unused- 00
|
---|
494 | bak nn nn nn nn
|
---|
495 | fwd nn nn nn nn
|
---|
496 | -unused- 00 00 00 00
|
---|
497 |
|
---|
498 |
|
---|
499 | Disk format: 5 bytes
|
---|
500 | ------------
|
---|
501 |
|
---|
502 | type 07
|
---|
503 | time nn nn nn nn
|
---|
504 | |
---|
505 | Event type: Interpolate EV_INTP 8 08
|
---|
506 | ----------- ----------- ------- - --
|
---|
507 |
|
---|
508 | struct s_entry {
|
---|
509 |
|
---|
510 | long e_time; time, in frames
|
---|
511 |
|
---|
512 | char e_size; size of entry, in longs: 6 06
|
---|
513 | char e_type; type of entry: 8 08
|
---|
514 | char e_data1; MS byte of interpolation time
|
---|
515 | char e_data2; LS byte of interpolation time
|
---|
516 |
|
---|
517 | struct s_entry *e_bak, backward pointer
|
---|
518 | *e_fwd, forward pointer
|
---|
519 |
|
---|
520 | *e_dn, down pointer
|
---|
521 | *e_up; up pointer
|
---|
522 | };
|
---|
523 |
|
---|
524 |
|
---|
525 | Score format: E_SIZE2 24 bytes
|
---|
526 | -------------
|
---|
527 |
|
---|
528 | time nn nn nn nn
|
---|
529 | size 06
|
---|
530 | type 08
|
---|
531 | interpolation time nn nn
|
---|
532 | bak nn nn nn nn
|
---|
533 | fwd nn nn nn nn
|
---|
534 | dn nn nn nn nn
|
---|
535 | up nn nn nn nn
|
---|
536 |
|
---|
537 |
|
---|
538 | Disk format: 7 bytes
|
---|
539 | ------------
|
---|
540 |
|
---|
541 | type 08
|
---|
542 | time nn nn nn nn
|
---|
543 | interpolation time nn nn
|
---|
544 | |
---|
545 | Event type: Tempo EV_TMPO 9 09
|
---|
546 | ----------- ----- ------- - --
|
---|
547 |
|
---|
548 | struct s_entry {
|
---|
549 |
|
---|
550 | long e_time; time, in frames
|
---|
551 |
|
---|
552 | char e_size; size of entry, in longs: 6 06
|
---|
553 | char e_type; type of entry: 9 09
|
---|
554 | char e_data1; tempo
|
---|
555 | char e_data2; -unused-
|
---|
556 |
|
---|
557 | struct s_entry *e_bak, backward pointer
|
---|
558 | *e_fwd, forward pointer
|
---|
559 |
|
---|
560 | *e_dn, down pointer
|
---|
561 | *e_up; up pointer
|
---|
562 | };
|
---|
563 |
|
---|
564 |
|
---|
565 | Score format: E_SIZE2 24 bytes
|
---|
566 | -------------
|
---|
567 |
|
---|
568 | time nn nn nn nn
|
---|
569 | size 06
|
---|
570 | type 09
|
---|
571 | tempo nn
|
---|
572 | -unused- 00
|
---|
573 | bak nn nn nn nn
|
---|
574 | fwd nn nn nn nn
|
---|
575 | dn nn nn nn nn
|
---|
576 | up nn nn nn nn
|
---|
577 |
|
---|
578 |
|
---|
579 | Disk format: 6 bytes
|
---|
580 | ------------
|
---|
581 |
|
---|
582 | type 09
|
---|
583 | time nn nn nn nn
|
---|
584 | tempo nn
|
---|
585 | |
---|
586 | Event type: Tuning EV_TUNE 10 0A
|
---|
587 | ----------- ------ ------- -- --
|
---|
588 |
|
---|
589 | struct s_entry {
|
---|
590 |
|
---|
591 | long e_time; time, in frames
|
---|
592 |
|
---|
593 | char e_size; size of entry, in longs: 6 06
|
---|
594 | char e_type; type of entry: 10 0A
|
---|
595 | char e_data1; tuning table number
|
---|
596 | char e_data2; -unused-
|
---|
597 |
|
---|
598 | struct s_entry *e_bak, backward pointer
|
---|
599 | *e_fwd, forward pointer
|
---|
600 |
|
---|
601 | *e_dn, down pointer
|
---|
602 | *e_up; up pointer
|
---|
603 | };
|
---|
604 |
|
---|
605 |
|
---|
606 | Score format: E_SIZE2 24 bytes
|
---|
607 | -------------
|
---|
608 |
|
---|
609 | time nn nn nn nn
|
---|
610 | size 06
|
---|
611 | type 0A
|
---|
612 | tuning table number nn
|
---|
613 | -unused- 00
|
---|
614 | bak nn nn nn nn
|
---|
615 | fwd nn nn nn nn
|
---|
616 | dn nn nn nn nn
|
---|
617 | up nn nn nn nn
|
---|
618 |
|
---|
619 |
|
---|
620 | Disk format: 6 bytes
|
---|
621 | ------------
|
---|
622 |
|
---|
623 | type 0A
|
---|
624 | time nn nn nn nn
|
---|
625 | tuning table number nn
|
---|
626 | |
---|
627 | Event type: Group status EV_GRP 11 0B
|
---|
628 | ----------- ------------ ------ -- --
|
---|
629 |
|
---|
630 | OBSOLETE - currently unused
|
---|
631 |
|
---|
632 | struct s_entry {
|
---|
633 |
|
---|
634 | long e_time; time, in frames
|
---|
635 |
|
---|
636 | char e_size; size of entry, in longs: 6 06
|
---|
637 | char e_type; type of entry: 11 0B
|
---|
638 | char e_data1; group number
|
---|
639 | char e_data2; group status
|
---|
640 |
|
---|
641 | struct s_entry *e_bak, backward pointer
|
---|
642 | *e_fwd, forward pointer
|
---|
643 |
|
---|
644 | *e_dn, down pointer
|
---|
645 | *e_up; up pointer
|
---|
646 | };
|
---|
647 |
|
---|
648 |
|
---|
649 | Score format: E_SIZE2 24 bytes
|
---|
650 | -------------
|
---|
651 |
|
---|
652 | time nn nn nn nn
|
---|
653 | size 06
|
---|
654 | type 0B
|
---|
655 | group number nn
|
---|
656 | group status nn
|
---|
657 | bak nn nn nn nn
|
---|
658 | fwd nn nn nn nn
|
---|
659 | dn nn nn nn nn
|
---|
660 | up nn nn nn nn
|
---|
661 |
|
---|
662 |
|
---|
663 | Disk format: 7 bytes
|
---|
664 | ------------
|
---|
665 |
|
---|
666 | type 0B
|
---|
667 | time nn nn nn nn
|
---|
668 | group number nn
|
---|
669 | group status nn
|
---|
670 | |
---|
671 | Event type: Location EV_LOCN 12 0C
|
---|
672 | ----------- -------- ------- -- --
|
---|
673 |
|
---|
674 | struct s_entry {
|
---|
675 |
|
---|
676 | long e_time; time, in frames
|
---|
677 |
|
---|
678 | char e_size; size of entry, in longs: 6 06
|
---|
679 | char e_type; type of entry: 12 0C
|
---|
680 | char e_data1; group number
|
---|
681 | char e_data2; location
|
---|
682 |
|
---|
683 | struct s_entry *e_bak, backward pointer
|
---|
684 | *e_fwd, forward pointer
|
---|
685 |
|
---|
686 | *e_dn, down pointer
|
---|
687 | *e_up; up pointer
|
---|
688 | };
|
---|
689 |
|
---|
690 |
|
---|
691 | Score format: E_SIZE2 24 bytes
|
---|
692 | -------------
|
---|
693 |
|
---|
694 | time nn nn nn nn
|
---|
695 | size 06
|
---|
696 | type 0C
|
---|
697 | group number nn
|
---|
698 | location nn
|
---|
699 | bak nn nn nn nn
|
---|
700 | fwd nn nn nn nn
|
---|
701 | dn nn nn nn nn
|
---|
702 | up nn nn nn nn
|
---|
703 |
|
---|
704 |
|
---|
705 | Disk format: 7 bytes
|
---|
706 | ------------
|
---|
707 |
|
---|
708 | type 0C
|
---|
709 | time nn nn nn nn
|
---|
710 | group number nn
|
---|
711 | location nn
|
---|
712 | |
---|
713 | Event type: Dynamics EV_DYN 13 0D
|
---|
714 | ----------- -------- ------ -- --
|
---|
715 |
|
---|
716 | struct s_entry {
|
---|
717 |
|
---|
718 | long e_time; time, in frames
|
---|
719 |
|
---|
720 | char e_size; size of entry, in longs: 6 06
|
---|
721 | char e_type; type of entry: 13 0D
|
---|
722 | char e_data1; group number
|
---|
723 | char e_data2; dynamics
|
---|
724 |
|
---|
725 | struct s_entry *e_bak, backward pointer
|
---|
726 | *e_fwd, forward pointer
|
---|
727 |
|
---|
728 | *e_dn, down pointer
|
---|
729 | *e_up; up pointer
|
---|
730 | };
|
---|
731 |
|
---|
732 |
|
---|
733 | Score format: E_SIZE2 24 bytes
|
---|
734 | -------------
|
---|
735 |
|
---|
736 | time nn nn nn nn
|
---|
737 | size 06
|
---|
738 | type 0D
|
---|
739 | group number nn
|
---|
740 | dynamics nn
|
---|
741 | bak nn nn nn nn
|
---|
742 | fwd nn nn nn nn
|
---|
743 | dn nn nn nn nn
|
---|
744 | up nn nn nn nn
|
---|
745 |
|
---|
746 |
|
---|
747 | Disk format: 7 bytes
|
---|
748 | ------------
|
---|
749 |
|
---|
750 | type 0D
|
---|
751 | time nn nn nn nn
|
---|
752 | group number nn
|
---|
753 | dynamics nn
|
---|
754 | |
---|
755 | Event type: Analog value EV_ANVL 14 0E
|
---|
756 | ----------- ------------ ------- -- --
|
---|
757 |
|
---|
758 | struct s_entry {
|
---|
759 |
|
---|
760 | long e_time; time, in frames
|
---|
761 |
|
---|
762 | char e_size; size of entry, in longs: 6 06
|
---|
763 | char e_type; type of entry: 14 0E
|
---|
764 | char e_data1; variable and group numbers:
|
---|
765 |
|
---|
766 | 7 43 0
|
---|
767 | vvvvgggg vvvv = variable
|
---|
768 |
|
---|
769 | 0 SM_HTPW Hor Tab / Pitch Wheel
|
---|
770 | 1 SM_VTMW Vrt Tab / Mod Wheel
|
---|
771 | 2 SM_LPBR Long Pot / Breath
|
---|
772 | 3 SM_CTL1 GPC / CV1
|
---|
773 | 4 SM_PED1 Pedal 1
|
---|
774 | 5 SM_KPRS Key Pressure
|
---|
775 |
|
---|
776 | gggg = group
|
---|
777 |
|
---|
778 | char e_data2; -unused-
|
---|
779 |
|
---|
780 | struct s_entry *e_bak, backward pointer
|
---|
781 | *e_fwd, forward pointer
|
---|
782 |
|
---|
783 | *e_dn, value (in 1st 2 bytes)
|
---|
784 | *e_up; -unused-
|
---|
785 | };
|
---|
786 |
|
---|
787 |
|
---|
788 | Score format: E_SIZE2 24 bytes
|
---|
789 | -------------
|
---|
790 |
|
---|
791 | time nn nn nn nn
|
---|
792 | size 06
|
---|
793 | type 0E
|
---|
794 | variable number nn
|
---|
795 | -unused- 00
|
---|
796 | bak nn nn nn nn
|
---|
797 | fwd nn nn nn nn
|
---|
798 | value nn nn
|
---|
799 | -unused- 00 00 00 00 00 00
|
---|
800 |
|
---|
801 |
|
---|
802 | Disk format: 8 bytes
|
---|
803 | ------------
|
---|
804 |
|
---|
805 | type 0E
|
---|
806 | time nn nn nn nn
|
---|
807 | variable number nn
|
---|
808 | value nn nn
|
---|
809 | |
---|
810 | Event type: Analog resolution EV_ANRS 15 0F
|
---|
811 | ----------- ----------------- ------- -- --
|
---|
812 |
|
---|
813 | struct s_entry {
|
---|
814 |
|
---|
815 | long e_time; time, in frames
|
---|
816 |
|
---|
817 | char e_size; size of entry, in longs: 6 06
|
---|
818 | char e_type; type of entry: 15 0F
|
---|
819 | char e_data1; variable and group numbers:
|
---|
820 |
|
---|
821 | 7 43 0 bit usage
|
---|
822 | -------- ---------------
|
---|
823 | vvvvgggg vvvv = variable
|
---|
824 | gggg = group
|
---|
825 |
|
---|
826 | char e_data2; resolution
|
---|
827 |
|
---|
828 | struct s_entry *e_bak, backward pointer
|
---|
829 | *e_fwd, forward pointer
|
---|
830 |
|
---|
831 | *e_dn, down pointer
|
---|
832 | *e_up; up pointer
|
---|
833 | };
|
---|
834 |
|
---|
835 |
|
---|
836 | Score format: E_SIZE2 24 bytes
|
---|
837 | -------------
|
---|
838 |
|
---|
839 | time nn nn nn nn
|
---|
840 | size 06
|
---|
841 | type 0F
|
---|
842 | variable number nn
|
---|
843 | resolution code nn
|
---|
844 | bak nn nn nn nn
|
---|
845 | fwd nn nn nn nn
|
---|
846 | dn nn nn nn nn
|
---|
847 | up nn nn nn nn
|
---|
848 |
|
---|
849 |
|
---|
850 | Disk format: 7 bytes
|
---|
851 | ------------
|
---|
852 |
|
---|
853 | type 0F
|
---|
854 | time nn nn nn nn
|
---|
855 | variable number nn
|
---|
856 | resolution code nn
|
---|
857 | |
---|
858 | Event type: I/O assign EV_ASGN 16 10
|
---|
859 | ----------- ---------- ------- -- --
|
---|
860 |
|
---|
861 | struct s_entry {
|
---|
862 |
|
---|
863 | long e_time; time, in frames
|
---|
864 |
|
---|
865 | char e_size; size of entry, in longs: 6 06
|
---|
866 | char e_type; type of entry: 16 10
|
---|
867 | char e_data1; assignment table number
|
---|
868 | char e_data2; -unused-
|
---|
869 |
|
---|
870 | struct s_entry *e_bak, backward pointer
|
---|
871 | *e_fwd, forward pointer
|
---|
872 |
|
---|
873 | *e_dn, down pointer
|
---|
874 | *e_up; up pointer
|
---|
875 | };
|
---|
876 |
|
---|
877 |
|
---|
878 | Score format: E_SIZE2 24 bytes
|
---|
879 | -------------
|
---|
880 |
|
---|
881 | time nn nn nn nn
|
---|
882 | size 06
|
---|
883 | type 10
|
---|
884 | assignment table number nn
|
---|
885 | -unused- 00
|
---|
886 | bak nn nn nn nn
|
---|
887 | fwd nn nn nn nn
|
---|
888 | dn nn nn nn nn
|
---|
889 | up nn nn nn nn
|
---|
890 |
|
---|
891 |
|
---|
892 | Disk format: 6 bytes
|
---|
893 | ------------
|
---|
894 |
|
---|
895 | type 10
|
---|
896 | time nn nn nn nn
|
---|
897 | assignment table number nn
|
---|
898 | |
---|
899 | Event type: Transposition EV_TRNS 17 11
|
---|
900 | ----------- ------------- ------- -- --
|
---|
901 |
|
---|
902 | struct s_entry {
|
---|
903 |
|
---|
904 | long e_time; time, in frames
|
---|
905 |
|
---|
906 | char e_size; size of entry, in longs: 8 08
|
---|
907 | char e_type; type of entry: 17 11
|
---|
908 | char e_data1; group number
|
---|
909 | char e_data2; -unused-
|
---|
910 |
|
---|
911 | struct s_entry *e_bak, backward pointer
|
---|
912 | *e_fwd, forward pointer
|
---|
913 |
|
---|
914 | *e_dn, down pointer
|
---|
915 | *e_up, up pointer
|
---|
916 |
|
---|
917 | *e_lft, transposition (in 1st 2 bytes)
|
---|
918 | *e_rgt; -unused-
|
---|
919 | };
|
---|
920 |
|
---|
921 |
|
---|
922 | Score format: E_SIZE3 32 bytes
|
---|
923 | -------------
|
---|
924 |
|
---|
925 | time nn nn nn nn
|
---|
926 | size 08
|
---|
927 | type 11
|
---|
928 | group number nn
|
---|
929 | -unused- 00
|
---|
930 | bak nn nn nn nn
|
---|
931 | fwd nn nn nn nn
|
---|
932 | dn nn nn nn nn
|
---|
933 | up nn nn nn nn
|
---|
934 | transposition nn nn
|
---|
935 | -unused- 00 00 00 00 00 00
|
---|
936 |
|
---|
937 |
|
---|
938 | Disk format: 8 bytes
|
---|
939 | ------------
|
---|
940 |
|
---|
941 | type 11
|
---|
942 | time nn nn nn nn
|
---|
943 | group number nn
|
---|
944 | transposition nn nn
|
---|
945 | |
---|
946 | Event type: Repeat EV_REPT 18 12
|
---|
947 | ----------- ------ ------- -- --
|
---|
948 |
|
---|
949 | OBSOLETE - currently unused
|
---|
950 |
|
---|
951 | struct n_entry {
|
---|
952 |
|
---|
953 | long e_time; time, in frames
|
---|
954 |
|
---|
955 | char e_size; size of entry, in longs: 5 05
|
---|
956 | char e_type; type of entry: 18 12
|
---|
957 | char e_note; repeat count
|
---|
958 | char e_group; -unused-
|
---|
959 |
|
---|
960 | struct s_entry *e_bak, backward pointer
|
---|
961 | *e_fwd; forward pointer
|
---|
962 |
|
---|
963 | short e_vel; -unused-
|
---|
964 | short e_data4; -unused-
|
---|
965 | };
|
---|
966 |
|
---|
967 |
|
---|
968 | Score format: E_SIZE1 20 bytes
|
---|
969 | -------------
|
---|
970 |
|
---|
971 | time nn nn nn nn
|
---|
972 | size 05
|
---|
973 | type 12
|
---|
974 | repeat count nn
|
---|
975 | -unused- 00
|
---|
976 | bak nn nn nn nn
|
---|
977 | fwd nn nn nn nn
|
---|
978 | -unused- 00 00 00 00
|
---|
979 |
|
---|
980 |
|
---|
981 | Disk format: 6 bytes
|
---|
982 | ------------
|
---|
983 |
|
---|
984 | type 12
|
---|
985 | time nn nn nn nn
|
---|
986 | repeat count nn
|
---|
987 | |
---|
988 | Event type: Punch in/out EV_PNCH 19 13
|
---|
989 | ----------- ------------ ------- -- --
|
---|
990 |
|
---|
991 | struct n_entry {
|
---|
992 |
|
---|
993 | long e_time; time, in frames
|
---|
994 |
|
---|
995 | char e_size; size of entry, in longs: 5 05
|
---|
996 | char e_type; type of entry: 19 13
|
---|
997 | char e_note; punch in/out code (0 = out, 1 = in)
|
---|
998 | char e_group; -unused-
|
---|
999 |
|
---|
1000 | struct s_entry *e_bak, backward pointer
|
---|
1001 | *e_fwd; forward pointer
|
---|
1002 |
|
---|
1003 | short e_vel; -unused-
|
---|
1004 | short e_data4; -unused-
|
---|
1005 | };
|
---|
1006 |
|
---|
1007 |
|
---|
1008 | Score format: E_SIZE1 20 bytes
|
---|
1009 | -------------
|
---|
1010 |
|
---|
1011 | time nn nn nn nn
|
---|
1012 | size 05
|
---|
1013 | type 13
|
---|
1014 | punch in/out code nn
|
---|
1015 | -unused- 00
|
---|
1016 | bak nn nn nn nn
|
---|
1017 | fwd nn nn nn nn
|
---|
1018 | -unused- 00 00 00 00
|
---|
1019 |
|
---|
1020 |
|
---|
1021 | Disk format: 6 bytes
|
---|
1022 | ------------
|
---|
1023 |
|
---|
1024 | type 13
|
---|
1025 | time nn nn nn nn
|
---|
1026 | punch in/out code nn
|
---|
1027 | |
---|
1028 | Event type: Polyphonic pressure EV_PRES 20 14
|
---|
1029 | ----------- ------------------- ------- -- --
|
---|
1030 |
|
---|
1031 | OBSOLETE - currently unused
|
---|
1032 |
|
---|
1033 | struct n_entry {
|
---|
1034 |
|
---|
1035 | long e_time; time, in frames
|
---|
1036 |
|
---|
1037 | char e_size; size of entry, in longs: 5 05
|
---|
1038 | char e_type; type of entry: 20 14
|
---|
1039 | char e_note; key
|
---|
1040 | char e_group; polyphonic pressure
|
---|
1041 |
|
---|
1042 | struct s_entry *e_bak, backward pointer
|
---|
1043 | *e_fwd; forward pointer
|
---|
1044 |
|
---|
1045 | short e_vel; -unused-
|
---|
1046 | short e_data4; -unused-
|
---|
1047 | };
|
---|
1048 |
|
---|
1049 |
|
---|
1050 | Score format: E_SIZE1 20 bytes
|
---|
1051 | -------------
|
---|
1052 |
|
---|
1053 | time nn nn nn nn
|
---|
1054 | size 05
|
---|
1055 | type 14
|
---|
1056 | key number nn
|
---|
1057 | polyphonic pressure nn
|
---|
1058 | bak nn nn nn nn
|
---|
1059 | fwd nn nn nn nn
|
---|
1060 | -unused- 00 00 00 00
|
---|
1061 |
|
---|
1062 |
|
---|
1063 | Disk format: 7 bytes
|
---|
1064 | ------------
|
---|
1065 |
|
---|
1066 | type 14
|
---|
1067 | time nn nn nn nn
|
---|
1068 | key number nn
|
---|
1069 | polyphonic pressure nn
|
---|
1070 | |
---|
1071 | Event type: Score end EV_FINI 21 15
|
---|
1072 | ----------- --------- ------- -- --
|
---|
1073 |
|
---|
1074 | struct n_entry {
|
---|
1075 |
|
---|
1076 | long e_time; time, in frames
|
---|
1077 |
|
---|
1078 | char e_size; size of entry, in longs: 5 05
|
---|
1079 | char e_type; type of entry: 21 15
|
---|
1080 | char e_note; score number
|
---|
1081 | char e_group; -unused-
|
---|
1082 |
|
---|
1083 | struct s_entry *e_bak, backward pointer
|
---|
1084 | *e_fwd; forward pointer
|
---|
1085 |
|
---|
1086 | short e_vel; -unused-
|
---|
1087 | short e_data4; -unused-
|
---|
1088 | };
|
---|
1089 |
|
---|
1090 |
|
---|
1091 | Score format: E_SIZE1 20 bytes
|
---|
1092 | -------------
|
---|
1093 |
|
---|
1094 | time nn nn nn nn
|
---|
1095 | size 05
|
---|
1096 | type 15
|
---|
1097 | score number nn
|
---|
1098 | -unused- 00
|
---|
1099 | bak nn nn nn nn
|
---|
1100 | fwd nn nn nn nn
|
---|
1101 | -unused- 00 00 00 00
|
---|
1102 |
|
---|
1103 |
|
---|
1104 | Disk format: 6 bytes
|
---|
1105 | ------------
|
---|
1106 |
|
---|
1107 | type 15
|
---|
1108 | time nn nn nn nn
|
---|
1109 | score number nn
|
---|
1110 | |
---|
1111 | Event type: Channel pressure EV_CPRS 22 16
|
---|
1112 | ----------- ---------------- ------- -- --
|
---|
1113 |
|
---|
1114 | OBSOLETE -- currently unused
|
---|
1115 |
|
---|
1116 | struct n_entry {
|
---|
1117 |
|
---|
1118 | long e_time; time, in frames
|
---|
1119 |
|
---|
1120 | char e_size; size of entry, in longs: 5 05
|
---|
1121 | char e_type; type of entry: 22 16
|
---|
1122 | char e_note; channel pressure
|
---|
1123 | char e_group; group number
|
---|
1124 |
|
---|
1125 | struct s_entry *e_bak, backward pointer
|
---|
1126 | *e_fwd; forward pointer
|
---|
1127 |
|
---|
1128 | short e_vel; -unused-
|
---|
1129 | short e_data4; -unused-
|
---|
1130 | };
|
---|
1131 |
|
---|
1132 |
|
---|
1133 | Score format: E_SIZE1 20 bytes
|
---|
1134 | -------------
|
---|
1135 |
|
---|
1136 | time nn nn nn nn
|
---|
1137 | size 05
|
---|
1138 | type 16
|
---|
1139 | channel pressure nn
|
---|
1140 | group number nn
|
---|
1141 | bak nn nn nn nn
|
---|
1142 | fwd nn nn nn nn
|
---|
1143 | -unused- 00 00 00 00
|
---|
1144 |
|
---|
1145 |
|
---|
1146 | Disk format: 7 bytes
|
---|
1147 | ------------
|
---|
1148 |
|
---|
1149 | type 16
|
---|
1150 | time nn nn nn nn
|
---|
1151 | group number nn
|
---|
1152 | channel pressure nn
|
---|
1153 | |
---|
1154 | Event type: Bar marker EV_BAR 23 17
|
---|
1155 | ----------- --------- ------ -- --
|
---|
1156 | struct n_entry {
|
---|
1157 |
|
---|
1158 | long e_time; time, in frames
|
---|
1159 |
|
---|
1160 | char e_size; size of entry, in longs: 5 05
|
---|
1161 | char e_type; type of entry: 23 17
|
---|
1162 | char e_note; -unused-
|
---|
1163 | char e_group; -unused-
|
---|
1164 |
|
---|
1165 | struct s_entry *e_bak, backward pointer
|
---|
1166 | *e_fwd; forward pointer
|
---|
1167 |
|
---|
1168 | short e_vel; -unused-
|
---|
1169 | short e_data4; -unused-
|
---|
1170 | };
|
---|
1171 |
|
---|
1172 |
|
---|
1173 | Score format: E_SIZE1 20 bytes
|
---|
1174 | -------------
|
---|
1175 |
|
---|
1176 | time nn nn nn nn
|
---|
1177 | size 05
|
---|
1178 | type 17
|
---|
1179 | -unused- 00 00
|
---|
1180 | bak nn nn nn nn
|
---|
1181 | fwd nn nn nn nn
|
---|
1182 | -unused- 00 00 00 00
|
---|
1183 |
|
---|
1184 |
|
---|
1185 | Disk format: 5 bytes
|
---|
1186 | ------------
|
---|
1187 |
|
---|
1188 | type 17
|
---|
1189 | time nn nn nn nn
|
---|
1190 | |
---|
1191 | Event type: Next EV_NEXT 24 18
|
---|
1192 | ----------- ---- ------- -- --
|
---|
1193 |
|
---|
1194 | struct n_entry {
|
---|
1195 |
|
---|
1196 | long e_time; time, in frames
|
---|
1197 |
|
---|
1198 | char e_size; size of entry, in longs: 5 05
|
---|
1199 | char e_type; type of entry: 24 18
|
---|
1200 | char e_note; -unused-
|
---|
1201 | char e_group; -unused-
|
---|
1202 |
|
---|
1203 | struct s_entry *e_bak, backward pointer
|
---|
1204 | *e_fwd; forward pointer
|
---|
1205 |
|
---|
1206 | short e_vel; -unused-
|
---|
1207 | short e_data4; -unused-
|
---|
1208 | };
|
---|
1209 |
|
---|
1210 |
|
---|
1211 | Score format: E_SIZE1 20 bytes
|
---|
1212 | -------------
|
---|
1213 |
|
---|
1214 | time nn nn nn nn
|
---|
1215 | size 05
|
---|
1216 | type 18
|
---|
1217 | -unused- 00
|
---|
1218 | -unused- 00
|
---|
1219 | bak nn nn nn nn
|
---|
1220 | fwd nn nn nn nn
|
---|
1221 | -unused- 00 00 00 00
|
---|
1222 |
|
---|
1223 |
|
---|
1224 | Disk format: 5 bytes
|
---|
1225 | ------------
|
---|
1226 |
|
---|
1227 | type 18
|
---|
1228 | time nn nn nn nn
|
---|
1229 | |
---|
1230 | Event Formats on Disk
|
---|
1231 | ---------------------
|
---|
1232 |
|
---|
1233 | All events are stored on disk in compressed form as:
|
---|
1234 |
|
---|
1235 | +0 1 byte type code,
|
---|
1236 |
|
---|
1237 | +1 4 bytes time (in absolute frames),
|
---|
1238 |
|
---|
1239 | +5 0 to 4 bytes parameter data.
|
---|
1240 |
|
---|
1241 |
|
---|
1242 | Type Format on disk
|
---|
1243 | -------- ------------------------------
|
---|
1244 | EV_NULL -- not stored on disk --
|
---|
1245 | EV_SCORE 01 tt tt tt tt nn
|
---|
1246 | EV_SBGN 02 tt tt tt tt ss
|
---|
1247 | EV_SEND 03 tt tt tt tt ss
|
---|
1248 | EV_INST 04 tt tt tt tt gg ii
|
---|
1249 | EV_NBEG 05 tt tt tt tt nn gg vv vv
|
---|
1250 | EV_NEND 06 tt tt tt tt nn gg vv vv
|
---|
1251 | EV_STOP 07 tt tt tt tt
|
---|
1252 | EV_INTP 08 tt tt tt tt ii ii
|
---|
1253 | EV_TMPO 09 tt tt tt tt vv
|
---|
1254 | EV_TUNE 0A tt tt tt tt nn
|
---|
1255 | EV_GRP 0B tt tt tt tt gg ss (OBSOLETE)
|
---|
1256 | EV_LOCN 0C tt tt tt tt gg ll
|
---|
1257 | EV_DYN 0D tt tt tt tt gg dd
|
---|
1258 | EV_ANVL 0E tt tt tt tt vg vv vv
|
---|
1259 | EV_ANRS 0F tt tt tt tt vg rr
|
---|
1260 | EV_ASGN 10 tt tt tt tt nn
|
---|
1261 | EV_TRNS 11 tt tt tt tt gg cc cc
|
---|
1262 | EV_REPT 12 tt tt tt tt cc (OBSOLETE)
|
---|
1263 | EV_PNCH 13 tt tt tt tt cc
|
---|
1264 | EV_PRES 14 tt tt tt tt kk pp (OBSOLETE)
|
---|
1265 | EV_FINI 15 tt tt tt tt ss
|
---|
1266 | EV_CPRS 16 tt tt tt tt gg pp (OBSOLETE)
|
---|
1267 | EV_BAR 17 tt tt tt tt
|
---|
1268 | EV_NEXT 18 tt tt tt tt
|
---|