On Thu, May 01, 2008 at 07:55:52AM -0400, Deanna Phillips wrote: > [EMAIL PROTECTED] writes: > > > I am running OpenBSD 4.3 generic, and cannt change the playing > > rate with audioctl to play mp3s with mpg123. > > http://www.openbsd.org/faq/faq13.html#playaudio > > ,---- > | Some sound devices can play only fixed sample rates. For > | instance, you may be trying to play a 22050 Hz file through a > | sound chip which is locked at 48000 Hz. > | > | There are audio utilities in the packages and ports collection > | that tackle this problem by performing rate resampling. For > | example, x11/mplayer has a "-srate" switch to specify a desired > | output sample rate. You would set that to the rate your sound > | device is using. KDE's artsd and some games support similar > | options. Read the documentation of your specific audio > | application to find out whether it supports rate resampling. > `---- > > Right now the only way to check your supported rates is by trial > and error, for example > > % audioctl play.rate=8000 > audioctl: set failed: Invalid argument > > % audioctl play.rate=48000 > play.rate: -> 48000 > > It might be nice to add the list of supported rates to audioctl. >
yeah, I've thought about that. it's a little tricky. some devices have a list of specific rates, some have ranges. -- [EMAIL PROTECTED] SDF Public Access UNIX System - http://sdf.lonestar.org