🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

tts-watson

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tts-watson

Text to speech using watson

1.0.0
90

Supply Chain Security

100

Vulnerability

98

Quality

100

Maintenance

100

License

Unpopular package

Quality

This package is not very popular.

Found 1 instance in 1 package

Network access

Supply chain risk

This module accesses the network.

Found 1 instance in 1 package

Uses eval

Supply chain risk

Package uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.

Found 1 instance in 1 package

Maintainers
1

tts-watson

Text to speech using watson

Note: To gain in performance response from watson are streamed and directly send to pyaudio to hear it.

Requirements

  • Python 2.7
  • Pip
  • portaudio, can be installed with brew install portaudio (mac) or apt-get install portaudio19-dev(linux)

Installation

Install with pip: pip install tts-watson

Run the playground

Simply run in command line: tts-watson text to sound i want (you will hear: text to sound i want)

At the first launch it will create a config file located to ~/.config-tts-watson.yml and ask you your watson credentials

Usage for developers

Bootstrap example:

from tts_watson.TtsWatson import TtsWatson

ttsWatson = TtsWatson('watson_user', 'watson_password', 'en-US_AllisonVoice') # en-US_AllisonVoice is a voice from watson you can found more to: https://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/text-to-speech/using.shtml#voices
ttsWatson.play("The text which i want to be a sound")

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