Hello.
Really quick question. I have a script (arecord/lame) that's recording people talking in a room using a system of microphones into a soundcard. Works great. Issue is, for large amounts of time, there is no sound, just background noise. Is there a way I can detect if the amplitude of a mono sound recording goes above a threshold, ultimately with the view of deleting "quiet" files to save disk space.
The files are MP3 files, written with lame, and are broken into 10 minute chunks. I'm happy to uncompress them back to wav to check the audio levels. Just something that's like "threshold_audio --th 0.3 somefile.audio" and have it return 0 or 1 or something I can use (grep/awk) to find the answer?
Kindest regards
George, M1GEO.com
Bookmarks