Metadata-Version: 2.4
Name: huri-module-vad
Version: 0.1.0
Summary: HuRI module: Voice activity detection (WebRTC VAD): microphone frames in, speech segments out
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: huri-core[server]<0.5,>=0.4
Requires-Dist: huri-events<0.2,>=0.1
Requires-Dist: numpy<2,>=1.26
Requires-Dist: webrtcvad==2.0.10
Requires-Dist: setuptools<82

# huri-module-vad

Voice activity detection (WebRTC VAD): microphone frames in, speech segments out.

| Module | Topics | What it does |
|---|---|---|
| `vad` | `huri.audio.in` → `huri.voice` | Detects speech in microphone frames (WebRTC VAD) |

```sh
pip install -e packages/huri-module-vad     # from a huri-modules checkout, next to huri-core and huri-events
HURI_MODULES=vad ...   # enable it on the server
```

A distribution of
[huri-modules](https://github.com/Lucy-Robotics/huri-modules), versioned in its
`pyproject.toml` (see RELEASING.md there). It depends on `huri-core` and
`huri-events`, which are not on PyPI: without a checkout, install them from git
in the same pip command, so pip never looks them up on an index:

```sh
ref=0.1.0   # a huri-modules release tag
core=0.4.0  # HURI_CORE_REF in that release's versions.env
pip install \
  "huri-core[server] @ git+https://github.com/Lucy-Robotics/huri-core.git@$core" \
  "huri-events @ git+https://github.com/Lucy-Robotics/huri-modules.git@$ref#subdirectory=packages/huri-events" \
  "huri-module-vad @ git+https://github.com/Lucy-Robotics/huri-modules.git@$ref#subdirectory=packages/huri-module-vad"
```
