Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 1998 19:46:31 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Karl Pielorz <kpielorz@tdx.co.uk>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Sound - setting sample rates for /dev/dspW?
Message-ID:  <Pine.BSF.3.96.980526194613.13318N-100000@gdi.uoregon.edu>
In-Reply-To: <35670E3D.9354D24F@tdx.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980526194613.13318N-100000>