Re: How to compare two audio files ?
Posted: Fri Dec 12, 2014 1:09 pm
I am still not really clear why you need to check every call live, as opposed to something like Steve's suggestion to pre-check the system for noise and distortion.
You could certainly use Analyze > Silence Finder... in Audacity to check for silences at the noise level in the recorded files. Silences longer than say a couple of seconds could indicate dropouts or completely silent recordings. I am not sure if Silence Finder can be handled well in scripting. Silence Finder writes labels, so if no labels are produced (which displays a warning), that indicates a positive test result.
How long are the calls? Analyze > Sample Data Export... writes text files containing sample levels but is limited to 1 million audio samples. You could write a script to check the text files for long stretches of audio below a threshold as another way to do a check for dropouts.
Gale
You could certainly use Analyze > Silence Finder... in Audacity to check for silences at the noise level in the recorded files. Silences longer than say a couple of seconds could indicate dropouts or completely silent recordings. I am not sure if Silence Finder can be handled well in scripting. Silence Finder writes labels, so if no labels are produced (which displays a warning), that indicates a positive test result.
How long are the calls? Analyze > Sample Data Export... writes text files containing sample levels but is limited to 1 million audio samples. You could write a script to check the text files for long stretches of audio below a threshold as another way to do a check for dropouts.
Gale