How to use Text to Speech (TTS) on Oculus Quest VR headset in virtual reality – for developers

Geoff from geoffmobile.com shows how to use Text to Speech (TTS) on the Oculus Quest virtual reality headset. This is a technical tutorial that would be suitable for a developer who is wanting to add Text to Speech (TTS) functionality to their Oculus Quest app.

Please subscribe :) youtube.com/geoffmobile

Error shown in the video (ADB Logcat) when trying to play the TTS Text to Speech output on the Oculus Quest in the background:

2020-05-23T20:31:28.733Z: debug27433/27417 AudioTrack updateAppOpsPlayAudio: checkOp OP_PLAY_AUDIO for com.svox.pico returns: 1 (IGNORED)

Link to Android API TextToSpeech synthesizeToFile() which works with pico tts on the latest (Version 17 and up) of the Oculus Quest software.
developer.android.com/reference/android/speech/tts/TextToSpeech.html#synthesizeToFile(java.lang.CharSequence,%20android.os.Bundle,%20android.os.ParcelFileDescriptor,%20java.lang.String)

Hope this technical programming tutorial is useful to anyone trying to get Text to Speech TTS working on their Oculus Quest.

Best regards, and please like this video, comment below, and don’t forget to subscribe :)

Thanks!
Geoff
geoffmobile.com

Update, 2021-08-16:

ReadSpeaker is an End to End text to speech company with over 20 years of experience generating TTS for a multitude of use cases.
With the increased focus on making video games accessible, ReadSpeaker is developing a Game Engine plugin for Unreal and Unity that will allow dynamic Text to Speech to be generated at runtime.  The Game Engine plugin can support 30 languages, multiple voices per language as well as Custom Text to Speech voices.
Indie Game Studio, Soft Leaf Studios is leveraging our Game Engine plugin for their Point and Click Adventure Game, Stories of Blossom.  Here is a video outlining where ReadSpeaker TTS is being leveraged in the game- youtu.be/H_haBX2we08
Can view for more information: www.readspeaker.com

Related Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.