Newsgroups: comp.unix.programmer Date: 2001-07-10 05:39:32 PST
> I am suppose to program with the .au sound files. Could anyone tell me > where I can find any specifications for this sound file format and other > sound file formats?
This should get you started:
http://www.wotsit.org/filezdir/au.zip
Fredrik Roubert
There is open source software package named sox, which converts various sound formats and applies some effects on them.
Its documentation is good enough source of information. I didn't look into its code, but I thing it can worth reading too.
Apart it, there is various libaudiofile, libsndfile etc, which have uniform API to variety of formats, typically including Sun audio.
Victor Wagner
AU is more than one file format. The data can be stored as 8, 16, 24 or 32 bit PCM values, samples encoded as A law, mu-law and about 2 dozen other compression formats.
Your best bet is to use a library which abstracts away all the complexity. I suggest libsndfile:
http:/www.zip.com.au/~erikd/libsndfile/
There are other as well.
Erik