Android Ultimate Plugin Speech Recognizer 1.7.5

Hello Guys, its been a while since i last post about our Android Ultimate Plugin and now i will just clarify some things on Speech Recognizer because a lot of people is getting confuse on some of the Speech Recognizer API’s

1# StartListeningWithExtraSetting

 

numberOfResults – the number of possible results based on what you say

 

speechMinimumLengthInMillis – speech recognizer will continue to listen until reached this time. based on android developer documentation https://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_SPEECH_INPUT_MINIMUM_LENGTH_MILLIS

The minimum length of an utterance. We will not stop recording before this amount of time. Note that it is extremely rare you’d want to specify this value in an intent. If you don’t have a very good reason to change these, you should leave them as they are. Note also that certain values may cause undesired or unexpected results – use judiciously! Additionally, depending on the recognizer implementation, these values may have no effect.

Constant Value: “android.speech.extras.SPEECH_INPUT_MINIMUM_LENGTH_MILLIS”

speechWaitingTimeInMillis – the length of time to wait to consider that speaking is already done or complete. based on Android Developer documentation https://developer.android.com/reference/android/speech/RecognizerIntent.html#EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH_MILLIS

The amount of time that it should take after we stop hearing speech to consider the input complete. Note that it is extremely rare you’d want to specify this value in an intent. If you don’t have a very good reason to change these, you should leave them as they are. Note also that certain values may cause undesired or unexpected results – use judiciously! Additionally, depending on the recognizer implementation, these values may have no effect.

 

2# StopCancel – is just a combination of stop and cancel this one will stop the current task and then cancel it

3# EnableModal – when true it will show a text telling the people to say something, false to hide the text

4# EnablePartialResult – will send partial results even if the speech is still in progress

5# SetCallingPackage – you need to pass a package id string here ex. com.yourcompany.youapplicationname, this is required when your app or game is targeted for kids please look for google play store policy for this

6# EnableOffline – you can pass true here if you want to use it offline but on some phone models this one is not working cause not every phone got the same hardware and software

7# CancelSpeech – cancel the current speech recognizer task

8# StopListening – to stop listening

Together with Speech Recognizer demo we also used

this one is to mute and unmute the beep because usually on android there’s a built in beep when you used Speech Recognizer

Common Questions

  1. can i continues run the speech recognizer? No , if you want this used something that is more advance like google speech recognition https://cloud.google.com/speech/
  2. Can i record using Speech TTS? nope we don’t have this feature
  3. Why other Feature of Speech Recognizer is not implemented? we didn’t implement everything to make it less problematic because some other features might create unexpected problems

I Hope this short post make things clear to you guys 🙂

If you have comments or suggestion or any feedback just email us at gigadrillgames@gmail.com

Leave a Reply

Your email address will not be published. Required fields are marked *

*