@4t4nner/silence-detector

node napi example for https://github.com/dpirch/libfvad

Usage no npm install needed!

<script type="module">
  import 4t4nnerSilenceDetector from 'https://cdn.skypack.dev/@4t4nner/silence-detector';
</script>

README

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 !! 🌮