Sappy 2006: Hacker Stuff |
Data formats
Samples
Type | Name | Description |
---|---|---|
u16 | type | Not used |
u16 | stat | 0x0000 for oneshot, 0x4000 for forward loop |
u32 | freq | "Normal" frequency << 10 |
u32 | loop | Loop start position in samples |
u32 | size | Total number of samples |
s8 | data[] | Size+1 samples in total. Last byte is zero for one-shots, same as loop pointer for looped samples. |
Music headers
Type | Name | Description |
---|---|---|
u8 | NumTrks | Number of tracks in the song |
u8 | NumBlks | Number of blocks (?) |
u8 | Priority | |
u8 | Reverb | |
u32 | Voicegroup | Pointer to instrument bank |
u32... | Track | Pointers to tracks |