Srima
Srima

Reputation: 115

How to compare two .wav files in C#

I am playing a .wav file stored in my computer and I am going to record the speech of an user into a .wav file. For recording i'm using this link.

http://www.c-sharpcorner.com/UploadFile/GemingLeader/696/

Now I want to compare these two .wav files. Can any one help me?

Thanks in advance.

Upvotes: 2

Views: 4172

Answers (1)

Abdallah
Abdallah

Reputation: 62

look at the SpeechSDK5.1 http://www.microsoft.com/downloads/en/details.aspx?FamilyId=5E86EC97-40A7-453F-B0EE-6583171B4530&displaylang=en

If you look at the following: http://www.codeproject.com/KB/audio-video/SoundCatcher.aspx you can notice the Spectrogram, basically if the two spectrograms are exact same thing, then the audio is exact same thing. You need to capture the spectrogram data and use some sort of comparing algorithm to compare both data.

Upvotes: 2

Related Questions