Alex Casha

unread,
Dec 28, 2016, 5:31:41 AM12/28/16
to MIT App Inventor Forum

I want to use the voice recognition every time without clicking a button. I used the when screen1.initialize do and call SpeechRecognizer1.text and it works fine when I start the application but after it has executed my first voice it stops. I need it to start the voice recognition every time I have finished speaking without clicking a button as I want to make an application to use it while I am driving. Is that possible? If yes how and do you have a link of an example on youtube?

SteveJG

unread,
Dec 28, 2016, 9:19:07 AM12/28/16
to MIT App Inventor Forum


You might find a solution in the links here: https://groups.google.com/forum/#!searchin/mitappinventortest/speech$20recognizer%7Csort:relevance   specifically with App Inventor.


In the past, google restricted the ability to continuously use speech recognition and required the feature be continually polled because the process uses network/WIFI bandwidth.  There is now a version of the SR resident on the device as an option and I do not know whether this is usable with AI.   This article explains how to have 'hands free' using a Java compiler  http://stackoverflow.com/questions/6316937/how-can-i-use-speech-recognition-without-the-annoying-dialog-in-android-phones .Can you do the same with AI2?    Give it a try and let us know.

Doing something like this certainly is advanced programming.  I know of no example. Let us know if you find a 'solution.'


Reply all
Reply to author
Forward
0 new messages