Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Detect silence while recording audio.

$
0
0
Hi,

I've just discovered Processing and I really like it. I've been playing around with the minim library and I would like now to write an application.

I'd like to write an "auto-loop" application. It would start recording after pressing on a specific key and stop recording after recording 1 second of "silence".

I get the recording part working by using the AudioInput sample code from the minim API.  However, I am not sure how to analyze the audio buffers and stop the recording if 1 sec of silence is detected.

Any suggestions?

Cheers!

Viewing all articles
Browse latest Browse all 1768

Trending Articles