On Saturday 01 October 2005 20.01, Dylan wrote:
On Saturday 01 Oct 2005 18: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 don't think you can do it without using jack (which is overkill for this.) Easiest way (and the way I do it) is record both programs into one file and split the file down later offline.
It's not an issue with the soundcard. sox dominates the audio device so the second instance can't access it.
Dylan
-- "The man who strikes first admits that his ideas have given out." (Chinese Proverb)
-- 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
What do you use to separate two different soundsources in the same file??