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 ![]()
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 ![]()
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:
On Android (and, I think desktop but not iOS), you can use the Google speech API:
http://forum.unity3d.com/threads/124521-Voice-recognition-in-Unity
On Windows, you can use the built-in API:
http://forum.unity3d.com/threads/172758-Windows-UDP-Voice-Recognition-Server
For others, you can use PocketSphinx:
http://cmusphinx.sourceforge.net/
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.
– customphasehello 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.

You might be interested in that iOS and Android plugin: Mobile Speech Recognizer
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. :(
– KnightRiderGuy