Re: MP3s from an analog signal ?
On Wed, 2006-06-14 at 17:16 -0500, Dale Hair wrote:
> > >
> > > Is there anything in Debian that can take a raw samples
> > > file and turn it into an MP3?
> > > Has some other form of documentation replaced the collection
> > > of HOWTOs at TLDP.org? Thanks.
> > >
> > >
> > > Cameron
> >
> > If you use alsa sound system you can use arecord which is part of
> > alsa-utils and lame to encode mp3.
> >
> > I have recorded from Internet radio stations with the command
> >
> > arecord -t wav -D copy -d (length of recording) -f cd | lame - -V 0
> > filename.mp3
>
> arecord will record what is going to the sound card. You might be
> better served with vlc. Check out
> http://www.videolan.org/doc/streaming-howto/en/ch03.html .
>
> After posting this I read up on arecord and it does record from soundcard input.
> If you're using stable you are probably using oss and will need to switch to alsa.
http://linux-sound.org/quick-toots/3-arecord_and_rtmix/quick-toot-arecord_and_rtmix-1.html
http://linuxcommand.org/man_pages/arecord1.html
Reply to: