Skip to main content
New Participant
September 4, 2025

VOICE SDK

  • September 4, 2025
  • 6 replies
  • 248 views

Hello, I am using the Meta - Voice SDK - Immersive Voice Commands in my Unity project. The package waits to listen for about 5 seconds when the user is not speaking. I want to extend the waiting time when the user is not speaking. Is it possible to extend this?

This topic has been closed for replies.

6 replies

RiverExplorer
Honored Contributor
September 4, 2025

With dictation, you can call Dictation.Activate(). Where 'Dictation' is your Meta AppDictitationExperience  game object. And Dictation.Deactivate() when you want it to stop listening.

 

 

RiverExplorer.US]@gmail.com https://RiverExplorer.games
furkan038Author
New Participant
September 5, 2025

I don’t want to completely disable the voice response feature. Let me explain with an example: When the user enters the game, I ask them a question like “Would you like to watch a video with me?” The user is expected to answer with either “yes” or “no.”

 

In my game, I want to wait for their response for at least 10 seconds or more even if the user doesn’t speak immediately. However, the SDK currently keeps the listening duration quite short (around 5 seconds), and stops listening if there is no input.

 

I would like to increase this silence timeout so the system keeps listening longer, even when the user remains silent for a while before responding.

RiverExplorer
Honored Contributor
September 5, 2025

I have done that. And it can be done. In the 'App Dictation Experience' Meta component, in the inspector, is a 'Keep Alive Time In Seconds', 'Min Transaction Keep Alive Time in Seconds', and 'Max Recording Time'.

As a test, I set them all to 300 seconds. Seems to work.

Look at their 'DictationSampleScene'. You can tweak the knobs to do that. I just tried and it works.

 

RiverExplorer.US]@gmail.com https://RiverExplorer.games