@wakebox/node
v0.1.2
Published
On-device wake word. No key.
Readme
On-device wake word, no key.
npm install @wakebox/nodeCreate a phrase file at https://wakebox.ai, then:
import { Wakebox } from "@wakebox/node"
const engine = await Wakebox.create(["phrase.onnx"], [0.5])
const index = await engine.process(new Int16Array(1280)) // 0, or nullThe same import works from CommonJS with require("@wakebox/node"). process takes 16 kHz mono int16 audio and returns the phrase index, or null. Sensitivity is a number from 0 to 1 on each file. It is not stored in the file.
