Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 1998 21:20:26 -0500
From:      Randall Hopper <rhh@ct.picker.com>
To:        Kees Jan Koster <dutchman@tccn.cs.kun.nl>
Cc:        FreeBSD Multimedia List <freebsd-multimedia@FreeBSD.ORG>
Subject:   Re: Audio recording anyone?
Message-ID:  <19980129212026.27102@ct.picker.com>
In-Reply-To: <34CE2C98.41C67EA6@tccn.cs.kun.nl>; from Kees Jan Koster on Tue, Jan 27, 1998 at 06:51:04PM %2B0000
References:  <34CE2C98.41C67EA6@tccn.cs.kun.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Kees Jan Koster:
 |I want to record sound with my PC. I was curious if other FreeBSD users
 |are doing the same thing under FreeBSD.
 |
 |If you are, what software are you using?

Well, when I record off TV (line-in), I use fxtv.  It manages the sox and
mpeg encode invocations to convert to whatever format I want at the time.

For other stuff, I use a few little cmd-line utils to play and record raw
audio.  I uploaded a copy of these to Amancio's box a while back for sound
driver debugging, ...and I see there still there so here's the URL:

     ftp://rah.star-gate.com/pub/dsp-recplay.tgz

Just "make".

Then to record, use xmix or your favorite player to select the recording
source and jack the gain up on it, then:

     dsp-record -r rate -b bits -c channels -d duration(sec)
e.g.:
     dsp-record -r 44100 -b 16 -c 2 > RAWAUDIO

To play back, feed to dsp-play with the same args:
     dsp-play -r 44100 -b 16 -c 2 < RAWAUDIO

BTW, valid <bits> are: mulaw, ulaw, alaw, adpcm, 8, u8, 16, s16le,
s16be, s8, u16le, u16be, mpeg.  Support depends on your card and sound
driver's capabilities.

Randall





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980129212026.27102>