比较2个WAV文件中的声音? [英] Comparing the sound in 2 wav files?

查看:105
本文介绍了比较2个WAV文件中的声音?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我正在尝试为我的项目创建一个家庭安全系统,该系统能够检测语音并将其与存储的语音进行比较.

我目前正在以WAV格式保存录制的文件,其比特率和质量也将与录制和比较的比特率相同.我想问一下是否有一种方法可以比较两个具有相同属性和相同格式(WAV)的音频文件中的声音(而不仅仅是二进制文件),并显示两个音频文件中两个声音之间的百分比差异. br/>
预先感谢您的所有帮助:)

我正在做C#桌面应用程序

Hello everyone, I am attemping to do a home security system for my project that have the ability to detect voice and compare them with a stored one.

I am currently saving recorded files in wav format, and its bit rate and quality will also be the same as what will be recorded and compared against. I wish to ask if there is a way to compare the sound (not just the binaries) in 2 audio files of the same properties and same format (WAV), and show the percentage difference between the 2 sounds in the 2 audio files.

Thanks in advance for all your help :)

Edit : I am doing a C# desktop application

推荐答案

我要,您将必须通过FFT或Wavelet进行此比较.
那里有几个问题.从不同的背景声音,疾病,速度等开始.
我尝试做类似您的事情,而不是语音,甚至是声音,并测试频率和速度.
我仍然没有答案.

如果您发现了什么,请告诉我们,
再见

Ludger
(抱歉,英语不好-德语...)
I thing, you will have to do this comparison by FFT or Wavelet.
There are several problems in that. Begins with different background sound, illness, speed and so on.
I tryed to do something like you, not for voice but even sound and test on freqencies and speed.
I''m still without answer.

If you find something, tell us,
bye for now

Ludger
(Sorry for this bad english - german ...)


[ ^ ]文章建议使用Compare()可以使用的方法.检查这是否满足您的要求.
This[^] article suggests a Compare() method that could be used. Check if this will meet your requirements.


感谢您的答复,但是,Compare()方法仅确保2个文件为WAV格式(尽管其中有很多WAV)格式,例如raw,riff标头...)
但是,我要寻找的是这两个文件之间的内容比较(声音本身).
Thanks for the reply, however, the Compare() method only ensures that 2 files are in the WAV format (though there''s a lot of WAV format such as raw, riff header...)
However, what I am looking for is the comparison of the content (which is the sound itself) between this 2 files.


这篇关于比较2个WAV文件中的声音?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆