From 54896929e93fd54c7039ada1ffc5f30028c020f4 Mon Sep 17 00:00:00 2001 From: pyrschtjag Date: Tue, 3 Nov 2026 18:35:46 +0400 Subject: [PATCH] initial commit --- 99-autoeq-shp9500.conf | 67 +++++++++++++++++++++++++++++++++++++++++ 99-input-denoising.conf | 39 ++++++++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 99-autoeq-shp9500.conf create mode 100644 99-input-denoising.conf diff --git a/99-autoeq-shp9500.conf b/99-autoeq-shp9500.conf new file mode 100644 index 0000000..8bbe1d4 --- /dev/null +++ b/99-autoeq-shp9500.conf @@ -0,0 +1,67 @@ +context.modules = [ +{ name = libpipewire-module-filter-chain + args = { + node.description = "AutoEQ SHP9500" + media.name = "AutoEQ SHP9500" + filter.graph = { + nodes = [ + { + type = builtin + name = eq1 + label = bq_lowshelf + control = { Freq = 105.0 Q = 0.70 Gain = 13.6 } + } + { + type = builtin + name = eq2 + label = bq_peaking + control = { Freq = 70.4 Q = 0.69 Gain = -8.1 } + } + { + type = builtin + name = eq3 + label = bq_peaking + control = { Freq = 2129.0 Q = 2.98 Gain = 4.1 } + } + { + type = builtin + name = eq4 + label = bq_peaking + control = { Freq = 5760.2 Q = 2.63 Gain = -5.8 } + } + { + type = builtin + name = eq5 + label = bq_highshelf + control = { Freq = 10000.0 Q = 0.70 Gain = 2.4 } + } + ] + links = [ + { output = "eq1:Out" input = "eq2:In" } + { output = "eq2:Out" input = "eq3:In" } + { output = "eq3:Out" input = "eq4:In" } + { output = "eq4:Out" input = "eq5:In" } + ] + inputs = [ "eq1:In" ] + outputs = [ "eq5:Out" ] + } + audio.channels = 2 + audio.position = [ FL FR ] + capture.props = { + node.name = "effect_input.autoeq_shp9500" + media.class = "Audio/Sink" + audio.rate = 48000 + audio.channels = 2 + audio.position = [ FL FR ] + } + playback.props = { + node.name = "effect_output.autoeq_shp9500" + node.passive = true + audio.rate = 48000 + audio.channels = 2 + audio.position = [ FL FR ] + target.object = "alsa_output.pci-0000_05_01.0.analog-stereo" + } + } +} +] diff --git a/99-input-denoising.conf b/99-input-denoising.conf new file mode 100644 index 0000000..d696a0a --- /dev/null +++ b/99-input-denoising.conf @@ -0,0 +1,39 @@ +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 = /home/pyrschtjag/.ladspa/librnnoise_ladspa.so + label = noise_suppressor_stereo + control = { + "VAD Threshold (%)" = 15.0 + "VAD Grace Period (ms)" = 10 + "Retroactive VAD Grace (ms)" = 0 + } + } + ] + } + audio.channels = 2 + audio.position = [ FL FR ] + capture.props = { + node.name = "capture.rnnoise_source" + node.passive = true + audio.rate = 48000 + audio.channels = 2 + audio.position = [ FL FR ] + } + playback.props = { + node.name = "rnnoise_source" + media.class = Audio/Source + audio.rate = 48000 + audio.channels = 2 + audio.position = [ FL FR ] + } + } +} +]