Skip to content

panmasuo/voice-activity-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VAD algorithm implemented using ALSA library in C programming language

Voice Activity Detection (VAD) algorithm made based on Moattar and Homayounpour's publication A simple but efficient real-time voice activity detection algorithm.

Code is written in C language using:

  • ALSA (for sound processing)
  • pthreads (for multithreading)

Building

NOTE

Built and tested with gcc-13 using c23 standard.

Make sure to install all needed dependencies:

sudo apt install cmake ninja libasound2-dev

Build using CMakePreset and CMakeTools extension or by hand:

mkdir build && cd build
cmake ..
cd ..
cmake --build build/

and run the executable from the CMakePreset build directory:

./build/release/vad

or your own:

./build/vad

About

Simple VAD (voice activity detection) algorithm written in C

Topics

Resources

License

Stars

Watchers

Forks

Contributors