The SUNAU8 format defines a subset of the ``.au'' and ``.snd'' audio file format used by Sun and NeXT. An SUNAU8 speech data file consists of a header followed by 8 bit law encoded speech samples. The header is 28 bytes and contains the following fields, each of which is 4 bytes
magicNumber - magic number 0x2e736e64No default byte ordering is assumed for this format. If the data source is known to be different to the machine being used, then the environment variable BYTEORDER must be set appropriately. Note that when used on Sun Sparc machines with 16 bit audio device the sampling rate of 8012.821Hz is not supported and playback will be peformed at 8KHz.
dataLocation - offset to start of data
dataSize - number of bytes of data
dataFormat - data format code which is 1 for 8 bit law
sampRate - a sample rate code which is always 8012.821 Hz
numChan - the number of channels
info - arbitrary character string min length 4 bytes