https://github.com/cedrickchee/rnnoise-nodejs

Node.js bindings to Xiph's RNNoise denoising C library

https://github.com/cedrickchee/rnnoise-nodejs

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.0%) to scientific vocabulary

Keywords

audio-library deeplearning keras-models nodejs-addon nodejs-library noise-suppression rnn rnnoise rust-bindings
Last synced: 5 months ago · JSON representation

Repository

Node.js bindings to Xiph's RNNoise denoising C library

Basic Info
  • Host: GitHub
  • Owner: cedrickchee
  • License: mit
  • Language: Rust
  • Default Branch: master
  • Size: 177 KB
Statistics
  • Stars: 25
  • Watchers: 3
  • Forks: 6
  • Open Issues: 2
  • Releases: 7
Topics
audio-library deeplearning keras-models nodejs-addon nodejs-library noise-suppression rnn rnnoise rust-bindings
Created about 6 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.md

rnnoise-nodejs

Build Status

Node.js bindings to Xiph's RNNoise denoising C library.

RNNoise is a project showing how deep learning (Recurrent Neural Networks/RNNs) can be applied to noise suppression.

Announcement

Jan 2021:

I have been working on a new project that will bring this technology to you. A sneak peak at the new deep noise suppression and source separation model and audio output quality:

Watch on YouTube.

This is the 2020 state-of-the art noise suppression for real-time and offline use-cases. It works best in real-world environment where the background noise is low to medium. Of course it is not working well in super noisy environment like construction site. The model is suitable for many work-from-home environments such as home or cafe. We're currently working to bring this technology to desktop app for Mac OSX and Ubuntu (linux). Programming language SDK for Node.js and Go is also in the work. REST API is available (upon request) for integration with other use-cases.

Feb 2021:

The new project has 3 components: 1. PyTorch deep learning model 2. Node.js bindings for the PyTorch traced (JIT) model in C++ 3. JavaScript port of PyTorch C++ library (libtorch)

Development of component 1 and 3 is completed.

Install

Node.js versions supported: 8, 10

NPM

Use

```javascript const rnnoise = require("rnnoise");

const denoisedBufLength = rnnoise.suppress( "babble15dB.wav", "babble15dB_dn.wav" );

console.log(Denoised buffer length: ${denoisedBufLength} bytes); ```


API

Noise Suppression Functions

rnnoise.suppress(input: string, output: string)

suppress operates on 16-bit RAW audio format (machine endian) mono PCM files sampled at 48 kHz. The output is also a 16-bit RAW PCM file.

  • input is a required string of the path to RAW PCM file input.
  • output is a required string of the path to output RAW PCM file.

Developer

Working on project with submodules

We keep a rnnoise Git repo as a subdirectory in this Git repo. So, please clone this repo by using Git submodule:

git clone --recursive https://github.com/cedrickchee/rnnoise-nodejs.git


Expand License The code in this repository, including all code samples, is released under the [MIT license](LICENSE). Copyright (c) 2020 Cedric Chee

Owner

  • Name: Cedric Chee
  • Login: cedrickchee
  • Kind: user
  • Location: PID 1
  • Company: InvictusByte

Lead Software Engineer | LLMs | full stack Go/JS dev, backend | product dev @ startups | 🧑‍🎓 CompSci | alumni: fast.ai, Antler.co

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 2
  • Total pull requests: 15
  • Average time to close issues: 4 months
  • Average time to close pull requests: 3 months
  • Total issue authors: 2
  • Total pull request authors: 1
  • Average comments per issue: 2.5
  • Average comments per pull request: 0.07
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 15
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ejtraderPlugins (1)
  • simon-tannai (1)
Pull Request Authors
  • dependabot[bot] (15)
Top Labels
Issue Labels
bug (1) question (1)
Pull Request Labels
dependencies (15) javascript (5) rust (3)

Packages

  • Total packages: 2
  • Total downloads:
    • npm 35 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 7
  • Total maintainers: 1
npmjs.org: rnnoise

Node.js bindings to Xiph's RNNoise denoising C library

  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 35 Last month
Rankings
Stargazers count: 10.6%
Forks count: 10.6%
Average: 21.1%
Dependent repos count: 25.3%
Downloads: 26.0%
Dependent packages count: 32.9%
Maintainers (1)
Last synced: 7 months ago
npmjs.org: rnnoise-fork

[FORK] Node.js bindings to Xiph's RNNoise denoising C library

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 28.1%
Average: 34.5%
Dependent packages count: 40.9%
Last synced: 7 months ago

Dependencies

native/Cargo.lock cargo
  • aho-corasick 0.7.8
  • alac 0.3.3
  • audrey 0.2.0
  • bindgen 0.52.0
  • bitflags 1.2.1
  • byteorder 1.3.4
  • caf 0.1.0
  • cc 1.0.50
  • cexpr 0.3.6
  • cfg-if 0.1.10
  • clang-sys 0.28.1
  • claxon 0.4.2
  • cslice 0.2.0
  • glob 0.3.0
  • hound 3.4.0
  • lazy_static 1.4.0
  • lazycell 1.2.1
  • lewton 0.7.0
  • libc 0.2.66
  • libloading 0.5.2
  • memchr 2.3.0
  • neon 0.3.3
  • neon-build 0.3.3
  • neon-runtime 0.3.3
  • neon-sys 0.3.3
  • nom 4.2.3
  • ogg 0.5.1
  • peeking_take_while 0.1.2
  • proc-macro2 1.0.8
  • quote 1.0.2
  • regex 1.3.4
  • regex-syntax 0.6.14
  • rustc-hash 1.1.0
  • sample 0.9.1
  • semver 0.9.0
  • semver-parser 0.7.0
  • shlex 0.1.1
  • thread_local 1.0.1
  • unicode-xid 0.2.0
  • version_check 0.1.5
  • winapi 0.3.8
  • winapi-i686-pc-windows-gnu 0.4.0
  • winapi-x86_64-pc-windows-gnu 0.4.0
native/Cargo.toml cargo
  • audrey 0.2
  • hound 3.4
  • neon 0.3.3
native/sys/Cargo.lock cargo
  • bindgen 0.52.0
  • bitflags 1.2.1
  • cc 1.0.50
  • cexpr 0.3.6
  • cfg-if 0.1.10
  • clang-sys 0.28.1
  • glob 0.3.0
  • lazy_static 1.4.0
  • lazycell 1.2.1
  • libc 0.2.66
  • libloading 0.5.2
  • memchr 2.3.0
  • nom 4.2.3
  • peeking_take_while 0.1.2
  • proc-macro2 1.0.8
  • quote 1.0.2
  • regex 1.3.4
  • regex-syntax 0.6.14
  • rustc-hash 1.1.0
  • shlex 0.1.1
  • unicode-xid 0.2.0
  • version_check 0.1.5
  • winapi 0.3.8
  • winapi-i686-pc-windows-gnu 0.4.0
  • winapi-x86_64-pc-windows-gnu 0.4.0
package-lock.json npm
  • 168 dependencies
package.json npm
  • neon-cli ^0.3.3
  • node-pre-gyp ^0.14.0
  • node-pre-gyp-github ^1.4.3
native/sys/Cargo.toml cargo