Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 979 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 979 Bytes

wercker status

Overview

A meteor package for IBM Watson service.

Text to Speech

Provide a text, "How are you?", it gets converted to corresponding voice using IBM Watson Text to Speech Service.

Setting up.

Go to IBM Bluemix and setup an account (it is free for 30 days) and enable Text to Speech.

meteor add lucidprogrammer:meteor-watson

Following environment variables are needed.

export WatsonSpeechFromTextUsername="username"
export WatsonSpeechFromTextPassword="pwd"
//(this is where the voice files will get saved.)
export WatsonSpeechFromTextDirectory="/path/to/dir"

From the client, you can just call, Meteor.call("text/to-speech","Hello how are you");

Additional Watson features.

It is easy to add additional features supporting all other watson services, refer to watson.js.