0

I want to make a simple game which compares the pronunciation of a given word, which is provided as audio file, with the same word pronounced by the player, via a microphone. By pronounciation I mean that the "sound" of the word should be compared to the given word.

It would be ideal if the system would give back a percentage of how close the player pronounced the word to the given word.

I've found questions in StackOverflow about audio fingerprinting and speech-recognition. They seem to indicate, that its a very hard problem. But as I don't need full speech recognition maybe there is a simpler approach which I missed.

So my questions are then: Is that even feasible? If it is feasible, how could I approach the problem? Are there libraries which could support my.

Community
  • 1
  • 1
DanEEStar
  • 6,140
  • 6
  • 37
  • 52
  • Does this have to use javascript? If so, you'll need to specify a platform, as not all systems have SR systems accessible from JavaScript. – Eric Brown Sep 09 '13 at 18:58
  • It would be great if it is somehow accesible in javascript. But I am more interested how you could do it in general – DanEEStar Sep 09 '13 at 19:51

1 Answers1

1

You can't do this in JavaScript, but my answer to this question outlines an approach to solve the problem. You'll likely need to use C++, as the relevant SAPI interfaces aren't really exposed via C#.

Community
  • 1
  • 1
Eric Brown
  • 13,774
  • 7
  • 30
  • 71