Jump to content

Au file format

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 195.186.148.xxx (talk) at 23:19, 28 November 2001. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

A simple audio file format that consists of a header of 6 32-bit words and then the data. The format was introduced by Sun.



longwordfielddescription/ content
0magic number the value 0x2e736e64 (four ASCII characters ".snd")
1data offset the offset to the data in bytes. The minimum valid number is 24 (decimal).
2data sizedata size in bytes. If unknown, the value 0xffffffff should be used.
3encodingthe data encoding format:
value	format 
1		8-bit ISDN u-law
2		8-bit linear PCM [REF-PCM]
3		16-bit linear PCM
4		24-bit linear PCM
5		32-bit linear PCM
6		32-bit IEEE floating point
7		64-bit IEEE floating point
23		8-bit ISDN u-law compressed

using the CCITT G.721 ADPCM

voice data encoding scheme.

4sample ratethe number of samples/second (e.g., 8000)
5channelsthe number of interleaved channels (e.g., 1)