MuseData stage 2 files

From CCARH Wiki
(Redirected from Stage 2)
Jump to navigation Jump to search

MuseData stage 2 files are MuseData files which contain graphical music-notation elements. MuseData stage 1 files do not contain notational elements.

Official Specification for MuseData stage 2 files:

The MuseData stage 2 file is the primary format for storing Musical data at CCARH. In order to create printable music notation, stage2 files are first converted into i-files using the autoset program.

Organization in the MuseData database

For each musical work in the MuseData database, a directory (folder, library) called stage1 or stage2 will be found. Within that directory will be subdirectories for each movement of the musical work (typically given names such as 01 for movement 1, 02 for movemenet 2, etc.). Within these subdirectories, MuseData files are found. Each files represent and encoding of a separate instrumental part (or sometimes sets of instruments sharing the same staff). The files are numbered according to the part number in the score, such as 01 for the first part, 02 for the second part, and so on. When the MuseData files have variants in the data for different applications, a single-letter prefix is typically added to the part number in the filename. For example s01 would be the score-based version of the instrumental part, while p01 would be the part-based version of the instrumental part.

Multi-part MuseData stage2 files

To facilitate processing and distribution of MuseData for a particular movement (not at the work level), multiple stage2 files can be concatenated together. To separate one file from the next add a line containing the text "/eof" between each file. The files can be placed in any order (since multiple ordering arrangements may be present in the data). The very last two lines of the multi-file stage2 file is the eof marker plus a line with two slashes:


The last line is required, and is used to indicate to programs such as muse2ps that the end of the data has occurred. In the future, this marker may be used to separate movements from each other in a multi-movement stage2 work file.