Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to start recording when someone starts talking, and stop recording when it becomes silent.

I guess if there is stream audio processing tool like ImageMagick, so I can strip away blank sections like this:

$ rec -t wav - | wavefilter -strip-blank=3sec | lame - >record1.mp3


This question is resolved by using:

$ rec -t wav - silence 1 0.1 3% -1 1.0 3% | lame - >record1.mp3
share|improve this question
I have developed a software that does exactly this , I am willing to provide it with certain cost if required. – Thunder Dec 24 '10 at 5:30
up vote 1 down vote accepted

The silence predicate of SoX can strip silence from the middle of an audio file.

share|improve this answer
Thank you. BTW, I found this one, – Xiè Jìléi Dec 24 '10 at 4:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .