On Wed, 14 Jun 2006 13:46:01 -0700 "Cameron L. Spitzer" <[EMAIL PROTECTED]> wrote:
> [This message has also been posted to linux.debian.user.] > > A friend of mine uses a "user friendly" Windoze box > to record (with permission) radio shows in background, > on a predetermined schedule. It's the last thing he still > needs Windoze for. The "analog signal" throws me. Is he recording the signal over the Net (streaming) or with a radio hooked up to a soundcard's line in? I used to do just that (record a radio show at a predetermined time) when i was recording shows like Schickele Mix on PRI. No local station carries this anymore, so I got it (after a couple tries) set up so that it basically uses mplayer's stream dump facilty, shuts down after an hour, then after that I can run mplayer to turn that into a .wav, edit with audacity, burn to CD, etc. > According to the Linux Sound HOWTO, which seems unmaintained, > I can get raw samples from /dev/dsp0 with dd. This works Probably don't need to go that deep. There's a trick to doing this right off the sound card's dsp, it goes something like: #! /bin/sh sox -V -c2 -r 44100 -t ossdsp -w -s /dev/dsp $1.ogg start and stop when needed. That'll automatically go to 128-bit ogg, seems sox can't do any better, or you can send it to mp3, or just raw/wav format. > Cameron -- ------------------------------------------------------------------------ David E. Fox Thanks for letting me [EMAIL PROTECTED] change magnetic patterns [EMAIL PROTECTED] on your hard disk. ----------------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]