Voicerecognition Android Taking Too Long To React
I'm trying to find a way to get the SpeechRecognizer to react to speech a lot quicker. I have found that the process from onBeginning of speech onwards is pretty fast, but I need t
Solution 1:
Your question isnt very clear but if you want more fine-grained control over when speech should start recording or the minimum length of the speech etc. you can set quite a few extras in the RecognizerIntent
to customize it to your needs such as
EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS
, EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS
and EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS
.
Read up on these here.
Post a Comment for "Voicerecognition Android Taking Too Long To React"