Simple text-to-speech function in supported browsers
:warning: Experimental Technology :warning:
Very limited browser support. Please check the compatability table for info.
---Install
$ npm install --save browser-speak
Usage
const speak = ; ;//=> :speaker: "unicorns" ;//=> :speaker: "another voice"
API
speak(msg, idx)
msg
Type: string
The message to be said.
idx
Type: integer
Default: 0
The voice index to speak with.
License
MIT © Luke Edwards