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.0.tar.gz
(56.2 kB
view details)
Built Distribution
voicex-1.1.0-py3-none-any.whl
(56.3 kB
view details)
File details
Details for the file voicex-1.1.0.tar.gz
.
File metadata
- Download URL: voicex-1.1.0.tar.gz
- Upload date:
- Size: 56.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7886ac13fdf7e4e900e8075b9fd6f87cf06a8603a9dd66272e35ee8688c8860b |
|
MD5 | 519219d6c14944b743ad72b811bbb6a5 |
|
BLAKE2b-256 | b320eba932dd8cb973746421ab887a081328cee0784c7537ed9293fa540b0d8d |
File details
Details for the file voicex-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: voicex-1.1.0-py3-none-any.whl
- Upload date:
- Size: 56.3 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 | c9b797939077854dfc2a430e2440f58924ef6dc0d108541dec0dce5b05db4083 |
|
MD5 | 03113b10c40eccd993852c66f570ac3a |
|
BLAKE2b-256 | fb137c70c4fc83fa614957edfcb8f1b55558d8e9bb401e1d17db3f8aad2387b1 |