-
Notifications
You must be signed in to change notification settings - Fork 7
File Formats: MUS
xmeadow edited this page Mar 13, 2026
·
1 revision
Notes by Aaron Bishop (Dunlar)
About 3840 notes in a 3 minute track. About 30k excluding samples.
| Field | Size | Notes |
|---|---|---|
| Header string | 16 bytes | e.g. "32 INSTRUMENTS " (up to 256 instruments) |
| For each instrument: | ||
| Sound file name | 8 bytes | e.g. "_DRUM4 "
|
| Null terminator | 1 byte | |
| Tempo | 1 byte | Instrument 0 only |
| Intro time | 1 byte | Instrument 0 only |
| Fade out time | 1 byte | For looped instruments (FF = infinite loop, only done first time through file) |
| Loop start | 3 bytes | For looped instruments |
| Note count string | 16 bytes | e.g. "810 NOTES "
|
| For each note (in play order): | ||
| Time | 2 bytes | In units of 1/4096 sec |
| Duration | 2 bytes | In units of 1/4096 sec |
| Instrument | 1 byte | |
| Volume | 1 byte | |
| Pitch | 1 byte | |
| Pan | 1 byte |