How to apply speech recognition in Torque Game Builder?
by Saigi · in Technical Issues · 10/22/2009 (10:29 pm) · 3 replies
Hello.
I am developing a small scale education game for language learning with TGB. In order to let the player practise their pronunciation, I would like to use speech recognition in the game to allow player to speak, and then use the words that said by the player as a control of the game.
I don't expect the speech recognition function be very powerful, just can recognize a list of preselect words is enough.
I don't have any experience of using game engine neither speech recognition, so I hope anyone know about such kind of field can give me some advice.
Thank you very much.
I am developing a small scale education game for language learning with TGB. In order to let the player practise their pronunciation, I would like to use speech recognition in the game to allow player to speak, and then use the words that said by the player as a control of the game.
I don't expect the speech recognition function be very powerful, just can recognize a list of preselect words is enough.
I don't have any experience of using game engine neither speech recognition, so I hope anyone know about such kind of field can give me some advice.
Thank you very much.
#2
Thanks again, and hope you can give me more advices in the future.
10/24/2009 (12:51 am)
Thank you very much, Rene. Now at least I know what I should start to realize this function. I will find some materials about the SAPI and IIRC. Thanks again, and hope you can give me more advices in the future.
#3
Glad it gave you some general direction.
Seems I confused you with the acronyms, though :) IIRC = "if I remember correctly". The way I used it, it indeed rather suggested that to be the name of the TGB audio layer.
Be aware that the this venture here will require some C++ heavy-lifting. You will also need a TGB Pro license in order to be able to add the relevant functionality to the engine.
10/24/2009 (12:57 am)
Glad it gave you some general direction.
Seems I confused you with the acronyms, though :) IIRC = "if I remember correctly". The way I used it, it indeed rather suggested that to be the name of the TGB audio layer.
Be aware that the this venture here will require some C++ heavy-lifting. You will also need a TGB Pro license in order to be able to add the relevant functionality to the engine.
Associate Rene Damm
The speech recognition would also have to be hooked up to the audio capture (IIRC, TGB's audio layer does not provide this out of the box, though).
Once you have this running, you can simply feed your game logic with commands recognized from speech input.