开发者

how to compare two wav files?

Let's say, we have taken a mic input (say "hello") and stored it as a wav file. Then we take the same input "hello" f开发者_StackOverflow中文版rom the mic. Now if the two are identical then we trigger an action. So how do we compare and check the raw data of the two inputs?

Update: Let's suppose we want to have the exact word being spoken amd not being interested about who said the word since that would prevent making the program/software. User independent. In other words: we need to extarct the exact being spoken from the mic input of the user and then check if it was identical to any of the given predefined commands which will in turn trigger an action.

So in other words we need the followng:

  1. extract the exact words spoken by the speaker/user.
  2. compare/check if the word spoken by the user is same or identical to any of the words stored predefined.

So how do we get about our business?


Simple comparison of WAV files is not going to work. What you need is some kind of voice print software. But most of the Java speech processing software out there seems to be more focused on speech recognition (figuring out what was said) than on voice prints (who said it).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜