How to compare two audio files ?

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: How to compare two audio files ?

Post by Gale Andrews » 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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

ansnum
Posts: 2
Joined: Tue Mar 03, 2015 1:05 pm
Operating System: Please select

Re: How to compare two audio files ?

Post by ansnum » Tue Mar 03, 2015 1:06 pm

Hi,

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

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: How to compare two audio files ?

Post by steve » Tue Mar 03, 2015 4:08 pm

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.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Mahender
Posts: 1
Joined: Mon Feb 01, 2021 2:12 pm
Operating System: Windows 10

Re: How to compare two audio files ?

Post by Mahender » Mon Feb 01, 2021 2:16 pm

Hello ,

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

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: How to compare two audio files ?

Post by steve » Mon Feb 01, 2021 3:12 pm

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
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply