Skip to main content

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 :-).

Metadata

Release files for cTTS 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cTTS 0.0.3
File Size Uploaded
cTTS-0.0.3.tar.gz 8.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cTTS 0.0.3
File Interpreter ABI Platform
cTTS-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 16.8 kB

Release files / cTTS-0.0.3.tar.gz

Download URL cTTS-0.0.3.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2a53d56904dd12cab1799ddf3f0a590b0ebda1bcf1d98b46db3b60b52f299698
BLAKE2b-256 checksum
How to use checksums
365b899b5464b4fb8202c106189567127140146cf7b74e29269af4d183963d6b
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / cTTS-0.0.3-py3-none-any.whl

Download URL cTTS-0.0.3-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
335649bd2b34d7d48ad8346a4e71021d78a86a2b71c676bf32b15bfaac6085e7
BLAKE2b-256 checksum
How to use checksums
b9b377bc04d0cce376be5914e082bed04e8ba0321151540cd0e2487a5a785e35
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

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