Downloads · 30 days
15
22% of all-time downloads
Sky-Kim/com.sky.sentis.silero-vad
com.sky.sentis.silero-vad is a voice activity detection model from Sky-Kim. Use it for the voice activity detection task on the model card, and read the license before you ship it in a product. It is set up for unity-sentis. The card lists the license as mit.
Silero voice activity detection converted to Unity Inference Engine (Sentis) FP16.
Downloads · 30 days
15
22% of all-time downloads
All-time downloads
69
Public
Repo size
467 KB
Likes
0
Public
Click a slice to open those files.
.sentis467 KB · 97%
From the Hugging Face model README
Silero voice activity detection converted to Unity Inference Engine (Sentis) FP16.
silero_vad_fp16.sentis
SileroVad.cs # self-contained Unity Sentis inference
The model takes one 512-sample frame (16 kHz mono) plus the recurrent LSTM state h/c, and returns a
speech probability plus the updated state. Carry h/c across frames; clear them to reset.
A complete self-contained implementation lives in SileroVad.cs (frame buffering,
LSTM state carry, start/end thresholding with a silence timeout, SpeechStarted/SpeechEnded events).
Minimal usage:
var vad = new SileroVad(BackendType.CPU);
vad.Load(modelRoot); // folder holding silero_vad_fp16.sentis
vad.SpeechStarted += () => { /* ... */ };
vad.StartListening();
// each frame: push 16 kHz mono samples, then drain
vad.PushSamples(micSamples, micSampleCount);
vad.Pump(); // call regularly (e.g. once per frame)
Pump runs the model synchronously every 32 ms. To control how the worker is created (for example worker options of a
custom inference build), set WorkerFactory before Load:
vad.WorkerFactory = (model, backend) => new Worker(model, backend);
MIT. Converted from snakers4/silero-vad (MIT).