Posts: 177
rmcellig
Joined: 04 Mar 2014
#1
At the moment, this is what I use in a crontab to record my radio shows from a radio connected to my PC. Works great. Only problem is that the reception wavers so I am looking for alternate ways to record my radio shows.

Code: Select all

#radio shows
50 9 * * 7 /usr/bin/arecord -t wav -f cd -d 6680 /home/randy/Music/BS$(date"+\%^b\%d\%y").wav
50 10 * * 7 /usr/bin/arecord -t wav -f cd -d 6880 /home/randy/Music/IHTSB$(date"+\%^b\%d\%y").wav
50 11 * * 7 /usr/bin/arecord -t wav -f cd -d 8860 /home/randy/Music/IT$(date"+\%^b\%d\%y").wav
What I did was to go into alsamixer and activate the mix option. This way I can capture audio which is playing through my system. I tested this using Audacity. I just pressed on the record button and voila, the stream is recording from tunein.com.

Now how do I go about using code that I can put in my crontab like the above example that will capture the streaming audio at preset times live above?

I'm using MX-14 as well as Antix 13.2.

If I can get this working, this means that not only can I record my shows from the attached radio but also from sreaming sits as well so that if one fails, or has problems, I have my other computers recording as well just in case.

Thanks again for all the help!!!!!
Posts: 177
rmcellig
Joined: 04 Mar 2014
#2
I think I found a solution and I can still use the same code without changing a thing. What I did was open up alsamixer and enabled the mix option. This seems to capture any audio playing on the computer. All I have to do is alter the arecord scripts for the shows I want to capture. Tried it earlier and it seems to work great!