Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alttch/ttsbroker
Simple TTS (Text-To-Speech) broker for Python
https://github.com/alttch/ttsbroker
aggregator amazon-polly api google-cloud google-wavenet text-to-speech tts watson
Last synced: about 18 hours ago
JSON representation
Simple TTS (Text-To-Speech) broker for Python
- Host: GitHub
- URL: https://github.com/alttch/ttsbroker
- Owner: alttch
- License: apache-2.0
- Created: 2018-07-30T21:39:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-30T23:32:29.000Z (over 4 years ago)
- Last Synced: 2024-12-12T07:41:12.402Z (30 days ago)
- Topics: aggregator, amazon-polly, api, google-cloud, google-wavenet, text-to-speech, tts, watson
- Language: Python
- Size: 20.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ttsbroker
Simple TTS (Text-To-Speech) broker for PythonLicense: 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:
```python
from ttsbroker import TTSEngine as TTSEe = 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/