Skip to main content

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.7.tar.gz (56.1 kB view details)

Uploaded Source

Built Distribution

voicex-1.0.7-py3-none-any.whl (56.2 kB view details)

Uploaded Python 3

File details

Details for the file voicex-1.0.7.tar.gz.

File metadata

  • Download URL: voicex-1.0.7.tar.gz
  • Upload date:
  • Size: 56.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for voicex-1.0.7.tar.gz
Algorithm Hash digest
SHA256 5ecc035c1e347ab6b846fb4879ef44a0de60f104dd4b6d15c835fee5b7fb1114
MD5 8b5dd91482f0676a88091c5f8249d994
BLAKE2b-256 8ebb2b2ab58ee31bfe193eb818438b65164ace48237e4515a7e5965449582735

See more details on using hashes here.

File details

Details for the file voicex-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: voicex-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 56.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for voicex-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 081fff299068a526ad6b1b82d3734bbf41fe7b8d9b6273f5fcc43f151d68e4d3
MD5 becce343ab69b99bd4ed7148cfad97c8
BLAKE2b-256 91941f1095ac3f19b2c3692159f8c54637bc1b5d029078a1bffc68745eb01f06

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page