speech-to-text-stream
v1.0.1
Published
Record and recognize, and stream speech transcripts through the WebSpeech API.
Downloads
2
Readme
speech-to-stext-stream
Simple text-stream wrapper around the WebSpeech API for Google Chrome.
Usage
var recognizer = new SpeechToTextStream()
button.onclick = function () {
recognizer.start() // Can only be started by user interaction
}
recognizer.on('data', function (token) {
// token is one spoken word
})
recognizer.on('speechstart', function (token) {
// speech has been recognized
})
recognizer.on('speechend', function (token) {
// speech has stopped or paused
})