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
Save
save()
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.
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.
Demo:
from text_to_speech import save
save("Hello World", "en", 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.6.0.tar.gz
(2.9 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.6.0.tar.gz.
File metadata
- Download URL: text_to_speech-1.6.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
133b02e0b464e65c51054a01cf856d4340fd170190d691789421c37600dc425a
|
|
| MD5 |
3d12a0bba6c14ba96b092279d22f5837
|
|
| BLAKE2b-256 |
e7fa9f35f1fbc446d1c3af3406e16f44a98de4a79b0cff672a56ffa0fec63866
|
File details
Details for the file text_to_speech-1.6.0-py3-none-any.whl.
File metadata
- Download URL: text_to_speech-1.6.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c86beb1c54974055476bd3f6e3418c21ec3546dbf100e702355f1a35f9cbf692
|
|
| MD5 |
6f1a91383bb4656c1f2514865c96a4bb
|
|
| BLAKE2b-256 |
c85a19477f32ffc66380edb5e0814c762f29f32ce9ffba9bd93c3624286cc800
|