Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Alesakndr
Channel Surfer

How to use "roAudioGuide" and "roTextToSpeech"?

I can't find any examples of code with how to use "roAudioGuide" and "roTextToSpeech"?

Could you help me with any information?

0 Kudos
1 REPLY 1
renojim
Community Streaming Expert

Re: How to use "roAudioGuide" and "roTextToSpeech"?

I assume you've seen these:

https://developer.roku.com/docs/references/brightscript/components/rotexttospeech.md

https://developer.roku.com/docs/references/brightscript/components/roaudioguide.md

There isn't much there and what is there doesn't seem to be very accurate and/or hasn't been updated in a while.

Here's my little how to:

x = CreateObject("roTextToSpeech")
x.say("Hello, world!")

As far as I can tell roAudioGuide does the same thing, but if the Screen Reader isn't enabled it does nothing.  The Screen Reader used to be called Audio Guide, so that's where it gets its name.

I know that's not much, but that's all I got.

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.