Skip to content

4t4nner/js-libfvad

Repository files navigation

js-libfvad

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.

Description to Basic node addon:

Requriements:

  • Node v10

I launched it with v12.13.1, and it works

To Run

  1. git clone this repo
  2. npm install
  3. npm run rebuild:dev
  4. npm run start

Hope this helps someone !! 🌮