I am developing an Android Application that is based around Speech Recognition.
Until today everything has been working fine and in a timely manner, e.g. I would start my speech recogniser, speak, and within 1 or 2 seconds max the application received the results.
It was a VERY acceptable user experience.
Then today I now have to wait for ten or more seconds before the recognition results are available.
I have tried setting the following EXTRAS, none of which make any discernible difference
RecognizerIntent.EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS
RecognizerIntent.EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS
RecognizerIntent.EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS
I have been continually changing my application, however none of these changes were related to the speech recogniser.
Is there any method I can employ to reduce the time between the speech recogniser switching from onBeginningOfSpeech()
to onResults()
?
Heres an example of how long it takes
07-01 17:50:20.839 24877-24877/com.voice I/Voice: onReadyForSpeech()
07-01 17:50:21.614 24877-24877/com.voice I/Voice: onBeginningOfSpeech()
07-01 17:50:38.163 24877-24877/com.voice I/Voice: onEndOfSpeech()