Newsgroups: comp.speech
Path: pavo.csi.cam.ac.uk!pipex!warwick!news.dcs.warwick.ac.uk!kpw
From: kpw@dcs.warwick.ac.uk (Kevin P White)
Subject: Re: Format of SUN /dev/audio files
Message-ID: <1993Nov12.160839.17002@dcs.warwick.ac.uk>
Sender: news@dcs.warwick.ac.uk (Network News)
Nntp-Posting-Host: stone
Organization: Department of Computer Science, Warwick University, England
References: <1993Nov2.025558.6825@muug.mb.ca> <CG0q5s.A36@cbnewsc.cb.att.com>
Date: Fri, 12 Nov 1993 16:08:39 GMT
Lines: 16

In article <CG0q5s.A36@cbnewsc.cb.att.com> moshe@iexist.att.com writes:
>Due to copyright restrictions, I shan't post the structure of the audio file header,
>but you may look in /usr/demo/SOUND/multimedia/audio_filehdr.h to get the structure of
>Sun audio files.
>
>In article 6825@muug.mb.ca, rgallen@muug.mb.ca (Rennie Allen) writes:
>:This may not be the most appropriate place, but the reason I am asking has
>:to do with attempting a port of "speak".  Anyway the question is what is
>:the format understood by SUNs /dev/audio device ?  is it a common audio
>:file format ? 
>:

The encoding is usually u-Law (mu law) encoding, but it can be configured
to be A-Law by using an ioctl call.

Kevin
