The header contains one of this structure for each track Size of the final block with padding in bytes Size of the final block without padding in bytes
The total number of interlaced blocks in the ADPCM data. Note that this is not the beginning of the DATA chunk. Part 3 contains the information needed to decode the ADPCM audio, including the ADPCM coefficients, and history samples.Īny offsets in the HEAD chunk are relative to offset 0x08 in the HEAD chunk unless otherwise noted.Ībsolute offset to the beginning of the ADPCM data. Part 2 defines the tracks in the file, and contains volume and panning information for each of them. Part 1 contains general information about the file such as loop information, sample rate, and data needed to deinterleave the audio stream. The HEAD chunk contains information about the brstm file, including sample rate, loop information, volume, panning, and information on each of the ADPCM streams. Byte Order Mark (BOM), usually 0xFE 0xFF for big endian.