TellMe.js is a library that simplifies work with voice in JavaScript.
Copy the source/tellme.js file to your project.
No special requirements.
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");
});TellMe.js is available under the Apache 2.0 license. See the LICENSE file for more info.