'gTTS does not sound right
I am using the Python library gTTS (Google text to speech), and I am trying to synthesize the following:
"The area of Russia is 17,130,000 square kilometers."
Here is my code:
from gtts import gTTS
tts = gTTS(text="The area of Russia is 17,130,000 square kilometers.", lang="en-us")
print(f"Text: {tts.text}\nLanguage: {tts.lang}\nCreating audio...")
print(f"Saving audio...")
tts.save("sqkmrussia.mp3")
print("Done!")
I was expecting a Google Assistant voice, but look what I got: http://files.atharvnadkarni.com/sqkmrussia.mp3. That did not sound like Google Assistant.
I want a Google Assistant Voice for now.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
