text-to-speech
Turn your strings into voice.
Note: A user interaction must be made on the webpage for the speech synthesis to work. That means the must trigger an event on the web page, e.g. a click event.
Table of Contents
import TextToSpeech from "aiava-text-to-speech";
const speaker = new TextToSpeech();
speaker.say("Hello World!");
speaker.language = "nb-NO";
speaker.say("Hei Verden!");
Installation
yarn add aiava-text-to-speech
Or with NPM
npm i -S aiava-text-to-speech
Documentation
All the documentation is located on the Text To Speech documentation site.