Forum Discussion
Ritik21
2 years agoHonored Guest
Quest 2 Text to speech in unity latency
Hi,
I am facing a latency in text to speech oculus.
Does anyone know how can I reduce it or make it more like real time text to speech?
1 Reply
Replies have been turned off for this discussion
EDIT. sorry just re-read your post and realise you're asking about the TTS part, which yes - does have latency. The way to minimise that, if you don't need realtime synthesis is to use the Disk Cache (https://developer.oculus.com/documentation/unity/voice-sdk-tts-overview/)
My original message:
If you're sending audio to a server you'll get latency no matter what. Not only does the voice recognition have to work its magic but you additionally have the network to contend with. Only way to speed things up is by doing your speech to text processing locally.
I use this asset: Undertone - Offline Whisper AI Voice Recognition which I'd highly recommend. You can choose which of the Whisper model to download, and have found it lightweight and performant. Good community and support on the discord too. You could roll out your own for free, if you have the time and know-how.
Here's a demo of that asset in action (not VR, but I guess it could be) https://youtu.be/4L5fOOpISeQ
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
- 3 years ago
- 1 year ago