New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bumblebee-hotword

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bumblebee-hotword - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

hotwords/ok_google.js

5

lib/bumblebee.js

@@ -15,2 +15,3 @@ const EventEmitter = require('events');

jarvis: require('../hotwords/jarvis'),
ok_google: require('../hotwords/ok_google'),
porcupine: require('../hotwords/porcupine'),

@@ -49,6 +50,6 @@ terminator: require('../hotwords/terminator')

data,
sensitivity: sensitivity || this.defaultSensitivity
sensitivity: sensitivity === undefined? this.defaultSensitivity : sensitivity
};
}
else throw new Error('no hotword data');
else throw new Error('no hotword data for '+name);
}

@@ -55,0 +56,0 @@

{
"name": "bumblebee-hotword",
"version": "0.2.0",
"version": "0.2.1",
"description": "A minimalist hotword / wake word for the web, based on Porcupine",

@@ -19,3 +19,4 @@ "main": "lib/bumblebee.js",

"url": "https://github.com/jaxcore/bumblebee-hotword"
}
},
"dependencies": {}
}

50

README.md

@@ -85,2 +85,3 @@ ![screenshot](logo.png)

* jarvis
* ok google
* porcupine

@@ -105,2 +106,20 @@ * terminator

### Adding a Custom Hotword
Like the open source hotwords, the file must be in Porcupine's "_wasm.ppn" format.
You can use the [tools/convert_ppn.sh](tools/convert_ppn.sh) shell script (uses the xdd command line program) to convert the PPN file to a JavaScript file:
```
sh tools/convert_ppn.sh my_custom_hotword_wasm.ppn
```
The resulting .js file can then be added to Bumblebee:
```
import my_custom_hotword from './my_custom_hotword'
bumblebee.addHotword('my_custom_hotword', my_custom_hotword, 0.5)
```
### Sensitivity

@@ -185,2 +204,6 @@

**0.2.1:**
- add "ok google" hotword
**0.2.0:**

@@ -194,28 +217,1 @@

- add microphone selection
**0.0.9:**
- added blueberry, and white_smoke to the default hotwords, removed debug console.log's
**0.0.8:**
- add bufferSize option
**0.0.7:**
- upgrade to Porcupine v1.8, the 'data' event now contains float data and the hotword
**0.0.6:**
- add the default hotwords back in to simplify the syntax to .addHotword('bumblebee')
**0.0.5:**
- fixed start/stop related bugs
- added separate setLineColor() setBackgroundColor() methods
**0.0.4:**
- added spectrum analyser
- setMuted() and setMicVolume() methods
- DeepSpeech example
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc