1.0.2 • Published 7 years ago

text-to-speech-window v1.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

This is a small script for transfering text to speech in the window.

To access this package use Require('text-to-speech-window').

Main Method = synthVoice: function(text) { const synth = window.speechSynthesis; const utterance = new SpeechSynthesisUtterance(); utterance.text = text; synth.speak(utterance); }

Text is the text you want to have read.