99-input-denoising.conf
· 1.2 KiB · Text
Raw
context.modules = [
{ name = libpipewire-module-filter-chain
args = {
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_mono
control = {
"VAD Threshold (%)" = 50.0
"VAD Grace Period (ms)" = 300
"Retroactive VAD Grace (ms)" = 0
}
}
]
}
capture.props = {
node.name = "capture.rnnoise_source"
node.passive = true
audio.rate = 48000
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"
}
playback.props = {
node.name = "rnnoise_source"
media.class = Audio/Source
audio.rate = 48000
}
}
}
]
| 1 | context.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 | ] |