lawrencenull / speaktome-web

JavaScript modules for Mozilla's cloud speech recognition API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpeakToMe API

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.min.js"></script>
  <script src="webrtc_vad.js"></script>
</head>

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

function listener(msg) {
	console.log('listener', msg);---------------------------------------------------------------------
}

stm.listen();

</script>
</body>

About

JavaScript modules for Mozilla's cloud speech recognition API.

License:Mozilla Public License 2.0


Languages

Language:JavaScript 63.8%Language:HTML 36.2%