Giter Site home page Giter Site logo

voice-activity-detection's Introduction

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

voice-activity-detection's People

Contributors

dmngu9 avatar isrish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

voice-activity-detection's Issues

How to install ?

I found this is a nice work!
But can you explain how to install and set Eigen3( I can't set it correctly, which has killed me hours...) correctly to work? It's just so hard for python-only to compile this , and I just really want to see the result, thanks.

The VAD.c is loss

After I download the the C code , I can only find the vad.h. The vad.c is dismiss.

What wrong with it?

License?

Hi!

What’s the license this code has been released under?

Thanks. :)

Sample rate other than 8 kHz

Does the algorithm handle different sample rates and or frame lengths? We have 44.1 kHz sampled data and a frame length of 20ms.

The meaning of NFFT"2" ?

Hello,

What does the "2" of the variable "NFFT2" used in your VAD.h mean ?

Thanks a lot!

David

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.