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 details)
Built Distribution
File details
Details for the file text_to_speech-1.5.2.tar.gz
.
File metadata
- Download URL: text_to_speech-1.5.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b3a2fd446ed83bdbf81c1e0c28808bb3d1707646835f36df5af510af565f7c8 |
|
MD5 | 6fd867af7a7dd8a3b675c439296f8d48 |
|
BLAKE2b-256 | e89f8bc9a38e7f332f8cbeb559dc0abf1d8ff61e6ef493421f1d69580ae84ece |
File details
Details for the file text_to_speech-1.5.2-py3-none-any.whl
.
File metadata
- Download URL: text_to_speech-1.5.2-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 326871158ffe4ac8d0340b524b6a5793ea838d5b47a38fbfb9efbbbfb0cc755f |
|
MD5 | e0ca35f002f589dda0789c1b2adc4268 |
|
BLAKE2b-256 | a3d545dbe95d096d790f00c9eed466f5b9afd87ef7628a7d56ec5e89cb03b64b |