dpirch / libfvad

Voice activity detection (VAD) library, based on WebRTC's VAD engine
BSD 3-Clause "New" or "Revised" License
498 stars 176 forks source link

how to use the vad ? #13

Open ucasiggcas opened 5 years ago

ucasiggcas commented 5 years ago

hello,

After I build the libfvad, I want use the VAD to cut a speech wav or raw , how to use ?

thx

fengchangfight commented 5 years ago

hello,

After I build the libfvad, I want use the VAD to cut a speech wav or raw , how to use ?

thx

after build(check the readme file), make sure the fvad.h is in /usr/local/include, then you can just use it like the fvadwav.c in examples, I tried, it worked

ucasiggcas commented 5 years ago

@fengchangfight Thanks, but could you say it in detail, for a little poor power if I use gcc fvadwav.c -o fvadwav it tells me fvadwav.c:19:21: fatal error: sndfile.h: No such file or directory compilation terminated.

icesparrow0 commented 4 years ago

hello, After I build the libfvad, I want use the VAD to cut a speech wav or raw , how to use ? thx

after build(check the readme file), make sure the fvad.h is in /usr/local/include, then you can just use it like the fvadwav.c in examples, I tried, it worked

hello, I try to use it to replace the vad mod in unimrcp, but build failed.can you give me some better suggest?