- Home /
Is there a way for the user to say something and for the app to respond?
Hi, everyone. I was wondering if there was a way (via script) to do something on the condition that the user is saying something, e.g "Turn left" and the player turns left. Thanks in advance!!
Answer by Bravini · Mar 01, 2011 at 02:53 AM
Voice recongition AFAIK haven't been released openly, as it would need to use a plugin for an external application. If you find one, please tell me, I also need it. But here's a start place to research http://gamedev.stackexchange.com/questions/2127/how-can-i-get-voice-recognition-features-into-the-unity-game-engine
http://answers.unity3d.com/questions/15337/unity3d-karaoke-speech-recognition
and a free app with support for voice recognition http://glovepie.org/glovepie.php
It have a script that works out of the box on windows and glovepie programming is quite simple too. if your need just a handful of commands, you can use glovepie's voice recognition to emulate inputs on a joystick and set the commands in unity's input manager. But of course, using a plugin would lead you to a much better control, as you could recognize the voice commands as string inputs and make a much more complex and entertaining experience.
Your answer
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
Sounds triggering too fast 4 Answers
Synch clips with BPM 2 Answers
How can I play a sound every time a particle is emitted? 3 Answers
Audio Script help 2 Answers