Date: Sun, 12 Sep 2004 20:42:13 +0930 From: Malcolm Kay <malcolm.kay@internode.on.net> To: m.hauber@mchsi.com, freebsd-questions@freebsd.org Subject: Re: Playing .au sound files Message-ID: <200409122042.13430.malcolm.kay@internode.on.net> In-Reply-To: <200409120215.01526.m.hauber@mchsi.com> References: <200409121304.54335.malcolm.kay@internode.on.net> <200409121508.34562.malcolm.kay@internode.on.net> <200409120215.01526.m.hauber@mchsi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409122042.13430.malcolm.kay>