speaktome-api

0.2.1 • Public • Published

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>

Package Sidebar

Install

npm i speaktome-api

Weekly Downloads

1

Version

0.2.1

License

MPL

Unpacked Size

580 kB

Total Files

27

Last publish

Collaborators

  • andrenatal
  • dietrich
  • dmarcos
  • potch