Created
November 25, 2023 22:15
-
-
Save shitpoet/8c398157814cd56c8511e4d51311d052 to your computer and use it in GitHub Desktop.
rnn-voice filter-chain module conf for pipewire
This file contains hidden or 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
context.modules = [ | |
{ name = libpipewire-module-filter-chain | |
args = { | |
node.description = "rnn-voice" | |
media.name = "rnn-voice" | |
filter.graph = { | |
nodes = [ | |
{ | |
type = ladspa | |
name = rnnoise | |
plugin = /home/ors/bin/lib/librnnoise_ladspa.so | |
label = noise_suppressor_mono | |
control = { | |
#"VAD Threshold (%)" = 50.0 | |
"VAD Threshold (%)" = 25.0 | |
"VAD Grace Period (ms)" = 300 | |
"Retroactive VAD Grace (ms)" = 40 | |
} | |
} | |
] | |
} | |
capture.props = { | |
node.name = "capture.rnnoise_source" | |
node.passive = true | |
audio.rate = 48000 | |
} | |
playback.props = { | |
node.name = "rnnoise_source" | |
media.class = Audio/Source | |
audio.rate = 48000 | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment