speaktome-api
v0.2.1
Published
JavaScript modules for Mozilla's cloud speech recognition API
Downloads
6
Readme
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>