Skip to main content

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)

Source distribution for voicex 1.1.7
File Size Uploaded
voicex-1.1.7.tar.gz 58.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for voicex 1.1.7
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.1.7 This release

2 release files

1.1.6

2 release files

1.1.2

2 release files

1.1.0

2 release files

1.0.8

2 release files

1.0.7

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page