Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am looking for command-line utility that monitors the microphone, and if you start to speak, writes the file. Recording period should be adjusted.

Solution is:

   sox -t alsa default recording.wav silence 1 0.1 5% 1 1.0 5%
share|improve this question

migrated from stackoverflow.com Feb 1 '12 at 13:57

This question came from our site for professional and enthusiast programmers.

Please see the FAQs. That is not the type of questions we deal with here. –  wallyk Feb 1 '12 at 6:51

1 Answer 1

From http://dabase.com/u/record_wav/

arecord -vv -fdat stackoverflow.wav
share|improve this answer
this command writes output file constantly with silence. Тhis is not something that I need –  kirill Feb 1 '12 at 7:16
Does your Mic work with Skype testing? Is it enabled via alsamixer? –  hendry Feb 1 '12 at 7:24
Yes Mic working with skype, enabled –  kirill Feb 1 '12 at 11:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.