Hello, I have purchased your Android Speech To Text package. It seems to work quite nicely. However, I am wondering about the behavior of some of the features and if there is any hope for a fix in the near future.
1.) First of all MuteBeep() seems to set the overall volume to zero. Since I have other sounds playing in my game, this is not an acceptable solution for me. Also, mute/unmute does not seem to be reliable when retriggering listening after a time out. Often, the overall phone volume remains at zero. Is this expected behavior?
2.) I could also solve the problem with:
StartListeningWithExtraSetting(int numberOfResults , int speechMinimumLengthInMillis, int speechWaitingTimeInMillis )
if it worked. Sadly Changing the speechMinimumLengthInMillis and speechWaitingTimeInMillis seems to have no effect. That is to say, there is no way to extend the time out time of the speech listener. I understand this might be a quirk of the API? Is this a known bug?
Is either one of these problems likely to be fixed in the near future? If not, do you have any suggestions for a solution that will listen to the user for an extended time (perhaps seven seconds or more) without annoying them with beeps and boops? Thanks much for your response.
Hi, for your 1st question sorry that’s the only thing that we can do for now because there’s no option on Android API to mute the beep but the good thing is before we mute it, we save your current volume 1st and then restore it again for more information on how to do that you can check the demo scene code for Speech Recognition.
For your 2nd question about StartListeningWithExtraSetting(int numberOfResults , int speechMinimumLengthInMillis, int speechWaitingTimeInMillis ) actually the Android API is stating modifying this can fix or make the behavior more worst they suggest not to tweak this but i make an API so that user can modify it anyway if it’s not working sorry but it’s not in our hands now you can read more about this on this link https://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS