Page 2 of 2

Re: How to compare two audio files ?

Posted: Fri Dec 12, 2014 1:09 pm
by Gale Andrews
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

Re: How to compare two audio files ?

Posted: Tue Mar 03, 2015 1:06 pm
by ansnum
Hi,

I have the same need. have you found a solution ?

Re: How to compare two audio files ?

Posted: Tue Mar 03, 2015 4:08 pm
by steve
ansnum wrote:I have the same need. have you found a solution ?
I described the approach that I would take in this post: http://forum.audacityteam.org/viewtopic ... 53#p261553
As there was no further comment from Kris I assume that answer was satisfactory.

Re: How to compare two audio files ?

Posted: Mon Feb 01, 2021 2:16 pm
by Mahender
Hello ,

I am working on similar scenario. Did find any way to compare audio files?

Re: How to compare two audio files ?

Posted: Mon Feb 01, 2021 3:12 pm
by steve
Mahender wrote:
Mon Feb 01, 2021 2:16 pm
I am working on similar scenario. Did find any way to compare audio files?
Your question is too vague to give a precise answer (like asking: "How to compare two things").

With Audacity you can easily compare:
  • Length of the audio
  • Peak level
  • RMS level
  • Frequency bandwidth
  • Sample rate
If you are working with generated test tones, you can also compare
  • Frequency
  • Wave shape
  • Harmonic content