Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chijete/crafyporcupineweb
PorcupineWeb instance: Porcupine Wake Word (offline voice keyword detection) with async script load.
https://github.com/chijete/crafyporcupineweb
Last synced: 7 days ago
JSON representation
PorcupineWeb instance: Porcupine Wake Word (offline voice keyword detection) with async script load.
- Host: GitHub
- URL: https://github.com/chijete/crafyporcupineweb
- Owner: chijete
- License: apache-2.0
- Created: 2023-10-26T22:30:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-26T22:41:07.000Z (about 1 year ago)
- Last Synced: 2023-10-26T23:31:53.772Z (about 1 year ago)
- Language: JavaScript
- Size: 5.55 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CrafyPorcupineWeb
PorcupineWeb instance: Porcupine Wake Word (offline voice keyword detection) with async script load.## Porcupine Picovoice instance
Original repository: https://github.com/Picovoice/porcupine
Official documentation: https://picovoice.ai/docs/quick-start/porcupine-web/## How to use
Complete example in index.php## How to add custom keyword
1. Train model in https://console.picovoice.ai/ppn
2. Download for "Web (WASM)"
3. Copy .ppn file to lib/keywords/
4. Use method setKeyword of CrafyPorcupineWeb class.## How to change or update model
1. Download new model from https://github.com/Picovoice/porcupine/tree/master/lib/common
2. Copy .pv file to lib/models/
3. In file lib/models/porcupineModel.js, rewrite the parameters "publicPath" and "customWritePath" of var "porcupineModel".## How to update library
Update the folder lib/node_modules using npm.
`npm install @picovoice/web-voice-processor @picovoice/porcupine-web`