From: KENNEDY JAMES SCOT (kennejs@a.cs.okstate.edu)
Date: 04/15/93


From: kennejs@a.cs.okstate.edu (KENNEDY JAMES SCOT)
Subject: Re: Is there a .au player for soundcards?
Date: Thu, 15 Apr 1993 23:22:30 GMT

From article <ins407x.734861669@aurora.cc.monash.edu.au>, by ins407x@aurora.cc.monash.edu.au (Andrew J. Cosgriff):
> damien@b63519 (Damien Neil) writes:
>
>>This reminds me -- is there an .au player that _will_ use a soundcard? I have
>>splay from the snd-util package, but the sound it produces when playing an .au
>>file makes it seem like I'm getting a poor radio transmission...from Venus. Not
>>the program's fault of course -- it wasn't designed to use the .au format. But
>>it would be nice to have access to all the Sun audio files out there.
>
> Yep, there is...
>
> It's called /dev/audio (have you mknod'ed one ?)
>
> cat your sun audio files there and they'll work just fine.
>
> It'd be trivial to modify the splay code to use /dev/audio if you told it
> you had a .au file I suppose. (One day when I've got nothing else to do...)
>
> /dev/dsp (what splay uses) is fine for .voc and .wav files (you just have
> to ignore the header at the start of wav files which comes out as a short
> burst of static).
>
> /dev/audio is for Sun audio files.
>
>
> Enjoy !
>
>
>
> --
> -------------------------------------------------------------------------------
> * Andrew J. Cosgriff ! * "Connect the goddamn dots !" (Ministry)
> ins407x@aurora.cc.monash.edu.au #include <std_disclaimer.h>
> andrew@bing.apana.org.au Bing !

How about just using a utility to convert Sun audio files over to a format
that splay can handle? I have a program called SOX that can translate au
sounds into voc sounds. SOX is capable of doing other kinds of conversions
as well. Of course you'll have to go to the trouble of converting the
sounds over first before you can play them, but that shouldn't be a big deal.

Unless I'm mistaken, you can get SOX off of nic.funet.fi. It should be under
/pub/unix/sound. The name of the file is sox7.linux.tar.Z.

---Scott