Rnnoise, neural network noise canceling - AudioBridge #2260
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Based upon rnnoise library, and only as a poc, to see if it makes sense to use it or not.
Instalation instructions are updated in README.md and also audiobridge usage.
rnnoise_complexity
room parameter is actually how often frames should go trough rnnoise.0 - disabled
1 - every second frame will be denoised
2 - 2 frames will be denoised, third skipped
3 - every frame will be denoised
This is an option since denoising will decrees audio quality (add a bit robotic flavor or even sometimes cut end of words, recognizing them as noise)
The rnnoise readme states
It operates on RAW 16-bit (machine endian) mono PCM files sampled at 48 kHz
and from code example I see it does read from a file into frames and process them one by one. I only managed to get clear audio on 16000 sampling rate room.It would be nice to get some feedback on how good it is, or even better if it can be made better in any way, since my understanding of sampling is very limited 👍 )