Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want to set up a scheduled audio recording from an external source, ie. FM radio, is there any app available for that purpose, or how do I do that in Ubuntu ? I want to record in MP3 and the length of few hours, thanks !
There is some problem, I want to record a 2hr. program at 3pm, so I put this script to run on Gnome Schedule at 3pm :
arecord -f cd -d 7200 -t raw | lame -x -r – program1.mp3
When I come back home I see the script disappeared on the list, there is still 30min before the recording ends, but I don't see any recording at work, and the mp3 is no where to be found, am I missing something ? when run this script straight I got this error :
Could not find "program1.mp3".
Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
If I omit the "–" it said Could not find "program1.mp3...", it seems the syntax is not correct, but I just copy and paste, any idea ?
Last edited by joboy; 05-27-2011 at 04:33 AM.
Reason: Incomplete info
arecord -f cd -d 2 -t raw | lame -x -r - program1.mp3
If the problematic dash doesn't copy right, do this:
Code:
man lame
and copy the dash from "To read from stdin, use "-" for <infile>" in the Description section. It uses a certain dash/hyphen, so the one I posted (and was posted on that website) must have been formatted wrong (as might the one in the code above).
Yes that worked, but I can't set the alsamixer according to the original page, I am using the mic input but no matter how I set it I still can't get the signal, but the build in sound recorder worked flawlessly. I also tried the Audacity there is a timer recorder option, but it is fixed to start at Monday no matter how I change it, it seems there is a bug in it, and it crashes randomly.
I use tab key to select the mic input, but it shows 'MM' I think it means muted ? anyway now I use Audacity, the timer record worked, there is a bug displaying the start and end date, they are locked at Monday, but I can change it on the pull down only the display is wrong, after some trial and error now I managed to create a scheduled recording, and I've everything set the recording should start as expected.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.