Giter Club home page Giter Club logo

Comments (5)

werman avatar werman commented on May 24, 2024 2

Something like this should work, change sink_master to your output (you could find it via pacmd list-sinks | grep -e 'name:')

load-module module-ladspa-sink sink_name=denoise_sink_for_apps.stereo sink_master=alsa_output.pci-0000_0c_00.3.analog-stereo label=noise_suppressor_stereo plugin=librnnoise_ladspa.so control=0

from noise-suppression-for-voice.

werman avatar werman commented on May 24, 2024

You should be able to denoise the output from the apps, I don't have exact config ready - https://github.com/toadjaune/pulseaudio-config could be helpful.

I don't see any complications or reasons no to do this.

from noise-suppression-for-voice.

Nudin avatar Nudin commented on May 24, 2024

Works! Should we document this?

from noise-suppression-for-voice.

werman avatar werman commented on May 24, 2024

Yes, however last time I tried I had some issues, I want to check if it work for me before adding to docs.

from noise-suppression-for-voice.

lawl avatar lawl commented on May 24, 2024

I spent a long time figuring out whats going on here, I was also experiencing issues with this one liner. PA in general seems to have some issues with resampling. And I would constantly get crackles in the audio.

The only way I could get it to work was an overly complicated setup to give PA a buffer before an after the ladspa sink, that introduces some latency.

load-module module-null-sink sink_name=nui_out_out_sink
load-module module-null-sink sink_name=nui_out_in_sink
load-module module-ladspa-sink sink_name=nui_out_ladspa sink_master=nui_out_out_sink label=noise_suppressor_mono channels=1 plugin=librnnoise_ladspa.so control=95 rate=48000
load-module module-loopback source=nui_out_out_sink.monitor sink=alsa_output.pci-0000_0c_00.3.analog-stereo channels=2 latency_msec=50 source_dont_move=true sink_dont_move=true
load-module module-loopback source=nui_out_in_sink.monitor sink=nui_out_ladspa channels=1 latency_msec=50 source_dont_move=true sink_dont_move=true

Maybe someone can find a saner way, but I couldn't get it to work stable on my machine otherwise.

from noise-suppression-for-voice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.