5个语音控制JavaScript开发库
1. annyang.js
annyang is a tiny javascript library that lets your visitors control your site with voice commands. annyang has no dependencies, weighs less than 1kb, and is free to use and modify. annyang understands commands with named variables, splats, and optional words. Use named variables for one word arguments in your command. Use splats to capture multi-word text at the end of your command (greedy). Use optional words or phrases to define a part of the command as optional.
2. Voix.js
Voix.JS is handy, lightweight JavaScript library for adding voice commands to your site, games and apps. Voix.JS is browser compatible and progressively enhancing browsers that support SpeechRecognition, while leaving users with older browsers unaffected.
3. Voice-Commands.js
Voice Command.js is a Simple wrapper for Javascript Speech-to-text to add voice commands.
4. JuliusJS
JuliusJS is a speech recognition library for the web.It actively listens to the user to transcribe what they are saying through a callback.
5. PocketSphinx.js
Pocketsphinx.js is a speech recognition library written entirely in JavaScript and running entirely in the web browser. It does not require flash or any browser plug-in and does not do any server-side processing. It makes use of Emscripten to convert PocketSphinx, an open-source speech recognizer written in C, into JavaScript. Audio is recorded with the getUserMedia JavaScript API and processed through the Web Audio API.