Simple TTS (Text-To-Speech) broker for Python
Project description
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/
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
File details
Details for the file ttsbroker-0.1.3.tar.gz.
File metadata
- Download URL: ttsbroker-0.1.3.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa331489bcf6ca15ef0f836e73df5d4c2b057277080f4dd7080f3b02c4e601ce
|
|
| MD5 |
7b7cdd5447544609c21b21e9496f7f65
|
|
| BLAKE2b-256 |
e0f547f394d64428c409581bffff2bb68f0cd01f27ee9d8328f6d9b1de861f0d
|