xiaozhi-esp32-server/main/xiaozhi-server/models/snakers4_silero-vad/examples/go
2026-09-02 15:09:39 -04:00
..
cmd feat: add T1D assistant integrations and server customizations 2026-09-02 15:09:39 -04:00
go.mod feat: add T1D assistant integrations and server customizations 2026-09-02 15:09:39 -04:00
go.sum feat: add T1D assistant integrations and server customizations 2026-09-02 15:09:39 -04:00
README.md feat: add T1D assistant integrations and server customizations 2026-09-02 15:09:39 -04:00

Golang Example

This is a sample program of how to run speech detection using silero-vad from Golang (CGO + ONNX Runtime).

Requirements

  • Golang >= v1.21
  • ONNX Runtime

Usage

go run ./cmd/main.go test.wav

Note

Make sure you have the ONNX Runtime library and C headers installed in your path.