node napi example for https://github.com/dpirch/libfvad
Napi code part from https://medium.com/@atulanand94/debugging-nodejs-c-addons-using-vs-code-27e9940fc3ad (Basic node addon)
This app is a part of my project - silence (speech pause) detector before send speech to server speech recognition (google diaologglow)
By default it works with 8k pcm16 raw audio.
Requriements:
- Node v10
I launched it with v12.13.1, and it works
To Run
git clone this repo
npm install
npm run rebuild:dev
npm run start
Hope this helps someone !! 🌮