TTS system with fully customizable voices.
Project description
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")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
voicex-1.1.7.tar.gz
(58.0 kB
view details)
Built Distribution
voicex-1.1.7-py3-none-any.whl
(60.7 kB
view details)
File details
Details for the file voicex-1.1.7.tar.gz
.
File metadata
- Download URL: voicex-1.1.7.tar.gz
- Upload date:
- Size: 58.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72e6c385e2428f7e778ebc70af59d43a77fcae878c7b189531a38415674083f1 |
|
MD5 | 526e9fd5818cdfe50e0cc038f77e7507 |
|
BLAKE2b-256 | 58220fe4dac2a8e2a1f284c2951569e71b428c718c431414ac1d422041f8ae64 |
File details
Details for the file voicex-1.1.7-py3-none-any.whl
.
File metadata
- Download URL: voicex-1.1.7-py3-none-any.whl
- Upload date:
- Size: 60.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ada0bcbb16b3aa5dc0c4bf8f83e56684f98f63f729816fe12625dd34d9b0d20 |
|
MD5 | 0b0b0caa1f98c129b0bc34c40417eb8e |
|
BLAKE2b-256 | 93fbb5cb24b0fbf1e5ce9261f8d27017d9a4138542da2bba493404e434bfa577 |