wegylexy / rnnoise_wasm

RNNoise for WASM
MIT License
50 stars 10 forks source link

DeepSpeech real-time embedding for rnnoise #7

Closed axchanda closed 3 years ago

axchanda commented 3 years ago

@wegylexy Hi, I am looking to integrqate the noise reducing feature of rnnnoise with ds. I currently develop application in nodejs & operate at 16-bit 16kHz mono real-time audio.. Can you let me know how to take it forward?

wegylexy commented 3 years ago

You'll need to resample your input to float 48kHz for rnnoise yourself as you cannot use WebAudio directly with node.js

axchanda commented 3 years ago

@wegylexy I see an implemetation in nodejs wrapper for rnnoise. i need the rnnoise to be working at 16KHz. I can't change my input audio by any means (the architecture & dependencies are fixed). Can you help me in tweaking rnnoise to work at 16KHz?

wegylexy commented 3 years ago

You must resample the input to 48kHz from 16kHz as you stated the input must be 16kHz. Resampling is out of scope of this project.