New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ricky0123/vad

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ricky0123/vad

Powerful, user-friendly voice activity detector (VAD) for the browser

  • 0.2.0
  • npm
  • Socket score

Version published
Weekly downloads
95
decreased by-30.66%
Maintainers
1
Weekly downloads
 
Created
Source

Voice Activity Detection for the Browser

npm version

This package aims to provide an accurate, user-friendly voice activity detector that runs in the browser. Currently, it runs Silero VAD [1] in the browser using ONNX Runtime Web.

A demo is hosted at vad-demo-script.vercel.app. The source code for the demo can be found here. A separate demo showing how to use the VAD with a bundler like webpack can be found here.

The API works as follows:

  1. Create the VAD object with a line such as

    const myvad = await vad.MicVAD.new(options)
    

    options can include any of the parameters defined here. It essentially consists of callbacks that run on every audio frame, whenever a speech start is detected, whenever speech ends, etc, as well as parameters that control the voice activity detection algorithm.

  2. Start and pause the VAD object as needed with myvad.start() and myvad.pause(). The object starts in the paused state.

References

[1] Silero Team. (2021). Silero VAD: pre-trained enterprise-grade Voice Activity Detector (VAD), Number Detector and Language Classifier. GitHub, GitHub repository, https://github.com/snakers4/silero-vad, hello@silero.ai.

Keywords

FAQs

Package last updated on 23 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc