Created
May 19, 2022 12:33
-
-
Save NoXPhasma/2a0aa3356654d89981ac0eeff2fb7fd0 to your computer and use it in GitHub Desktop.
librnnoise_ladspa.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Noise canceling source | |
# | |
# start with pipewire -c filter-chain/librnnoise_ladspa.conf | |
# | |
context.properties = { | |
log.level = 0 | |
} | |
context.spa-libs = { | |
audio.convert.* = audioconvert/libspa-audioconvert | |
support.* = support/libspa-support | |
} | |
context.modules = [ | |
{ name = libpipewire-module-rtkit | |
args = { | |
nice.level = -11 | |
rt.prio = 88 | |
rt.time.soft = 200000 | |
rt.time.hard = 200000 | |
} | |
flags = [ ifexists nofail ] | |
} | |
{ name = libpipewire-module-protocol-native } | |
{ name = libpipewire-module-client-node } | |
{ name = libpipewire-module-adapter } | |
{ name = libpipewire-module-filter-chain | |
args = { | |
node.name = "rnnoise_source" | |
node.description = "Noise Canceling source" | |
media.name = "Noise Canceling source" | |
filter.graph = { | |
nodes = [ | |
{ | |
type = ladspa | |
name = rnnoise | |
plugin = /usr/lib/ladspa/librnnoise_ladspa.so | |
label = noise_suppressor_stereo | |
control = { | |
"VAD Threshold (%)" 50.0 | |
} | |
} | |
] | |
} | |
capture.props = { | |
node.passive = true | |
} | |
playback.props = { | |
media.class = Audio/Source | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment