Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Mar 2002 14:07:50 +0000
From:      "=?iso-8859-1?Q?Jos=E9?= M. =?iso-8859-1?Q?Fandi=F1o?=" <freebsd@fadesa.es>
To:        Sean LeBlanc <seanleblanc@attbi.com>, freebsd-multimedia@freebsd.org
Subject:   Re: Some audio capture questions
Message-ID:  <3C9897B6.5440650A@fadesa.es>
References:  <20020315074048.A12682@hostwiththemost> <3C921767.F8DE91F5@fadesa.es> <20020317125611.A74777@hostwiththemost>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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