Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Joe Papier

macrumors newbie
Original poster
Dec 20, 2010
4
0
Hi I'm looking for a command line utility (Audacity isn't scriptable as far as I know) to record from line-in or microphone to just raw audio (like .wav file). Does anyone know of any free tool that would do this?
 
May we know what you want to achieve, in order to maybe give you alternatives?
Do you want to record in intervals or at specified times or for an exact duration or a combination of those?
 
Thanks for the quick reply.

I want to record for a long period of time (hours). If I had a tool that I could record for a fixed duration and output to a file, that's all I need. After that I could write a simple script to call that utility as needed, and write snippets (like 15 minutes worth) at a time to different files.

My guess is if I leave Audacity or something else running in recording mode for very long periods of time, it will run out of memory.
 
Memory is synonymous for RAM, the recording does not get stored in the RAM, but on the HDD, which is often referred to as "space or "storage (capacity).
One hour of uncompressed audio (44.1kHz and 16-bit stereo) will take up less than 550MB.
You can set the Mac to sleep at a specified time, regardless of what is being done to the Mac. (System Preferences > Energy Saver >> Schedule...)
You could test, if that works for you.

Okay, did a bit of searching
1. http://www.google.co.uk/search?q=mac schedule audio record&ie=utf-8&oe=utf-8
2. http://audacity.sourceforge.net/
3. http://wiki.audacityteam.org/wiki/TimedRecording

and found, that Audacity 1.3.1 (beta: http://audacity.sourceforge.net/download/beta_mac) can do a Timed Record (Menu Bar > Transport >> Timed Record), where you can set start and end times and dates. Though you can't create a list with different times and dates.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.