Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

Speech Recognition stops after losing Focus

Hello, I'm currently developing a Holographic App using Unity 2017.2.0f3 and Mixed Reality Toolkit for Unity (v.2017.2.1.1. ).

Speech Recognition initially works fine, but after you Unfocus the application with the bloom gesture a few times, the App will suddenly stop reacting to Voice commands.
I'm using 'Speech Input Handler' and 'Speech Input Source' with all the checkboxes ticked.
I tried to figure out what's wrong by checking the SpeechInputSource's keywordrecognizer.isRunning attribute in in the OnApplicationFocus method.
It always returns true, meaning it's consistently running.

Does Anyone know what else to check in this scenario?

Kind Regards,
Max

Tagged:

Answers

  • Options

    I can't say whether the problem that you're seeing is the same one that I've recently encountered but I wrote some notes on what I saw (and how I tried to work around it) at the end of this blog post - scroll right down to the end with the section about the FileOpenPicker and SpeechRecognizer.

    I found that I hit problems in keeping a SpeechRecognizer instance alive across the application suspending and resuming and, instead, I took an approach where I actively disposed of it much more frequently although this means moving away from the classes in the framework like SpeechInputSource.

    I hope that helps - it would be great if someone has more detail on the whys/wherefores of this as I'm not sure that I understand why that type can't be kept around across suspend/resume boundaries (if that does turn out to be your problem!).

  • Options

    Okay, thanks. I hope the mrtk guys will address this, since don't think i could devise an alternative implementation of this.

  • Options

    I have a bug ticket with them regarding voice recognition not working or recognition being too slow... they claim to be working on it but don't expect a fix till April (which is their next OS update).

  • Options

    Thanks Sohail for contacting them. I really hope they will fix it. Speech Recognition is a great future. I will test it as soon as the new OS update is available in april.

Sign In or Register to comment.