DEPRECATED - JavaScript modules for Mozilla's cloud speech recognition API.
Перейти к файлу
Andre Natal 3820cdcc95 adding language to test page 2019-06-20 17:00:37 -07:00
build API cleanups, pull webrtcvad_js from npm. 2018-11-27 09:31:23 -07:00
src Switch test.html from tabs to spaces. 2018-12-12 08:01:46 -07:00
.eslintrc.yml API cleanups, pull webrtcvad_js from npm. 2018-11-27 09:31:23 -07:00
.gitignore API cleanups, pull webrtcvad_js from npm. 2018-11-27 09:31:23 -07:00
.travis.yml API cleanups, pull webrtcvad_js from npm. 2018-11-27 09:31:23 -07:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file 2019-06-20 16:22:58 -07:00
LICENSE Initial commit 2017-08-31 00:58:00 +07:00
README.md API cleanups, pull webrtcvad_js from npm. 2018-11-27 09:31:23 -07:00
index.html adding language to test page 2019-06-20 17:00:37 -07:00
package-lock.json Switch test.html from tabs to spaces. 2018-12-12 08:01:46 -07:00
package.json Switch test.html from tabs to spaces. 2018-12-12 08:01:46 -07:00
test.html Switch test.html from tabs to spaces. 2018-12-12 08:01:46 -07:00

README.md

SpeakToMe API

Version License

JavaScript module for Mozilla's SpeakToMe API.

Installation

Browser

Install and use by directly including the browser files:

<head>
  <title>My Speech-enabled Web Page</title>
  <script src="stm_web.min.js"></script>
</head>

<body>
<script>
	var stm = SpeakToMe({
		listener: listener
	});

	function listener(msg) {
		console.log('listener', msg);
	}
	stm.listen();
</script>
</body>