speech2text
Native javascript library for recognization speech & converting into text
Last updated 3 years ago by rroxysam .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install speech2text 
SYNC missed versions from official npm registry.

speech2text

Speech Recognization with Native Javascript

NPM

To use, follow the below instructions:

First include library into the page, And here are some instructions to use:


/** Initialise the speech Recognization*/
var speech2text = new speech2text();

/** Add some commands if any*/
var commands = {
  play: function() {
    document.querySelector("video").play();
  },
  stop: function() {
    document.querySelector("video").pause();
  }
};
speech2text.addCommands(commands);

/** Start Interacting with SPEECH by allowing your microphone */
speech2text.start(function(voice) {

  // What you say, will be console here
  console.log(voice);
  
  // Optional: Let the robot to speak what you say 
  speech2text.onReadLoud(voice);

});

Demo

Play with speech recognition demo

Current Tags

  • 2.0.6                                ...           latest (3 years ago)

8 Versions

  • 2.0.6                                ...           3 years ago
  • 2.0.5                                ...           3 years ago
  • 2.0.4                                ...           3 years ago
  • 2.0.3                                ...           3 years ago
  • 2.0.2                                ...           3 years ago
  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Total 9
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |