On Saturday 01 October 2005 19.27, Jorge Fábregas wrote:
Hello all,
I've been using my Linux box to record radio shows (the radio is connected to my soundcard's line-in). I basically followed the instructions on the "Linux Radio Timeshift HOWTO" on http://www.osl.iu.edu/~tveldhui/radio/
Right now, I want to record a show that starts about the time another show ends. Basically I'll have a script running with the following line:
sox -t ossdsp -w -s -r 44100 -c 1 /dev/dsp -t raw show1.raw
and while this is running I want to start another script to record other show:
sox -t ossdsp -w -s -r 44100 -c 1 /dev/dsp -t raw show2.raw
but I get: sox: Can't open input file '/dev/dsp': Device or resource busy.
It won't let me record unless the first sox process ends. Is it possible to grab the audio on soundcard while other process is accessing it? I have a soundblaster live card which I think can handle it.
I can play music from various players (without using any sound daemon like ESD or ARTS). The card handles the mixing by itself so I don't understand why can't I have two process capturing audio at the same time. I guess playing simultaneously and recording simultaneously aren't the same thing :)
Thanks, Jorge
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Hi! As far as i know, you can only record one thing at the time from "line in". Its just one input. There are different ways to circumvent that. Plugging a second radio into the CD or DVD internal input on the soundcard for example. You can Listen to a file and Line In at the same time. Just as you would be able to listen to CD and Line In at the same time. Those are all different inputs. The software wouldn't be able to differentiate two mixed soundsources and lay them to two different tracks. They would be a mix of the two. There are "professional" cards that have more than one Line In. But i suspect that is a bit of an overkill for you.