vad logo

vad

Enrichment pending
ricky0123/vad

Voice activity detector (VAD) for the browser with a simple API

GraphCanon updated today · GitHub synced today

2.0k
Stars
271
Forks
77
Open issues
14
Watchers
5mo
Last push
TypeScript OtherCreated Oct 17, 2022

Trust & integrity

Full report
Maintenance
Slowing (161d since push)
As of today · Source: github_public_v1
Provenance
Not a fork · Personal account
As of today · Source: github_public_v1
Security (OSV)
29 low (29 low)
As of today · Source: osv@v1

Public GitHub metadata and optional OSV dependency scans. Signals, not a guarantee. Trust methodology.

Overview

Voice activity detector (VAD) for the browser with a simple API

Capability facts

MCP server
No MCP server detected

Source: repo_scan · Jul 11, 2026

Languages
typescript, javascript, python

Source: github.language+package.json+pyproject.toml · Jul 11, 2026

Categories

Tags

README

Quick Start

To use the VAD via a script tag in the browser, include the following script tags:

<script src="https://cdn.jsdelivr.net/npm/onnxruntime-web@1.22.0/dist/ort.wasm.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@ricky0123/vad-web@0.0.29/dist/bundle.min.js"></script>
<script>
  async function main() {
    const myvad = await vad.MicVAD.new({
      onSpeechStart: () => {
        console.log("Speech start detected")
      },
      onSpeechEnd: (audio) => {
        // do something with `audio` (Float32Array of audio samples at sample rate 16000)...
      },
      onnxWASMBasePath:
        "https://cdn.jsdelivr.net/npm/onnxruntime-web@1.22.0/dist/",
      baseAssetPath:
        "https://cdn.jsdelivr.net/npm/@ricky0123/vad-web@0.0.29/dist/",
    })
    myvad.start()
  }
  main()
</script>

Documentation for bundling the voice activity detector for the browser or using it in node or React projects can be found on vad.ricky0123.com.