Live data from Hacker News

Show HN: Alsa_rnnoise – RNNoise-based noise removal plugin for ALSA

sr.ht

41–50 of 50 posts

Re: Show HN: Alsa_rnnoise – RNNoise-based noise removal plugin for ALSA

#42

Sound engineer here. RNNoise is an amazing feat, but please, don't overdo it. Most of the time, you don't really want complete ambient noise elimination, as human speech appearing from dead silence sounds unnatural. Moreover, most noise reduction software is considerably less effective in reducing noise during a person speaking, either removing too much, producing degraded speech sound (worst case) or too little. If…

I think pretty much everyone who does A/V production (and some people who don't, like me) would be interested in such a guide. Please do write it!

Re: Show HN: Alsa_rnnoise – RNNoise-based noise removal plugin for ALSA

#45
post #7

For PulseAudio, there is https://github.com/lawl/NoiseTorch

I would recommend PulseEffects. It has a much nicer UI than NoiseTorch, supports a number of effects besides noise cancellation (if desired), supports auto-start, supports custom models (but has a good default included), doesn't require a sudo password and doesn't burn CPU if your mic isn't being used.

The support in PulseEffects is new but has been working well for me. I have had zero issues and don't even think about it anymore.

Re: Show HN: Alsa_rnnoise – RNNoise-based noise removal plugin for ALSA

#46
Just tried the pulseaudio https://github.com/lawl/NoiseTorch and I must say it makes an astonishing difference: https://www.youtube.com/watch?v=5rAfyMrE49o&feature=youtu.be

Though basics of getting dynamic microphone close to my mouse is probably bigger, hah

Re: Show HN: Alsa_rnnoise – RNNoise-based noise removal plugin for ALSA

#47
post #43

Is there something like a GUI that generates .asoundrc files? The syntax is not exactly intuitive.

There's no GUI for it, but I'm willing to help you with it. If you have no asoundrc (i.e. you let ALSA figure it out for you) the example in the README will work. Otherwise you can email me or post on the mailing list and I can get back to you.

Re: Show HN: Alsa_rnnoise – RNNoise-based noise removal plugin for ALSA

#48
post #43

Is there something like a GUI that generates .asoundrc files? The syntax is not exactly intuitive.

There's no GUI for it, but I'm willing to help you with it. If you have no asoundrc (i.e. you let ALSA figure it out for you) the example in the README will work. Otherwise you can email me or post on the mailing list and I can get back to you.

Right now I have multiple capture devices (front mic, rear mic, capture) which can be selected in alsamixer via "Input source". It would be great to have another "virtual" capture device that uses e.g. front mic but routed through rnnoise so that rnnoise can be easily turned on/off by selecting the input source.

Unrelated to this I want to be able easily switch between my Headphones and HDMI output whereas HDMI out needs to be routed through dmix->alsaequal->softvol->HDMI. I gave up after spending two hours tinkering.

Re: Show HN: Alsa_rnnoise – RNNoise-based noise removal plugin for ALSA

#49
post #48

Earlier quoted context omitted.

There's no GUI for it, but I'm willing to help you with it. If you have no asoundrc (i.e. you let ALSA figure it out for you) the example in the README will work. Otherwise you can email me or post on the mailing list and I can get back to you.

Right now I have multiple capture devices (front mic, rear mic, capture) which can be selected in alsamixer via "Input source". It would be great to have another "virtual" capture device that uses e.g. front mic but routed through rnnoise so that rnnoise can be easily turned on/off by selecting the input source. Unrelated to this I want to be able easily switch between my Headphones and HDMI output whereas HDMI out n…

I'm pretty sure the switch you're talking about is hardware level. If you want to turn rnnoise on/off you could create a new pcm rather than overriding the default, and then having the software select it. The README example of asoundrcs is for the most part the same, you'd just remove this secion:

  pcm.!default {
      type asym
      playback.pcm "cards.pcm.default"
      capture.pcm "rnnoise"
  }
As for the second thing, you could do what I do and use pcm_jack, like this:

  pcm.!default {
   type asym
   playback.pcm "plug:jack"
   capture.pcm "plug:rnnjack"
  }
  
  pcm.rnnjack {
   type rnnoise
   slave.pcm plug:jack
  }
Keep in mind this will need more setup, specifically to set JACK up, and is definitely overkill, but may be fun. Also, this config is how my setup works exactly.

Re: Show HN: Alsa_rnnoise – RNNoise-based noise removal plugin for ALSA

#50

Sound engineer here. RNNoise is an amazing feat, but please, don't overdo it. Most of the time, you don't really want complete ambient noise elimination, as human speech appearing from dead silence sounds unnatural. Moreover, most noise reduction software is considerably less effective in reducing noise during a person speaking, either removing too much, producing degraded speech sound (worst case) or too little. If…

UPD: I've written the guide. *Voice recording and processing for talks, streaming and conferencing. The Reference.*

I'm not so good with short names and the post itself is pretty long.

Here's the link: https://indiscipline.github.io/post/voice-sound-reference/

Post reply on HN