Android Question TTS Pause between numbers

JamesGreaves

Active Member
Licensed User
I am needing to pause between the TTS reading each number.
Please help.

B4X:
For i = 0 to 5
   tts.Speak(i, False)
   Sleep(200)
Next
 

DonManfred

Expert
Licensed User
Longtime User
seems like the 200 is to low? Try it with 1000 so see a difference
 
Upvote 0

JamesGreaves

Active Member
Licensed User
Thanks Don, I found my error.
I declared TTS in Process_Globals instead of Globals, which effectively nullified the effect of "Sleep" on the TTS library for some reason.
Thank you
 
Upvote 0
Top