Native Papuan Masks

    rnnoise

    0.1.8 • Public • Published

    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.

    Install

    NPM

    Use

    const rnnoise = require("rnnoise");
     
    const denoisedBufLength = rnnoise.suppress(
      "babble_15dB.wav",
      "babble_15dB_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.

    Copyright (c) 2020 Cedric Chee

    Install

    npm i rnnoise

    DownloadsWeekly Downloads

    0

    Version

    0.1.8

    License

    MIT

    Unpacked Size

    4.08 kB

    Total Files

    4

    Last publish

    Collaborators

    • cedrickchee