Play streaming text through the WebSpeech SpeechSynthesis API.
npm install text-to-speech-stream
Simple text-stream wrapper around the WebSpeech SpeechSynthesizer API for Google Chrome.
``javascript
TextToSpeechStream.getVoices() // Return all voice objects
var voice = TextToSpeechStream.getVoiceByName("Alex")
var synthesizer = new TextToSpeechStream({
voice: voice,
pitch: 1,
rate: 1
})
synthesizer.write("Hello world!")
``