Thanks to the webRTC, many awesome things has been implemented in the latest browsers. Including the awesome webkitSpeechRecognition API available for google chrome, that allow you to convert speech to text (and pitifully available only for this browser till the date).
artyom.js and use the
redirectRecognizedTextOutput function. Note that the plugins based in webkitSpeechRecognition supports many languages as spanish, german, russian etc.
If your user is forced to use google chrome or is a private project of yours, then check out the following libraries, i know they'll be useful for you.
3. Voix JS
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.
Annyang uses webkitSpeechRecognition under the hood.
(Brivery, Modesty? Where !?). Artyom is a Robust Wrapper of the Google Chrome SpeechSynthesis and SpeechRecognition that allows you to create a virtual assistent Make awesome stuff with this plugin, build your own Siri,Google Now or Cortana within your web application. Supports continuous mode.
Artyom allows to add flexible voice commands (match commands and wildcards) and speak text easily with just this library. Although all the limitations, artyom offers a lot of useful features that you'll find lovely because is useful for private projects that want to reach something awesome.
Artyom.js has been developed with by Our Code World, you can see an implementation tutorial here.
If you think that we're passing by another awesome voice commands plugin, please share it with us in the comment box.