如何比较两个音频数据? [英] How to compare two audio data?

查看:215
本文介绍了如何比较两个音频数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我会记录我自己的声音,并保存为我的电脑wav文件。稍后我会说及电脑应与preexisting我的语音命令/ pre-录制的WAV文件。

I will record my own voice and save them as wav files in my computer. Later on I will speak and computer should match my voice command with preexisting/pre-recorded wav files..

问:如何检查两个音频数据等于或之间有两个音频80%的匹配

Question: How to check two audio data are equal or there is 80%match between two audio?

if(audio1 == audio2)
   DO Task A
else if( audio1 is a bit similar to audio 2)
   DO TASK B
else if( audio1 (80% match) audio 2)
   DO TASK C
end if

什么是比较两个音频数据的最佳方式?

What is the best way to compare two audio data?

推荐答案

不幸的是,你不会得到任何地方很快只是想音频波形直接比较。有一个巨大的语音和说话人识别的研究数量和你只是被重新发明轮子,如果你不与基本熟悉。我觉得你有多种选择这里取决于你真正想做的事。

Unfortunately you won't get anywhere very quickly just trying to compare audio waveforms directly. There is a huge amount of research on speech and speaker recognition and you'll just be re-inventing the wheel if you don't familiarise yourself with the basics. I think you have several choices here depending on what you really want to do


  • 开始阅读有关的HMM,DTW(如learnvst提到的),以及梅尔频率倒谱系数知道从哪里开始。

  • 使用现有的语音API,如微软之一更是把低电平信号的护理处理,您可以建立到应用程序

  • 使用的东西,甚至更高的水平,如 Windows语音识别宏,给你的能力,通过语音控制您的电脑方面(如播放紫雾')

  • Start reading about HMMs, DTW (as mentioned by learnvst), and Mel-frequency Cepstral Coefficients to know where to start.
  • Use an existing speech API such as the Microsoft one which takes care of the low level signal processing, which you can build into your application
  • Use something even higher level such as the Windows Speech Recognition Macros which give you the ability to control aspects of your PC via speech (eg 'Play Purple Haze')

这取决于你是否想了解语音处理水平低(这将涉及显著量数学),还是你只是想要的东西,很少有编码工作。

It depends whether you want to learn about the low levels of speech processing (which will involve a significant amount mathematics), or whether you just want something that works with little coding.

这篇关于如何比较两个音频数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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