🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

speech-to-text-stream

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

speech-to-text-stream

Record and recognize, and stream speech transcripts through the WebSpeech API.

1.0.1
latest
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

speech-to-stext-stream

JavaScript Style Guide

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
})

FAQs

Package last updated on 30 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts