Metadata-Version: 2.4
Name: wakebox
Version: 0.1.1
Summary: On-device wake word. No key.
License-Expression: MIT
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: onnxruntime
Requires-Dist: sounddevice
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: soundfile; extra == "dev"

On-device wake word, no key.

```bash
pip install wakebox
```

Create a phrase file at [https://wakebox.ai](https://wakebox.ai), then:

```python
from wakebox import Engine
import numpy as np

engine = Engine(["phrase.onnx"], sensitivities=[0.5])
index = engine.process(np.zeros(1280, dtype=np.int16))  # 0, or None
```

`process` takes 16 kHz mono int16 audio and returns the phrase index, or `None`. Sensitivity is a number from 0 to 1 on each file. It is not stored in the file.
