Skip to content
redtide edited this page Mar 21, 2021 · 2 revisions
Offset Type Description
0 Header chunk See EXS header chunk
[next] Data chunks Sequence of chunks of any kind except header

EXS header chunk

Offset Type Description
0 u32 Signature $00000101 in little-endian, or reverse
4 u32 Size of chunk minus 84 bytes

EXS zone chunk

Offset Type Description
0 u32 Signature $01000101 in little-endian, or reverse
4 u32 Size of chunk minus 84 bytes
84 u8 Flags (or combination: 1=pitch track, 2=one shot)
85 u8 Root note
86 s8 Fine tune
87 s8 Pan
88 s8 Volume adjust
90 u8 Start note
91 u8 End note
93 u8 Minimum velocity
94 u8 Maximum velocity
96 s32 Sample start
100 s32 Sample end
104 s32 Loop start
108 s32 Loop end
117 u8 Loop
172 s32 Group (or -1)
176 u32 Sample index

EXS group chunk

Offset Type Description
0 u32 Signature $02000101 in little-endian, or reverse
4 u32 Size of chunk minus 84 bytes
86 u8 Polyphony
157 u8 Trigger (1=trigger on release)
158 u8 Output
164 s32 Sequence

EXS sample chunk

Offset Type Description
0 u32 Signature $03000101 in little-endian, or reverse
4 u32 Size of chunk minus 84 bytes
88 s32 Length
92 s32 Rate
96 u8 Bit depth

EXS param chunk

Offset Type Description
0 u32 Signature $04000101 in little-endian, or reverse
4 u32 Size of chunk minus 84 bytes

Opcode Support Table

Importing Formats

Clone this wiki locally