[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sound recording
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: sound recording
- From: Jacob Meuser <jakemsr_(_at_)_jakemsr_(_dot_)_com>
- Date: Sat, 22 May 2004 17:32:20 -0700
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
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>
Visit your host, monkey.org