Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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.

Thanks

share|improve this question
1  
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
add comment

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.

2 Answers

Voice recognition is more difficult than you think it is. At least, you need dictionary (file containing thousands of words). Check this link http://stackoverflow.com/questions/2817663/sound-sample-recognition-library-code

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

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
add comment

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