Skip to content

A Golang (CGO) implementation of a Silero VAD powered speech detector

License

Notifications You must be signed in to change notification settings

streamer45/silero-vad-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


silero-vad-go

A simple Golang (CGO + ONNX Runtime) speech detector powered by Silero VAD

Go Reference License: MIT


Requirements

  • Golang >= v1.21
  • A C compiler (e.g. GCC)
  • ONNX Runtime (v1.18.1)
  • A Silero VAD model (v5)

Development

In order to build and/or run this library, you need to export (or pass) some env variables to point to the ONNX runtime files.

Linux

LD_RUN_PATH="/usr/local/lib/onnxruntime-linux-x64-1.18.1/lib"
LIBRARY_PATH="/usr/local/lib/onnxruntime-linux-x64-1.18.1/lib"
C_INCLUDE_PATH="/usr/local/include/onnxruntime-linux-x64-1.18.1/include"

Darwin (MacOS)

LIBRARY_PATH="/usr/local/lib/onnxruntime-linux-x64-1.18.1/lib"
C_INCLUDE_PATH="/usr/local/include/onnxruntime-linux-x64-1.18.1/include"
sudo update_dyld_shared_cache

License

MIT License - see LICENSE for full text

About

A Golang (CGO) implementation of a Silero VAD powered speech detector

Resources

License

Stars

Watchers

Forks

Packages

No packages published