Overview
This chapter describes sc68 file format.
This format is based upon a chunk policy that makes it highly
evolutif.
The file structure is composed of a file header followed
by a variable number of chunk as describe in the
Structure table.
File Header
sc68 file header is a simple identification string. Its length is
exactly 56 bytes including the trailing '0' :
"SC68 Music-file / (c) (BeN)jamin Gerard / SasHipA-Dev "
Chunks
Chunk structure is composed of an header obviouly named
Chunk-Header which is followed directly by
data so named Chunk-Data.
Chunk-types
Chunk-types does not really exist, but have been added here for
convenience. As many Chunks-Data of different Chunk-Id have
been encoded in the same way, a Chunk-types defines a
Chunk-Data format.
Chunk definitions
The sc68 chunks table reports all kind of chunks currently used by
sc68 files.
Any other chunk is skipped by the sc68 file loader.
Order of chunk could be important.
It is the case for all tag Chunk-Type.
A sc68 disk must begin by a 'SC68' chunk.
Each track of this disk must begin by a 'SCMU' chunk.
Obviously the first track must have a 'SCDA' chunk.
Notice that loader failed if sc68 disk has no track.
|