From owner-freebsd-questions@FreeBSD.ORG Sun Sep 12 11:12:04 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96D9416A4CE for ; Sun, 12 Sep 2004 11:12:04 +0000 (GMT) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7F8343D41 for ; Sun, 12 Sep 2004 11:12:03 +0000 (GMT) (envelope-from malcolm.kay@internode.on.net) Received: from beta.home (ppp137-243.lns1.adl2.internode.on.net [150.101.137.243])i8CBC1HY041710; Sun, 12 Sep 2004 20:42:01 +0930 (CST) From: Malcolm Kay Organization: at home To: m.hauber@mchsi.com, freebsd-questions@freebsd.org Date: Sun, 12 Sep 2004 20:42:13 +0930 User-Agent: KMail/1.5.4 References: <200409121304.54335.malcolm.kay@internode.on.net> <200409121508.34562.malcolm.kay@internode.on.net> <200409120215.01526.m.hauber@mchsi.com> In-Reply-To: <200409120215.01526.m.hauber@mchsi.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409122042.13430.malcolm.kay@internode.on.net> Subject: Re: Playing .au sound files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Sep 2004 11:12:04 -0000 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: port > > 0xd400-0xd403,0xd800-0xd803,0xdc00-0xdcff irq 10 at > > device 7.5 on pci0 pcm0: > 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