mirror of
https://github.com/snakers4/silero-vad.git
synced 2026-02-04 17:39:22 +08:00
It's unclear why we'd want this feature. It seems to make things even less isolated and self-contained than it already is, which certainly isn't a boon for an example.
Stream example in Rust
Made after C++ stream example
Dependencies
- To build Rust crate
ortyou needccinstalled.
Usage
Just
cargo run
If you run example outside of this repo adjust environment variable
SILERO_MODEL_PATH=/path/to/silero_vad.onnx cargo run
If you need to test against other wav file, not recorder.wav, specify it as the first argument
cargo run -- /path/to/audio/file.wav