如何在 C# 中比较两个 .wav 文件
我正在播放计算机中存储的 .wav 文件,并将用户的语音录制到 .wav 文件中。为了录制,我使用此链接。
http://www.c-sharpcorner.com/UploadFile/GemingLeader/696/
现在我想比较这两个 .wav 文件。有人可以帮助我吗?
提前致谢。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看 SpeechSDK5.1 http://www.microsoft.com/downloads/en/details.aspx?FamilyId=5E86EC97-40A7-453F-B0EE-6583171B4530&displaylang=en
如果您查看以下内容: http://www.codeproject.com/KB/audio-video/SoundCatcher.aspx 你可以注意到频谱图,基本上如果两个频谱图完全相同,那么音频就是准确的同样的事情。您需要捕获频谱图数据并使用某种比较算法来比较这两个数据。
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.