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.6.tar.gz
(57.9 kB
view details)
Built Distribution
voicex-1.1.6-py3-none-any.whl
(60.7 kB
view details)
File details
Details for the file voicex-1.1.6.tar.gz
.
File metadata
- Download URL: voicex-1.1.6.tar.gz
- Upload date:
- Size: 57.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72557b4f9efe5c5d2684ad066438ee6e7444dbc6425c4486e40aca9c41046b53 |
|
MD5 | d6f2bb293289d189e05ebbe6b142ecc5 |
|
BLAKE2b-256 | 5e40faeb5fc11253017da8a7b60b61e38e464f3b277e0e293cc5e132b005c54d |
File details
Details for the file voicex-1.1.6-py3-none-any.whl
.
File metadata
- Download URL: voicex-1.1.6-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 | 0e4db96accec60df6ba25daf8698cb51465c6d357cc1a470db1a373fc5cb3afd |
|
MD5 | 85c43ce7d3825c6463807c1c4d6e29bf |
|
BLAKE2b-256 | 328b90f52ad483bf442e4b19a855f5fa68ffbd282fe733aea6517f49f03adb9e |