Share via

Delayed Speech Recognition

Dominik Rausch 0 Reputation points
2024-03-11T12:14:23.62+00:00

I am developing an application that uses speech recognition on the hololens.

I'm using Unity 2022.3 with MRTK 2.8.

Everything works fine if I run the application from visual studio (as explained here: https://learn.microsoft.com/en-us/windows/mixed-reality/develop/advanced-concepts/using-visual-studio?tabs=hl2). However, if I start the application directly from the Hololens (either after installing it from an app package, or using the deploy from visual studio), speech recognition is very laggy. There is a delay of several seconds between saying a phrase and its resulting recognition event.

I already tried running without online speech service, with disconnected Wifi, and I already reset the device, but the issue persists.

Anybody got an idea how to fix this?

HoloLens | Development
HoloLens | Development

The process of creating immersive mixed reality applications for Microsoft HoloLens,

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-03-22T07:40:32.8333333+00:00

    Hello, Welcome to Microsoft Q&A,

    I have tested official voice command sample (The SpeechInputExample scene in MRTK/Examples/Demos/Input/Scenes/Speech). The sample functioned as expected after being deployed to HoloLens and I didn’t reproduce your issue.

    My environment:

    Unity 2021.3.27f1

    Visual Studio 2022

    MRTK 2.8.3

    Mixed Reality Open XR 1.9.0

    You can try this sample with Unity 2021.3 LTS (recommend version). If this issue persists, it could potentially be a hardware-related problem. In such a case, consider testing it on a different device.

    To acquire MRTK 2 examples scenes, please refer to Example scenes - MRTK 2 | Microsoft Learn.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.