- Home /
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 :)
Answer by tanoshimi · Dec 02, 2013 at 01:15 PM
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/
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. :(
Answer by YBDDevelopment · May 07, 2016 at 05:46 PM
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.
Answer by FrostweepGames · Aug 17, 2015 at 10:52 AM
hello guy! try see here: http://forum.unity3d.com/threads/speech-recognition-using-google-v1-0.346148/
Answer by Piotrku · Oct 24, 2016 at 11:39 PM
You might be interested in that iOS and Android plugin: Mobile Speech Recognizer
Answer by theylovegames · Jun 18, 2017 at 10:42 PM
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.
Your answer
Follow this Question
Related Questions
Is there any way to record voice in Unidy3D? 3 Answers
Compare 2 Recorded Voices? 1 Answer
How can I change the color of the cube with speech recognition ? 1 Answer
transmitting voice via internet 1 Answer
Real Voice Print Authentication 0 Answers