OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: microphone input for azalia?

From: Jacob Meuser (jakemsrsdf.lonestar.org)
Date: Thu Oct 02 2008 - 11:37:43 CDT


On Thu, Oct 02, 2008 at 06:55:08PM +0300, Vladimir Kirillov wrote:

> i played with mixerctl a little more:
>
> inputs.mic: 127,127 -> 254,254
> inputs.sel.source: headphones -> mic
>
> and managed to record the sound, but the playback of it was too fast, i
> could not hear any words (the 5-seconds record was played for ~0.7 sec).

hmm, you did

$ aucat -o file.raw
$ aucat -i file.raw

and the sound played at the wrong rate? try

$ aucat -R 48000 -o file.raw
$ aucat -r 48000 -i file.raw

> i also could not lower the rate of playback:
>
> $ aucat -r 22000 -i file.raw
> /dev/audio: can't set audio params to s16le,0:1,22000Hz: Invalid
> argument

try
$ aucat -r 22000 -i file.raw -u -r 48000

--
jakemsrsdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org