SEP (PS Multi-Track Sequence Data)
Package of several SEQ data files managed as one file.
| ID | SEQp |
|---|
Overview
A SEP is a package that contains several SEQ data files, so that the SEQ files can be managed as one file. A program accesses one SEQ in the package by the ID number returned when the SEP is opened and by the SEQ number. The access functions are described in the Run-Time Library Reference.1
Structure
The SEP opens with an ID and a version. Each SEQ in the package then follows with its own SEQ ID, timing fields and data size, and its score data runs to an end-of-SEQ marker. The fields and their byte counts are shown below.2
| Field | Byte count |
|---|---|
| ID (SEQp) | 4 |
| Version | 2 |
| Field | Byte count |
|---|---|
| SEQ ID | 2 |
| Resolution of quarter note | 2 |
| Tempo | 3 |
| Rhythm | 2 |
| Data size | 4 |
| Score data | Any |
| End of SEQ | 3 |
Figure 200 of the manual gives the tempo field as 3 bytes for SEQ 0 but 2 bytes for SEQ 1. The table above follows SEQ 0.2
References
Categories: File formats