From owner-freebsd-multimedia Wed Mar 20 5: 8: 1 2002 Delivered-To: freebsd-multimedia@freebsd.org Received: from fuego.fadesa.es (fuego.fadesa.es [195.55.55.9]) by hub.freebsd.org (Postfix) with ESMTP id 4B2D237B404 for ; Wed, 20 Mar 2002 05:07:56 -0800 (PST) Received: (from mail@fadesa.es) by fuego.fadesa.es (8.9.3/8.8.8) id QAA09008; Wed, 20 Mar 2002 16:33:26 +0100 Message-ID: <3C9897B6.5440650A@fadesa.es> Date: Wed, 20 Mar 2002 14:07:50 +0000 From: "=?iso-8859-1?Q?Jos=E9?= M. =?iso-8859-1?Q?Fandi=F1o?=" Reply-To: freebsd@fadesa.es Organization: Inmobiliaria FADESA X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.2.20 i686) X-Accept-Language: gl, en, es MIME-Version: 1.0 To: Sean LeBlanc , freebsd-multimedia@freebsd.org Subject: Re: Some audio capture questions References: <20020315074048.A12682@hostwiththemost> <3C921767.F8DE91F5@fadesa.es> <20020317125611.A74777@hostwiththemost> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Logged: Logged by tierra.fadesa.es as OAA10343 at Wed Mar 20 14:08:13 2002 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Sean LeBlanc wrote: > > > Hi, I saw some questions about audio recording earlier. I have some > > > questions of my own. I am basement DJ, and I'd like to capture my sessions > > > to something like MP3 or Ogg via my soundcard. I currently have a Aureal > > > Vortex 8830 (that's what dmesg says, anyway). Will this hardware work? > > > Also, do any tools exist to do on-the-fly capture and encoding to MP3 or > > > Ogg? > > > > sox + lame > > Do you have any examples of how to use these two to capture from audio card > to Ogg/MP3? yes, I'm using an AC97 soundcard. First check the record input and level (just use aumix, umix, kmix for this) and then I use this command line: sox -V -t ossdsp -c 2 -r 44100 -t wav - | lame -abr 192 -b 160 -m s -q 2 - sample.mp3 (of course, you must select your quality preferences for mp3 encoding.) and for funny real-time effects you can use: sox -V -t ossdsp -c 2 -r 44100 -t ossdsp -c 2 -r 44100 echos 0.8 0.7 40.0 0.25 63.0 0.3 in the soxexam(1) manpage there are more curious examples ;) regards, -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT d- s+:+() a- C+++ UBL+++$ P+ L+++ E--- W++ N+ o++ K- w--- O+ M+ V- PS+ PE+ Y++ PGP+>+++ t+ 5 X+$ R- tv-- b+++ DI D++>+++ G++ e- h+(++) !r !z ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message