Implement voice recognition in Unity?

is there a way to use voice recognition under Unity somehow? So that the user says a word in the microphone and the game “udnerstands” this word? How would that be possible?

Thanks for your ideas :slight_smile:

5 Answers

5

Yes it’s possible, and there are several existing threads and example code on the topic (you did search first, right?).

It would have been helpful if you had provided info on the platform you intended to target, but here’s the main options:

That forum over at cmusphinx is dead, no useful information there at all about how to step by step implement pocket sphinx into Unity. I have googled till I'm blue in the face and there is no real helpful information. :(

for anyone interested, in the new beta version (5.4), Unity added DictationRecognizer wich is a class that provide speech recognition from microsoft. The accuracy is really good.

Too bad it doesnt work on Win7, which is still widely used. Dont think its a good option.

Does it work with mac ?

hello guy! try see here: http://forum.unity3d.com/threads/speech-recognition-using-google-v1-0.346148/

The ChromeSpeechProxy supports WebGL, Windows editor/standalone, and Mac editor/standalone.

The Unity package is backwards compatible to 5.3.

Speech detection is highly accurate for a ton of languages and dialects.

alt text

You might be interested in that iOS and Android plugin: Mobile Speech Recognizer