Skip to content

Efficient voice activity detection algorithms using long-term speech information in C++

License

Notifications You must be signed in to change notification settings

huHHhhuhu/Voice-Activity-Detection

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is for voice activity detection algorithm (VAD). This code is based on this paper:

Ramırez, Javier, José C. Segura, Carmen Benıtez, Angel De La Torre, and Antonio Rubio. "Efficient voice activity detection algorithms using long-term speech information."

And the Matlab code version (Thanks for the isrish making such a beautiful program):

https://github.com/isrish/VAD-LTSD

This cpp file take input audio data from txt file and write results to 'example*.txt' file. At the end, I use gnuplot to plot the result and it works exactly the same as the Matlab Code from isrish.

Compile and run

You need FFTW and Eigen3 libraries.

$ mkdir build & cd build
$ cmake .. & make
$ ../bin/./vad

Visualizing the result

$ gnuplot
$ > set multiplot
$ > plot "sound.txt" with 1:2 lines
$ > filename(n) = sprintf("example_%d.txt", n)
$ > plot for [i=1:10] filename(i) using 1:2 with lines

About

Efficient voice activity detection algorithms using long-term speech information in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 65.5%
  • CMake 34.5%