{"id":20826725,"url":"https://github.com/cedrickchee/rnnoise-nodejs","last_synced_at":"2025-05-07T20:39:36.500Z","repository":{"id":37180612,"uuid":"239675282","full_name":"cedrickchee/rnnoise-nodejs","owner":"cedrickchee","description":"Node.js bindings to Xiph's RNNoise denoising C library","archived":false,"fork":false,"pushed_at":"2023-10-02T19:36:53.000Z","size":181,"stargazers_count":24,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-07T20:39:13.336Z","etag":null,"topics":["audio-library","deeplearning","keras-models","nodejs-addon","nodejs-library","noise-suppression","rnn","rnnoise","rust-bindings"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cedrickchee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-11T04:25:04.000Z","updated_at":"2025-05-03T04:25:12.000Z","dependencies_parsed_at":"2024-11-17T23:09:53.979Z","dependency_job_id":"5e896d39-da1a-4791-8fdc-794635b556b8","html_url":"https://github.com/cedrickchee/rnnoise-nodejs","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrickchee%2Frnnoise-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrickchee%2Frnnoise-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrickchee%2Frnnoise-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cedrickchee%2Frnnoise-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cedrickchee","download_url":"https://codeload.github.com/cedrickchee/rnnoise-nodejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252954126,"owners_count":21830892,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio-library","deeplearning","keras-models","nodejs-addon","nodejs-library","noise-suppression","rnn","rnnoise","rust-bindings"],"created_at":"2024-11-17T23:09:51.236Z","updated_at":"2025-05-07T20:39:36.478Z","avatar_url":"https://github.com/cedrickchee.png","language":"Rust","readme":"# rnnoise-nodejs\n\n[![Build Status](https://travis-ci.com/cedrickchee/rnnoise-nodejs.svg?branch=master)](https://travis-ci.com/cedrickchee/rnnoise-nodejs)\n\nNode.js bindings to Xiph's [RNNoise denoising C library](https://github.com/xiph/rnnoise/).\n\n[RNNoise](https://people.xiph.org/~jm/demo/rnnoise/) is a project showing how deep learning (Recurrent Neural Networks/RNNs) can be applied to noise suppression.\n\n**Announcement**\n\nJan 2021:\n\n\u003e\n\u003e 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:\n\u003e\n\u003e [Watch on YouTube](https://youtu.be/_-GoGJSE8q0).\n\u003e\n\u003e 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.\n\nFeb 2021:\n\n\u003e The new project has 3 components:\n\u003e 1. PyTorch deep learning model\n\u003e 2. Node.js bindings for the PyTorch traced (JIT) model in C++\n\u003e 3. [JavaScript port of PyTorch C++ library (libtorch)](https://github.com/cedrickchee/tch-js)\n\u003e\n\u003e Development of component 1 and 3 is completed.\n\n## Install\n\nNode.js versions supported: 8, 10\n\n[![NPM](https://nodei.co/npm/rnnoise.png?compact=true)](https://nodei.co/npm/rnnoise/)\n\n## Use\n\n```javascript\nconst rnnoise = require(\"rnnoise\");\n\nconst denoisedBufLength = rnnoise.suppress(\n  \"babble_15dB.wav\",\n  \"babble_15dB_dn.wav\"\n);\n\nconsole.log(`Denoised buffer length: ${denoisedBufLength} bytes`);\n```\n\n---\n\n## API\n\n### Noise Suppression Functions\n\n**rnnoise.suppress(input: string, output: string)**\n\n**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.\n\n- `input` is a required string of the path to RAW PCM file input.\n- `output` is a required string of the path to output RAW PCM file.\n\n## Developer\n\n**Working on project with [submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules)**\n\nWe keep a [rnnoise Git repo](https://github.com/xiph/rnnoise/) as a subdirectory in this Git repo. So, please clone this repo by using Git submodule:\n\n```\ngit clone --recursive https://github.com/cedrickchee/rnnoise-nodejs.git\n```\n\n---\n\n\u003cdetails\u003e\n\n\u003csummary\u003e\u003cb\u003eExpand License\u003c/b\u003e\u003c/summary\u003e\n\nThe code in this repository, including all code samples, is released under the [MIT license](LICENSE).\n\nCopyright (c) 2020 Cedric Chee\n\u003c/details\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedrickchee%2Frnnoise-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcedrickchee%2Frnnoise-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcedrickchee%2Frnnoise-nodejs/lists"}