|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Jacob Meuser (jakemsr
sdf.lonestar.org)
Date: Thu May 01 2008 - 07:38:40 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, May 01, 2008 at 07:55:52AM -0400, Deanna Phillips wrote:
> x72eme
gmail.com 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.
--
jakemsr
sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]