Skip to first unread message

astro1...@gmail.com

unread,
Aug 11, 2014, 9:21:57 AM8/11/14
to mitappinv...@googlegroups.com
I tried to write an app which can be triggered by voices input from the environment.
Ex: The phone will vibrate if I get to a certain MRT station or bus stop and the driver speaks the name of the station or stop.

The question is that google speech recognition needs to be halted by hand before analyzing the voice.
What can I do if I want the device to search for background voice automatically and to stop speech recognition whenever the voice triggers the device.

BTW    any library for phone vibration? 
I only found Sound-Vibrate which is totally a different thing...

THX

SteveJG

unread,
Aug 11, 2014, 10:46:55 AM8/11/14
to mitappinv...@googlegroups.com
Here is Google's documentation for the Speech Recognizor:  http://developer.android.com/reference/android/speech/SpeechRecognizer.html  

This statement seems to indicate that you may not be able to do what you want to do: " The implementation of this API is likely to stream audio to remote servers to perform speech recognition. As such this API is not intended to be used for continuous recognition, which would consume a significant amount of battery and bandwidth."

Here is a forum about Speech Recognition:  http://stackoverflow.com/questions/tagged/voice-recognition     You might find an answer here.

If you do discover a way to do this, please report back to the form and share what you learned.  Thanks.

Regards,
Steve










Reply all
Reply to author
Forward
0 new messages