A simple text to speech engine
This is a simple text to speech engine with some customizable options.
Run the following to install:
pip install text-to-speech
Text: String ? The text to be read. Language: String ? The language (IETF language tag) to read the text in. Slow: Boolean ? Reads text more slowly. File: String ? The file to save the text to, default is = "speech.mp3", only accepts .mp3. Lang_check: Boolean ? If the text has to be checked on language errors.
from text_to_speech import save save("Hello World", "en", file="Hello-World.mp3")
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
text_to_speech-1.6.0.tar.gz (2.9 kB view hashes)
Hashes for text_to_speech-1.6.0-py3-none-any.whl