-
Notifications
You must be signed in to change notification settings - Fork 7
Data format
Simon Larsen edited this page Jul 29, 2019
·
6 revisions
As of aa0864d this information is incorrect. The layout has been changed to accommodate reuse of macro data. This page should be updated to reflect these changes.
A song is stored as a 8-bit unsigned byte array containing first a header, then the data for channel 1, channel 2, etc.
Section | Size | Description |
---|---|---|
Header | 8 bytes | Meta data and layout information |
Wave data | n*16 bytes | Wave data definitions |
Channel 1 data | Variable size | Data for channel 1 |
Channel 2 data | Variable size | Data for channel 2 |
Channel 3 data | Variable size | Data for channel 3 |
Channel 4 data | Variable size | Data for channel 4 |
Offset | Size | Description |
---|---|---|
0 | 2 bytes | Data start for channel 1 |
2 | 2 bytes | Data start for channel 2 |
4 | 2 bytes | Data start for channel 3 |
6 | 2 bytes | Data start for channel 4 |