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)
NOTE
Built and tested with
gcc-13usingc23standard.
Make sure to install all needed dependencies:
sudo apt install cmake ninja libasound2-devBuild 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/vador your own:
./build/vad