From owner-freebsd-questions Tue May 26 19:46:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA23396 for freebsd-questions-outgoing; Tue, 26 May 1998 19:46:58 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA23338 for ; Tue, 26 May 1998 19:46:37 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.8/8.8.8) with SMTP id TAA29665; Tue, 26 May 1998 19:46:31 -0700 (PDT) (envelope-from dwhite@gdi.uoregon.edu) Date: Tue, 26 May 1998 19:46:31 -0700 (PDT) From: Doug White Reply-To: Doug White To: Karl Pielorz cc: questions@FreeBSD.ORG Subject: Re: Sound - setting sample rates for /dev/dspW? In-Reply-To: <35670E3D.9354D24F@tdx.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 23 May 1998, Karl Pielorz wrote: > I've just installed a sound card in my FreeBSD box (wow, what luxury!) - but > I need to know how I can set the sample-rate that the /dev/dspW device uses? > > I assume that /dev/dspW is 'wide' - i.e. 16 bits? - I have a sound file I'd > like to play, cat'ing it to /dev/audio gives me horrible garbage, cat'ing it > to >/dev/dspW does play it but very, very sssllloowwwlllyyy... So I'm > guessing the device doesn't use the 44.1Khz I need? Try piping the file through sox and translate it to .au format and cat to /dev/audio. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message