How to record sound in OS X Terminal?

roboslone picture roboslone · Feb 7, 2013 · Viewed 15.5k times · Source

I need to record voice from built-in microphone using only Terminal.app in Mac OS X. Is there any way?

Answer

epatel picture epatel · Feb 7, 2013

Install brew and then install sox

$ brew install sox

$ sox -d recording.wav