voiceX - A Python Library for Personalized TTS
Import the necessary stuff:
from voicex import TTS, Voices
Specify the IP of the server where the TTS backend is running:
server_ip = "xxx.xxx.xx.xx"
Specify your voicex file, and the ip and port of the server where your voicex instance is running:
tts = TTS(voice="voices/thomas.voicex", server=server_ip)
Alternatively, you can use one of the predefined voices:
tts = TTS(voice=Voices.GABBY, server=server_ip)
Synthesize, speak or write stuff:
text = "This is a test sentence. I hope you like my voice."
tts.speak(text)
wav_data, sample_rate = tts.synthesize(text)
tts.write(text, "output.wav")
Release files for voicex 1.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| voicex-1.1.7.tar.gz | 58.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| voicex-1.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 118.7 kB
Release files / voicex-1.1.7.tar.gz
| Download URL | voicex-1.1.7.tar.gz |
|---|---|
| Size | 58.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72e6c385e2428f7e778ebc70af59d43a77fcae878c7b189531a38415674083f1
|
|
BLAKE2b-256 checksum How to use checksums |
58220fe4dac2a8e2a1f284c2951569e71b428c718c431414ac1d422041f8ae64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / voicex-1.1.7-py3-none-any.whl
| Download URL | voicex-1.1.7-py3-none-any.whl |
|---|---|
| Size | 60.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ada0bcbb16b3aa5dc0c4bf8f83e56684f98f63f729816fe12625dd34d9b0d20
|
|
BLAKE2b-256 checksum How to use checksums |
93fbb5cb24b0fbf1e5ce9261f8d27017d9a4138542da2bba493404e434bfa577
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|