Recording Line in from the command line

Discussion in 'macOS' started by kilowattradio, Apr 25, 2011.

  1. kilowattradio macrumors regular

    kilowattradio

    Joined:
    May 11, 2009
    Location:
    Oregon
    #1
    I need to record the Line in on a iMic system to a file. I have lame and vorbis OGG installed via Macports. What command would I use to grab the line in audio so that the program could record the line in audio in the format I want to save it in?

    Code:
    lame [options] foo.mp3
    oggenc [options] foo.ogg
    
    Thanks for any tips or pointers to accomplish this task. I know there are Mac GUI tools to do this, but I need command line tools so I can do some manipulation and automatically forward the audio file.
    :confused:
     
  2. kainjow Moderator emeritus

    kainjow

    Joined:
    Jun 15, 2000
    #2
    Check out SoX

    You can record via
    Code:
    sox -d file.wav
    Of course it supports lots of other formats and options.
     
  3. kilowattradio thread starter macrumors regular

    kilowattradio

    Joined:
    May 11, 2009
    Location:
    Oregon
    #3
    Thanks, I forgot about SoX, I used it about ten years ago.

    :cool::apple:
     

Share This Page