Playing .au sound files

Malcolm Kay malcolm.kay at internode.on.net
Sun Sep 12 04:12:04 PDT 2004


On Sun, 12 Sep 2004 03:45 pm, Mike Hauber wrote:
> On Sunday 12 September 2004 01:38 am, Malcolm Kay
>
> proclaimed:
> > > > > > I'm looking for a command line utility to play
> > > > > > .au sound files.
> > > > > >
> > > > > > Malcolm
> > > > >
> > > > > try the cat command...
> > > > >
> > > > > IE$ cat sound_file.au > /dev/audio
> > > >
> > > > Thanks Mike,
> > > > but I already tried that. Something comes out but it
> > > > is all over very quickly and nothing like I expect,
> > > > or what kaboodle puts out.
> > > >
> > > > % waveplay -B 8 -C 1 -S 8000 soundfile.au
> > > > sort of works but the quality is poor and it tries to
> > > > present the header as sound.
> > > >
> > > > Malcolm
> > >
> > > Now I'm curious...  What kind of sound card do you have
> > > (dmesg)?  Which driver is the kernal using (pcm, sbc,
> > > gusc, or snd)?  I ask because I've never experienced
> > > this.  When you use the play command, is there a
> > > difference?
> >
> > Extract From /sbin/dmesg:-
> >
> > pcm0: <VIA VT82C686A> port
> > 0xd400-0xd403,0xd800-0xd803,0xdc00-0xdcff irq 10 at
> > device 7.5 on pci0 pcm0: <SigmaTel STAC9721/23 AC97
> > Codec>
> >
> > The play command is also all over in a flash.
> >
> > Malcolm
>
> I have pretty close to the same chipset on my mo/bo.  Are
> you sure it's not the au file itself?  Do other files play
> the same way?
>

Often yes. But some result in a Segmentation fault.

Malcolm



More information about the freebsd-questions mailing list