Skip to content

Voice activity detection (VAD) library and Go bindings based on WebRTC's VAD engine

Notifications You must be signed in to change notification settings

kaustubh-iamplus/webrtc_vad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project can be used to create a standalone library from WebRTC's VAD engine (independent from the rest of the WebRTC code).
Corresponding Go bindings are also generated using c-for-go(https://github.com/xlab/c-for-go) based on webrtc.yml file.

----------------------------------------------------------------------------------

To build library and corresponding Go bindings for WebRTC's voice activity detection (VAD) module:

1) Git clone WebRTC source locally (https://webrtc.googlesource.com/src)

2) Execute script.sh
     Usage (Please use full paths):
     $ ./script.sh <WEBRTC_SRC_PATH> <DEST_DIR_PATH>
     WEBRTC_SRC_PATH = WebRTC source directory path
     DEST_DIR_PATH = Output directory path

3) While building Go program pass CGO_LDPATHS environment variable
     $ CGO_LDFLAGS="-L/tmp -lwebrtc_vad" LD_LIBRARY_PATH=/tmp go run server.go
     libwebrtc_vad.so is present at /tmp

----------------------------------------------------------------------------------

Dependecies:
 - cmake (>= v3.5)
 - make
 - c-for-go

About

Voice activity detection (VAD) library and Go bindings based on WebRTC's VAD engine

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages