command-line utility to record from microphone
35,321
From http://dabase.com/u/record_wav/
arecord -vv -fdat stackoverflow.wav
Related videos on Youtube
Comments
-
kirill over 1 year
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%
-
wallyk over 12 yearsPlease see the FAQs. That is not the type of questions we deal with here.
-
Ярослав Рахматуллин about 11 years
-
-
Admin over 12 yearsthis command writes output file constantly with silence. Тhis is not something that I need
-
hendry over 12 yearsDoes your Mic work with Skype testing? Is it enabled via
alsamixer
? -
Admin over 12 yearsYes Mic working with skype, enabled
-
Robin about 9 yearsI tried it and it is working > arecord -vv -fdat stackoverflow.wav I think the problem is that you are not selecting microphone in the settings, you have analog input instead change that and it should work
-
Rupertt Wind about 7 years@hendry: Did you even read the question. The asker wants something that only triggers when a sound is heard, and then records for a specific period of time.
-
user26742873 about 3 years@BjarkeFreund-Hansen lol I only noticed that this fact when I have find this solution great to me. The author failed to address what he wanted clearly in the title, and even Google "didn't even read the question" and led me here!