Command line utility for MAC to record from microphone

Discussion in 'Mac Apps and Mac App Store' started by Joe Papier, Dec 20, 2010.

  1. Joe Papier macrumors newbie

    Joined:
    Dec 20, 2010
    #1
    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?
     
  2. simsaladimbamba

    Joined:
    Nov 28, 2010
    Location:
    located
    #2
    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?
     
  3. Joe Papier thread starter macrumors newbie

    Joined:
    Dec 20, 2010
    #3
    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.
     
  4. simsaladimbamba

    Joined:
    Nov 28, 2010
    Location:
    located
    #4
    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.
     
  5. Joe Papier thread starter macrumors newbie

    Joined:
    Dec 20, 2010
    #5
  6. ruftytufty macrumors member

    Joined:
    Jan 4, 2005
    Location:
    Berkeley, CA
    #6
    Take a look at sox:
    http://sox.sourceforge.net/

    Haven't used it, but the docs claim recording support, and it's supported on Mac OS.
     
  7. Joe Papier thread starter macrumors newbie

    Joined:
    Dec 20, 2010
    #7

Share This Page