Previous File TypeSNDD FILENext File Type
Sound Data - The credit for this site goes to Ian Patterson's OniTools 1.51 source code.


PC Sound Data     Mac Sound Data


HexTranslationMeaning
01 D6 08 00226202262-comguy_dth2.aif.SNDD
01 00 00 063level 3
01 00 00 001number of channels (1 = mono)
37 0055duration in 1/60 seconds
5E 2A 00 001084610846 bytes; size of the part in the raw file
00 B1 01 0001 B1 00at this position starts the part in the raw file
AD DEdeadnot used

So, how to create playable aif files? Look at the pic below. It shows the beginning of the comguy_dth2.aif sound.

HexTranslationMeaning
Below follows the complete aif format header.
46 4F 52 4DFORMidentification, that this file uses the "EA IFF 85" standard
00 00 2A 901089610896 bytes; size of the file from the the green coloured field to the end (= size of the part in the raw file + 50 bytes)
41 49 46 43AIFCidentification, that this file is a AIFC file (compressed aif file)
43 4F 4D 4DCOMMidentification, that the aif format header follows
  aif header
53 53 4E 44SSNDidentification, that the wav data follows
00 00 2A 661085410854 bytes; size of the file from the the light blue coloured field to the end (= size of the part in the raw file + 8 bytes)
00 00 00 000offset; determines where the first sample in the data starts; in Oni it's always zero
00 00 00 000block size; used in conjunction with offset for block-aligning data; in Oni it's always zero

Just write "FORM", add the size of the part in the raw file + 50 bytes, write "AIFC", write "COMM ", add the aif header + calculate its sample rate, write "SSND", add the size of the part in the raw file + 8 bytes, add 8 zero bytes, add the raw file data and save it as an aif file.


PC Sound Data     Mac Sound Data

Previous File TypeBack to File TypesNext File Type

Back to main page