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%
link|improve this question
Please see the FAQs. That is not the type of questions we deal with here. – wallyk Feb 1 at 6:51
feedback

migrated from stackoverflow.com Feb 1 at 13:57

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

1 Answer

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

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

Your Answer

 
or
required, but never shown

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