Skip to main content

ttsbroker

Simple TTS (Text-To-Speech) broker for Python

License: Apache License 2.0

Warning: Refer to TTS provider license about caching, storing, redistributing and playing rights for the audio files generated with TTS engine.

The module contains providers for:

  • gcloud: Google Cloud TTS (requires cloud service account key), requires oauth2client python module

  • polly: Amazon Polly (requires AWS API keys), requires boto3 python module

  • watson: IBM Watson (requires Watson service credentials)

Usage example:

from ttsbroker import TTSEngine as TTSE

e = TTSE(
    cache_dir='/data/cache/gcloud',
    cache_format='ogg',
    device=0,
    gain=0,
    provider='gcloud')
e.set_key('client_service_key.json')    
e.say('test number one', gain=2)
e.say('test number two', provider_options={ 'voice': 'en-US-Wavenet-E' })

(c) 2018 Altertech Group, https://www.altertech.com/

Metadata

Release files for ttsbroker 0.1.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 ttsbroker 0.1.3
File Size Uploaded
ttsbroker-0.1.3.tar.gz 6.0 kB Details

Release files / ttsbroker-0.1.3.tar.gz

Download URL ttsbroker-0.1.3.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fa331489bcf6ca15ef0f836e73df5d4c2b057277080f4dd7080f3b02c4e601ce
BLAKE2b-256 checksum
How to use checksums
e0f547f394d64428c409581bffff2bb68f0cd01f27ee9d8328f6d9b1de861f0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.1.3 This release

1 release file

0.1.2

1 release file

0.1.1

2 release files

0.1.0

1 release file

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