/TellMe.js

Easy-to-use voice API for JavaScript

Primary LanguageJavaScriptApache License 2.0Apache-2.0

At a Glance

TellMe.js is a library that simplifies work with voice in JavaScript.

How to Get Started

Copy the source/tellme.js file to your project.

Requirements

No special requirements.

Usage

The very basic usage looks like the example below:

tellMeIn("en-US").say(
    "Hello! How are you doing?"
)

Everything starts with tellMeIn() method that takes the only string parameter which is a locale identifier of your text: en-US, fr-FR, ru-RU, etc.

Also, the library can notify you when it finished speaking:

tellMeIn("en-US")
    .say(
        "Hello! How are you doing?"
    )
    .onFinished(function() {
        console.log("Finished");
    });

License

TellMe.js is available under the Apache 2.0 license. See the LICENSE file for more info.