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

Uploaded Source

Built Distribution

voicex-1.1.2-py3-none-any.whl (61.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: voicex-1.1.2.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

Hashes for voicex-1.1.2.tar.gz
Algorithm Hash digest
SHA256 3b0451312e1b0195a030250c0ff172c2946e3da1db15d4dd8109a60be033dd6c
MD5 afafb415adc4d73792e1f8e4733b57be
BLAKE2b-256 ec174feff229797ae5e0d725e09adc3c8fc4199bd78bd642c02cfbe18c11428d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: voicex-1.1.2-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

Hashes for voicex-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9fe86b4b1cf76f4a5be56689312317d54c828a1cb22114cd29906be75edd4649
MD5 40766ab2551824690e3a0af0cdb3b651
BLAKE2b-256 cc73627dae26a51111749d0fe84abfcf34badce09cb02b45558e0a74040412a8

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