C carloschueca Member Licensed User Longtime User Jan 20, 2014 #1 Hello. How I can use TTS.Speak to use texts larger than 4k THank in advance
Erel B4X founder Staff member Licensed User Longtime User Jan 20, 2014 #2 This is a limit of the internal speech engine. You can use a timer together with this isSpeaking method: http://www.b4x.com/android/forum/threads/tts.7500/#post-207738 Then when the current speaking completes, start the next one. Upvote 0
This is a limit of the internal speech engine. You can use a timer together with this isSpeaking method: http://www.b4x.com/android/forum/threads/tts.7500/#post-207738 Then when the current speaking completes, start the next one.
lemonisdead Well-Known Member Licensed User Longtime User Jan 22, 2014 #4 Erel said: Then when the current speaking completes, start the next one. Click to expand... Erel, may I ask you how to detect when the current speaking completes ? I probably don't understand the reflection code provided but won't it only send the log when it is speaking ? Thanks Upvote 0
Erel said: Then when the current speaking completes, start the next one. Click to expand... Erel, may I ask you how to detect when the current speaking completes ? I probably don't understand the reflection code provided but won't it only send the log when it is speaking ? Thanks
Erel B4X founder Staff member Licensed User Longtime User Jan 22, 2014 #5 You have two options: - Use PhoneEvents to listen to the TextToSpeechFinish event. - Use a Timer and check when isSpeaking returns false. Upvote 0
You have two options: - Use PhoneEvents to listen to the TextToSpeechFinish event. - Use a Timer and check when isSpeaking returns false.