Setting RecognizerIntent

Welcome! Forums Unity Plugins Mobile Speech Recognizer Setting RecognizerIntent

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11548
    slam
    Participant

    Hey Piotr!

    Been testing your speech recognition plugin for Unity, and I find it impossible to edit intents in it. What I would like is a possibility of editing the following recognizer intents (see https://developer.android.com/reference/android/speech/RecognizerIntent.html):

    String 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.

    String EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS
    The amount of time that it should take after we stop hearing speech to consider the input possibly complete.

    I would guess it would be possible to set these by passing in customisable values in the SpeechRecognitionOptions struct. The reason i need it is to be able to record continuously for X seconds without being afraid of the 1-2 sec cutoff time. Is this something you would able to do? If not I need to make my own plugin 🙂

    #11564
    PiotrPiotr
    Keymaster

    Hey, I’ve added it and you can try using this package.
    However, I haven’t added this originally because it seems to be totally buggy and usually it simply does nothing:
    https://stackoverflow.com/questions/15660805/android-extras-about-speech-recognition-does-not-work

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.