Creating a Voice Recognition Game with AS3?
Hi, I have been surfing the Internet searching for a solution for offline speech recognition in Air for android and ios and have just come across this code. I'm wondering how can I modify this code to create an application that is actually a 'Voice Recognition Game'.
I should Define/add a "sentence" to each frame and check if users voice input matches that "sentence" or not...
For example we add this sentence to frame 10 : "This is a hello world test." if timeline reaches frame 10 then :
1) Speech recognition automatically starts.
2) User's voice convert to text.
3) If user's input matches "This is a hello world test." then we continue to frame 11
4) if user's input does not match, then speech recognition starts again (To let the user his second try..his last try)
5) This time if user's input match our sentence, continue to frame 11 and if it doesn't match go to frame 1
I don't need any text to speech that is included in the code or any of controllers and I just want English as my speech to text engine.any help or suggestions is greatly appreciated.
here is the link to the code and source files : https://fabricemontfort.com/voice-recognition-and-speech-synthesis-in-as3-with-air/