text-to-speech-stream
v1.0.1
Published
Play streaming text through the WebSpeech SpeechSynthesis API.
Downloads
6
Readme
text-to-speech-stream
Simple text-stream wrapper around the WebSpeech SpeechSynthesizer API for Google Chrome.
Usage
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!")