19,705
edits
mNo edit summary  | 
				m (please don't use first-level headers in articles, those are the same level used by page titles)  | 
				||
| Line 2: | Line 2: | ||
=dat=  | ==.dat==  | ||
There are 2 different formats used by the SNDD files.  | There are 2 different formats used by the SNDD files.  | ||
==PC retail==  | ===PC retail===  | ||
Below is the dat file part used in the PC retail version.  | Below is the .dat file part used in the PC retail version.  | ||
[[image:sndd_all.gif]]  | [[image:sndd_all.gif]]  | ||
| Line 28: | Line 28: | ||
----  | ----  | ||
==PC demo and Mac==  | ===PC demo and Mac===  | ||
The Mac version and the PC demo version use a simpler format.  | The Mac version and the PC demo version use a simpler format.  | ||
It appears that there is no support for different sample rates (all sounds are sampled at 22050 Hz).  | It appears that there is no support for different sample rates (all sounds are sampled at 22050 Hz).  | ||
| Line 50: | Line 50: | ||
----  | ----  | ||
----  | ----  | ||
=raw=  | ==raw==  | ||
The raw data part of a SNDD file contains the actual audio samples without any other headers.  | The raw data part of a SNDD file contains the actual audio samples without any other headers.  | ||
==export and import==  | ===export and import===  | ||
To create a wav/aif file one needs to write a file header like below and then write the contents of the raw data part.  | To create a wav/aif file one needs to write a file header like below and then write the contents of the raw data part.  | ||
===WAV files===  | ====WAV files====  | ||
*Write "RIFF"  | *Write "RIFF"  | ||
*add the size of the part in the raw file + 70 bytes  | *add the size of the part in the raw file + 70 bytes  | ||
| Line 83: | Line 83: | ||
----  | ----  | ||
===AIF files===  | ====AIF files====  | ||
*Write "FORM"  | *Write "FORM"  | ||
*add the size of the part in the raw file + 50 bytes  | *add the size of the part in the raw file + 50 bytes  | ||