Skip to main content

Python module for using a Coqui TTS server

Project description

Maintaner follow on Twitter Open Source

cTTS

A super simple Python module for synthesizing voice using a Coqui TTS server.

Requirements

Access to a running Coqui TTS server with a loaded model is required (eg: http://localhost:5002).

How to use

First install module with pip install cTTS.

Run a simple Python code like this:

import cTTS

cTTS.synthesizeToFile("output.wav", "This is a test.")

Short video on how to use it: Watch me

Arguments

  • filename: Path, filename, .wav suffix of output file with synthesized voice.
  • text: Text to be synthesized.
  • url (optional): Protocol, server name/ip and port of Coqui TTS server (default: http://localhost:5002)
  • addStopChar (optional): If "text" doesn't end with a dot, question or exclamation mark a dot is added as last character to avoid MAX_DECODER_STEPS issue (default: True).

Thanks

Thanks to all open voice communities for their effort for open voice and to the creator of gTTS package for name inspiration :-).

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

cTTS-0.0.3.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

cTTS-0.0.3-py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 3

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