Wav Header

Oni uses in the PC version the ADPCM wav format. The header of this format is explained below.

HexTranslationMeaning
Below follows the basic wav format header.
08 00 00 008size of the following complete header part in bytes; (it seems that Oni uses only the following first 8 bytes, though the complete size of the header is 50 bytes)
02 002format ID (2 = ADPCM format)
01 001number of channels (1 = mono)
22 56 00 0022050samples per second; (also known as "frequency" or "sample rate")
93 2B 00 0011155
00 02512block alignment; used for buffer estimation; (the block alignment of 22050 samples per second is always 512 bytes)
04 004bits per sample
Below follows the special extended ADPCM wav format header.
20 0032size of the following extended information part in bytes
F4 031012
07 007number of the following coefficient sets
00 01 00 00256, 0The 14 coefficients are standard and are used by the wave to play.

The seven coefficient sets are preset. They must appear in this order.

00 02 00 FF512, -256
00 00 00 000, 0
C0 00 40 00192, 64
F0 00 00 00240, 0
CC 01 30 FF460, -208
88 01 15 FF392, -232


Back to SNDD File

Back to main page