Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to implement voice recognition in my game, the target is that the user speaks into the microphone and the game responds accordingly to some commands.

What libraries could help me with such task? I need them for C++ and as lightweight as possible to plug into the game(it will be used in mobile games).

An ideal usage would be having it capture input sound or receiving the audio samples, and outputting strings with the recognized text.


share|improve this question

closed as not constructive by Byte56, Trevor Powell, Sean Middleditch, Adam, Nicol Bolas Feb 21 '13 at 5:34

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

Which tech to use (and questions that generate lists) are off topic on GDSE according to the FAQ. – Sean Middleditch Feb 20 '13 at 21:58
You are right, however I couldn't really ask on particular implementation techniques since I have no illusions of making it myself :p – Grimshaw Feb 21 '13 at 12:27

Voice recognition is more difficult than you think it is. At least, you need dictionary (file containing thousands of words). Check this link

share|improve this answer
A game probably would need only a few dozen words. – petervaz Feb 20 '13 at 20:14

You can use Google voice recognition with Android device. You can also setup a server and send the voice recognition request to Google's server for device such as iOS. It requires internet connection but it provides the best result. The encoded audio file is small so the latency is minimal.

Since you only has a few hundred words you can also try Sphinx3 and OpenEars.

Dragon Speech Recognition is an option but it requires commercial license. Dictionary can be provided for better result.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.