next up previous contents index
Next: 5.8.9 OGI File Format Up: 5.8 Waveform File Formats Previous: 5.8.7 AIFF File Format

5.8.8 SUNAU8 File Format

  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 tex2html_wrap_inline19972 law encoded speech samples. The header is 28 bytes and contains the following fields, each of which is 4 bytes

 
		magicNumber  		- magic number 0x2e736e64

dataLocation - offset to start of data

dataSize - number of bytes of data

dataFormat - data format code which is 1 for 8 bit tex2html_wrap_inline19974 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

No 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.


next up previous contents index
Next: 5.8.9 OGI File Format Up: 5.8 Waveform File Formats Previous: 5.8.7 AIFF File Format

ECRL HTK_V2.1: email [email protected]