Wav Header Aif Header
In the Mac version Oni uses the AIFC sound format. The header of this format is detailed below. Note the Big Endian order.
| Offset |
Type |
Raw Hex |
Value |
Description
|
| AIFC format header (black outline)
|
| 0x10 |
int32 |
00 00 00 16 |
22 |
size of the following complete header part in bytes
|
| 0x14 |
int16 |
00 01 |
1 |
number of channels (1 = mono)
|
| 0x16 |
int32 |
00 00 01 3F |
319 |
|
| 0x1A |
int16 |
00 10 |
16 |
bits per sample
|
| 0x1C |
float80 |
40 0D AC... |
22050 |
samples per second (a.k.a. "frequency" or "sample rate")
(it's an 80 bit "IEEE Standard 754" floating point number)
|
| 0x26 |
char[4] |
69 6D 61 34 |
ima4 |
compression type
|
- Note
- The Mac versions use only one sample rate: 22.05 kHz.
- The number of channels is specified in the .dat part.
- Not sure for the "bits per sample" and "sample frame".
Back to Mac SNDD (.dat part)