Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ttsbroker

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ttsbroker

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

  • 0.1.3
  • PyPI
  • Socket score

Maintainers
1

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/

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc