makepad/libs/voice
Admin 0727415daa voice: pure-rust silero v5 vad + learned speech gate in window voice input
Ports the silero v5 16k branch to pure rust (minimal onnx-protobuf weight
extraction, hardcoded graph: stft-conv, 4x conv+relu, lstm cell, sigmoid
head), 512-sample chunks with 64-sample carried context. Validated against
onnxruntime to 2.3e-6 max diff (fixtures committed), ~425us/chunk release.
Model loads from repo-root silero_vad.onnx or MAKEPAD_VAD_MODEL. vad-test
bin for wav files. window_voice_input now gates packets on vad probability
(0.5 enter / 0.35 exit) and falls back to the rms gate when the model file
is missing — the log line says which gate is active.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-28 13:47:05 +02:00
..
src voice: pure-rust silero v5 vad + learned speech gate in window voice input 2026-07-28 13:47:05 +02:00
swift cleanup 2026-02-19 14:28:24 +01:00
tests voice: pure-rust silero v5 vad + learned speech gate in window voice input 2026-07-28 13:47:05 +02:00
build.rs fix up voice build on non tahoe 2026-02-26 15:22:40 +01:00
Cargo.toml voice: pure-rust silero v5 vad + learned speech gate in window voice input 2026-07-28 13:47:05 +02:00