A simple text to speech engine
Project description
text-to-speech
This is a simple text to speech engine with some customizable options.
Installation
Run the following to install:
pip install text-to-speech
Usage
Speak
speak()
Params:
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.
Save: Boolean ? If the file has to be saved or not.
File: String ? If save == true, the file name to save the mp3 to.
Demo:
from text_to_speech import speak
speak("Hello World", "en", save=True, file="Hello-World.mp3")
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
text_to_speech-1.5.2.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for text_to_speech-1.5.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 326871158ffe4ac8d0340b524b6a5793ea838d5b47a38fbfb9efbbbfb0cc755f |
|
MD5 | e0ca35f002f589dda0789c1b2adc4268 |
|
BLAKE2b-256 | a3d545dbe95d096d790f00c9eed466f5b9afd87ef7628a7d56ec5e89cb03b64b |