react-native-vad
TypeScript icon, indicating that this package has built-in type declarations

1.0.37 • Public • Published

React Native VAD (Voice Activation Detection)

About this package:

This is a Voice Activation Detection (VAD) package for React Native. VAD detects human voice in real time and on-device.

Key Features:

  • On-Device Detection: No internet required, ensuring privacy and low latency.
  • Real-Time Processing: Instant recognition of human voice in the surrounding area.

It provide an On Device. Real Time Human Voice Detection which refers to the ability to recognize if there is any human voice in the area.

Use Cases:

  1. Optimize API Usage: Trigger expensive speech recognition APIs only when human speech is detected, saving costs on silence or background noise.
  2. Security and Monitoring: Use for alarms, security systems, and environmental monitoring.

For instance, if you're using a transcription cloud API, you can activate it only when human voice is detected and deactivate it during silence or noise.

See full use-cases below

Contact

For inquiries, contact us at: info@DaVoice.io

Supported Platforms

  • iOS
  • Android
  • React Native
  • Expo

Installation

Run the following command to install the package:

using npm:

npm install react-native-vad

using expo:

npx expo install react-native-vad

Using Expo

add your plugin in app.json or app.config.js { "expo": { "plugins": [ "react-native-wakeword" ] } }

Using React-Native

Android:

Add this to your android/build.gradle file:

allprojects {

    repositories {

        // react-native-vad added

	    maven { url "${project(":react-native-vad").projectDir}/libs" }
        
        maven { url("${project(':react-native-vad').projectDir}/libs") } 
        
        maven {
            url("${project(':react-native-vad').projectDir}/libs")
        }
        
        // End react-native-vad added
        
        ... your other lines...

IOS and Android

Add permissions for audio as in the example

Githhub examples:

Checkout examples on:

https://github.com/frymanofer/ReactNative_VAD

https://github.com/frymanofer/ReactNative_VAD/example

Full use cases:

  • Speech Recognition Pre-Processing:

VAD libraries are used to filter out silence and background noise from audio streams, reducing the amount of data sent to speech recognition engines. This optimizes performance and accuracy.

  • Real-Time Voice Communication:

Applications like video conferencing, online gaming, and telephony use VAD to activate microphones only when voice is detected, saving bandwidth and improving privacy.

  • Voice-Controlled Interfaces:

These libraries enable web apps with voice-triggered commands, such as controlling smart devices or interacting with apps hands-free.

  • Audio Transcription:

Developers use VAD to preprocess audio for transcription services by isolating speech segments, ensuring more accurate results.

  • Audio Recording:

VAD is used in recording applications to automatically start/stop recording based on voice activity, which helps save storage and simplifies editing.

  • Interactive Learning Tools:

Educational platforms with voice-enabled features (e.g., language learning apps) use VAD to detect when users are speaking for interactive exercises.

  • Accessibility Features:

VAD helps enable voice-based navigation and control for people with disabilities, allowing them to interact with applications using voice commands.

  • Voice Logging and Monitoring:

In security, analytics, or call center applications, VAD is used to detect voice activity in recordings for further processing or analysis.

FAQ:

What is a VAD?

"VAD" AKA "Voice Activation Detection" detects human voice.

How accurate is the platform?

Our platform ensures 99.99%+ accuracy in various environments.

Also see our wake word detection solution:

Also see our "wake word" packge: https://www.npmjs.com/package/react-native-wakeword And our wake word github: https://github.com/frymanofer/ReactNative_WakeWordDetection

Key words

DaVoice.io VAD / Voice Activation Detection / Voice commands / Wake words / Voice to Intent / keyword detection npm for Android and IOS. "VAD github", "Voice Activation Detection github", "react-native vad", "react-native voice activation detection", "VAD detection github", "voice commands", "wake word", "wakeword", "wake words", "keyword detection", "keyword spotting", "speech to intent", "voice to intent", "phrase spotting", "react native wake word", "Davoice.io wake word", "Davoice wake word", "Davoice react native wake word", "Davoice react-native wake word", "wake", "word", "Voice Commands Recognition", "lightweight Voice Commands Recognition", "customized lightweight Voice Commands Recognition", "rn wake word"

Package Sidebar

Install

npm i react-native-vad

Weekly Downloads

1,472

Version

1.0.37

License

MIT

Unpacked Size

114 MB

Total Files

64

Last publish

Collaborators

  • oferfryman