Last active 2 years ago

Revision 5e93b8c7dfccd664814daec05d05e05559dacdd9

99-input-denoising.conf Raw
1context.modules = [
2{ name = libpipewire-module-filter-chain
3 args = {
4 node.description = "Noise Canceling source"
5 media.name = "Noise Canceling source"
6 filter.graph = {
7 nodes = [
8 {
9 type = ladspa
10 name = rnnoise
11 plugin = /usr/lib/ladspa/librnnoise_ladspa.so
12 label = noise_suppressor_mono
13 control = {
14 "VAD Threshold (%)" = 50.0
15 "VAD Grace Period (ms)" = 300
16 "Retroactive VAD Grace (ms)" = 0
17 }
18 }
19 ]
20 }
21 capture.props = {
22 node.name = "capture.rnnoise_source"
23 node.passive = true
24 audio.rate = 48000
25 target.object = "alsa_input.usb-SteelSeries_Arctis_7_-00.mono-fallback" # "alsa_input.usb-Corsair_CORSAIR_VIRTUOSO_SE_Wireless_Gaming_Headset_1672e58c000600dc-00.mono-fallback"
26 }
27 playback.props = {
28 node.name = "rnnoise_source"
29 media.class = Audio/Source
30 audio.rate = 48000
31 }
32 }
33}
34]