Python Forum

Full Version: gtts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
gtts is only speaking last few words of text, is this a know issue? if so is there a fix?

for example lets say i want it to speak "this is a test" gtts will only speak "a test"
(Oct-18-2020, 11:06 PM)Nickd12 Wrote: [ -> ]gtts is only speaking last few words of text, is this a know issue? if so is there a fix?

for example lets say i want it to speak "this is a test" gtts will only speak "a test"
This works for me...

from gtts import gTTS
tts = gTTS('hello my friend, how are you?', lang='en')
tts.save('hello.mp3')