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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file cTTS-0.0.3.tar.gz.

File metadata

  • Download URL: cTTS-0.0.3.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

File hashes

Hashes for cTTS-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2a53d56904dd12cab1799ddf3f0a590b0ebda1bcf1d98b46db3b60b52f299698
MD5 eda3c83eea822f54c680a5ed4b0e4446
BLAKE2b-256 365b899b5464b4fb8202c106189567127140146cf7b74e29269af4d183963d6b

See more details on using hashes here.

File details

Details for the file cTTS-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: cTTS-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

File hashes

Hashes for cTTS-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 335649bd2b34d7d48ad8346a4e71021d78a86a2b71c676bf32b15bfaac6085e7
MD5 006081eb947591ce6f66838789df987c
BLAKE2b-256 b9b377bc04d0cce376be5914e082bed04e8ba0321151540cd0e2487a5a785e35

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