From owner-freebsd-multimedia Thu Jan 29 19:21:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA25477 for freebsd-multimedia-outgoing; Thu, 29 Jan 1998 19:21:52 -0800 (PST) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from whqvax.picker.com (whqvax.picker.com [144.54.1.1]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id TAA25468 for ; Thu, 29 Jan 1998 19:21:49 -0800 (PST) (envelope-from rhh@ct.picker.com) Received: from ct.picker.com by whqvax.picker.com with SMTP; Thu, 29 Jan 1998 21:20:41 -0500 (EST) Received: from elmer.ct.picker.com by ct.picker.com (4.1/SMI-4.1) id AA28530; Thu, 29 Jan 98 21:20:40 EST Received: by elmer.ct.picker.com (SMI-8.6/SMI-SVR4) id VAA10486; Thu, 29 Jan 1998 21:20:32 -0500 Message-Id: <19980129212026.27102@ct.picker.com> Date: Thu, 29 Jan 1998 21:20:26 -0500 From: Randall Hopper To: Kees Jan Koster Cc: FreeBSD Multimedia List Subject: Re: Audio recording anyone? References: <34CE2C98.41C67EA6@tccn.cs.kun.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: <34CE2C98.41C67EA6@tccn.cs.kun.nl>; from Kees Jan Koster on Tue, Jan 27, 1998 at 06:51:04PM +0000 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe freebsd-multimedia" 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 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