[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sound recording



On Sat, May 22, 2004 at 04:03:34PM -0600, Chris Kuethe wrote:
> Just wondering, what if anything are people using to do sound recording
> (from a microphone) on openbsd? 
> 
> I've installed sox from ports, and after digging through the archives, I
> found one message where someone mentions using sox. I tried the commands
> given, as well as a few variations with ... sub-optimal results. Im get
> sound that seems to be recorded at about 44kHz and played back at 11kHz,
> or something that sounds like 22kHz sound and 22kHz static mixed together,
> etc. Still haven't got a magic incantation that gets the sample frequency,
> precision, encoding and number of channels right. (I don't think sox's
> ossdsp emulation likes my soundcard)

sox -t ossdsp -w -s -c 2 -r 48000 /dev/sound -t wav -w -c 2 -r 44100 out.wav

If that doesn't work,

1) what is `audioctl -a` (before and during recording)?
2) what does waveplay (ports/audio/waveplay) say the encoding is?

-- 
<jakemsr_(_at_)_jakemsr_(_dot_)_com>