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.0.8.tar.gz
(58.5 kB
view details)
Built Distribution
voicex-1.0.8-py3-none-any.whl
(61.5 kB
view details)
File details
Details for the file voicex-1.0.8.tar.gz
.
File metadata
- Download URL: voicex-1.0.8.tar.gz
- Upload date:
- Size: 58.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28af6a2d27709c1713810d458841f98cfe4e46f1cfe78398885fe9d55bcdd2f7 |
|
MD5 | e08366a632749356d8669bf3259ca4e6 |
|
BLAKE2b-256 | 359865601f26e5a60225106df382492f35629c2db7354533b7b9f7d9ce01e768 |
File details
Details for the file voicex-1.0.8-py3-none-any.whl
.
File metadata
- Download URL: voicex-1.0.8-py3-none-any.whl
- Upload date:
- Size: 61.5 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 | 0fcabe8b768d197176c013b25912f4dfc8f2d1c748a90e575ed52d930b99d002 |
|
MD5 | afefcf342a095ca829783b3e8941c41f |
|
BLAKE2b-256 | 57255a4cf00d91e8fbea056e73173060159953ee2dfaaf956784e6301b508604 |