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 as "file.mp3" 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
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.0.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file text_to_speech-1.5.0.tar.gz.
File metadata
- Download URL: text_to_speech-1.5.0.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 |
73a6617f409316d858d6c3a697e8d2c3aa0cfdeaa5935a17d38e93f8d8b6d366
|
|
| MD5 |
7ce8f0ac2f51fff07de75c8d874878ea
|
|
| BLAKE2b-256 |
89b8710aa6940e12e146097ed85e2a0aebd50510a6bd78678208766add23b70e
|
File details
Details for the file text_to_speech-1.5.0-py3-none-any.whl.
File metadata
- Download URL: text_to_speech-1.5.0-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 |
db1e0c02afdd7a9936ad2269a7782a4359423bd6b0bce7c3c3c9ca19181f9a77
|
|
| MD5 |
f1c04d98a5caf3f5463208791b1f68f1
|
|
| BLAKE2b-256 |
f0fdee1a4a8ffa2d7ab3b4c9a3d17b874400a01a848cacb832c3346094034a8f
|