Forum Discussion
furkan038
5 months agoHonored Guest
VOICE SDK
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?
6 Replies
Replies have been turned off for this discussion
- RiverExplorerStart Partner
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.
- furkan038Honored Guest
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.
- RiverExplorerStart Partner
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.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 years ago
- 3 years ago