home *** CD-ROM | disk | FTP | other *** search
- **********************************************************************
- * This following section of text was accidentally left of out the *
- * Notator-X users manual, Appendix C. It fits between the sections *
- * "The format of the chunks" & "The standard event structure". *
- **********************************************************************
-
-
-
-
- A chunk starts with a four byte header eg. "VRSN". Then follows a LONG
- WORD which specifies the length of the chunk in bytes. (Not including
- the 4 byte header or the 4 byte length).
-
-
- A quick note about the format of the following documentation:
- If the symbol "0x" is displayed preciding a value, this means that
- the following value in Hexadecimal.
-
- The inch size measurments are stored in a UWORD value. The value
- is multiplied by 100 to make it into an interger. Eg:A measurement
- of 2.5inches is stored as 250 or 0x00FA.
-
-
-
- VRSN
- ~~~~
- This structure is used to inform the module what version of Notator-X
- was used to create this file, and what version of the save module was
- used to save it. This is intended for future expansions and should be
- saved as the first chunk.
- {
- UWORD = Notator-X program version. Eg. 0x114 means 1.14
- UWORD = File module version. Release 1 of Notator-X uses 0x104
- }
-
-
-
- SSBA
- ~~~~
- {
- UWORD = Smallest Staff Gap for Staff nn
- UBYTE = Link and Brace Status for Staff nn
- UBYTE = Pad
- }
- The structure is saved 18 times, 1 for each staff. Therefore the chunk
- length is : 18 * (4 bytes per structure) = 72 bytes long.
-
- Link Status values in binary (x means not used):
- Staff Not Linked = xxxxxx00
- Top of Link = xxxxxx01
- Middle of Link = xxxxxx10
- End of Link = xxxxxx11
- Brace None = xxxx00xx
- Brace Straight = xxxx01xx
- Brace Curly = xxxx10xx
-
-
-
- MSPL
- ~~~~
- The master page layout structure is used to specify the size of all
- the pages and the master number of page setting.
- {
- UWORD = Paper Width in Inches : Eg. 800 means 8.00 inches
- UWORD = Paper Height
- UWORD = Paper X Dots per inch. (Depends on the printer)
- UWORD = Paper Y Dots per inch.
- UWORD = Image Size
- UWORD = Printer Density
- UWORD = Master number of staves per group
- UWORD = Smallest Staff Gap - Inches * 100
- UWORD = Smallest Next Set of staves gap - Inches * 100
- UWORD = Lyrics assigned to Staff (0-17)
- UWORD = Lyrics offset from bottom of staff - Inches * 100
- UBYTE = Show Lyrics (0 = NO)
- UBYTE = Editing Lyric Verse (0-4)
- CHAR[30]= Printer's Name
- }
- The image sizes are : 0 = Miniture, 1 = Normal, 2 = Large.
- The print density is in the range of 1-7.
-
-
-
- MICH
- ~~~~
- {
- UBYTE = Midi channel for track 1 : A midi channel is 0-15
- ......
- UBYTE = Midi channel for track 36
- }
-
-
-
- TKNM
- ~~~~
- {
- UBYTE = Show Track Names ( 0 = NO)
- UBYTE = Show Track Name left ( 0 = LEFT : 1 = RIGHT)
- CHAR[40] = Name for track 1
- ......
- CHAR[40] = Name for track 18
- }
-
-
-
- PLYT
- ~~~~
- {
- UWORD = Page Number
- UWORD = Number of staves drawn on this page
- UWORD = Top Margin
- UWORD = Bottom Margin
- UWORD = Left Margin
- UWORD = Right Margin
- UWORD = Display Header / Footer Status
-
- .This is then followed by the number of staff structures specified in
- the Number of staves variable specified above.
-
- * A staff structure *
- {
- UWORD = X1 position of staff
- UWORD = X2 position of staff
- UWORD = Y position of staff
- }
-
-
-
- TMSG
- ~~~~
- {
- UWORD = Bar Number
- UBYTE = Time Signature top number
- UBYTE = Time Signature bottom number
- }
-
-
-
- KYSG
- ~~~~
- {
- UWORD = Bar Number
- UBYTE = Track Number
- UBYTE = Key Signature
- }
- The key signature values are:
- 1-7 = Sharps from to 7 of them
- 8 = C Major
- 9-15 = Flats from 1 to 7
-
-
-
- [B] TKAS [N]
- {
- UBYTE, UBYTE = Staff 1's Track A and B
- .......
- .......
- UBYTE, UBYTE = Staff 18's Track A and B
-
- }
- Its length is 18 tracks * 2 bytes per track = 36 bytes.
- If bit 7 of the first byte of the track number of the desired track
- is set then the staff will also display the track B. A track number
- is from 0-35.
-
-
-
- BARS
- ~~~~
- {
- UWORD = Bar Number
- UBYTE = Bar Status
- UBYTE = UnUsed
- }
- A Bars status is only saved if the status is different from the
- previous bar. The status for bar 1 is always saved.
-
- Bar Status bit defs:
- Bit 0 = First Time Ending
- Bit 1 = Second Time Ending
- Bit 2 = Third Time Ending
- Bit 3 = Repeat Start
- Bit 4 = Repeat End
- Bit 5 = End Bar Line
- Bit 6 = Double Bar Line
- Bit 7 = Display Bar Number
-
-
-
- EVTL
- ~~~~
- {
- UWORD = Track Number
- Plus a continual list of the event data. See standard event data..
- }
-
-
-
- FRAM
- ~~~~
- A list of all the frame structures is saved.
-
-
-
- LYRV
- ~~~~
- This structure is used to store a verse for the lyrics. Notator-X will
- currently only print up to 5 verses
- {
- UWORD = Verse Number
- CHAR[] = Verse Text
- }
- The length of the text is got from the chunk's length - 2
-
-
-
- HDFT
- ~~~~
- This structure is used to store the headers and footers text and
- position.
- {
- UWORD = Name of structure
- UWORD = X Offset (inches)
- UWORD = Y Offset (inches)
- UWORD = AscII Length
- CHAR[] = Text
- }
- Following are the currently defined structure meanings :
- Header Left = HL
- Header Centre = HC
- Header Right = HR
- Footer Left = FL
- Footer Centre = FC
- Footer Right = FR
-
-
-
- REPT
- ~~~~
- {
- UWORD = Segno's Bar number
- UWORD = Dal Segno's Bar Number
- UWORD = Dal Segno al Coda's Bar Number
- UWORD = To Coda Bar Number
- UWORD = Segno / Coda etc.. Y Offset
- UWORD = First 6 Third Repeat Endings Y Offset
- CHAR[40] = First Time Ending Text. Normally "1."
- CHAR[40] = Second Time Ending Text
- CHAR[40] = Third Time Ending Text
- }
-
-