From 3434271477668b990a667e9a174fa695e49df8c6 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 20 Jun 2023 19:23:36 -0500 Subject: Add pipewire eq profiles --- .gitignore | 1 + .../toharmantarget/akg271mkii.conf | 98 ++++++++++++++++++++++ .../filters-available/toharmantarget/jbudsair.conf | 98 ++++++++++++++++++++++ 3 files changed, 197 insertions(+) create mode 100644 pipewire/filters-available/toharmantarget/akg271mkii.conf create mode 100644 pipewire/filters-available/toharmantarget/jbudsair.conf diff --git a/.gitignore b/.gitignore index 03e3093..f9ecd3e 100644 --- a/.gitignore +++ b/.gitignore @@ -61,6 +61,7 @@ pop-shell/ polychromatic/ poezio/ pmbootstrap.cfg +pipewire/pipewire.conf.d/ pipewire/media-session.d/ PCSX2/ pcmanfm-qt/ diff --git a/pipewire/filters-available/toharmantarget/akg271mkii.conf b/pipewire/filters-available/toharmantarget/akg271mkii.conf new file mode 100644 index 0000000..427cff4 --- /dev/null +++ b/pipewire/filters-available/toharmantarget/akg271mkii.conf @@ -0,0 +1,98 @@ +# 6 band sink equalizer +# +# Copy this file into a conf.d/ directory such as +# ~/.config/pipewire/filter-chain.conf.d/ +# +context.modules = [ + { name = libpipewire-module-filter-chain + args = { + node.description = "Equalizer Sink" + media.name = "Equalizer Sink" + filter.graph = { + nodes = [ + { + type = builtin + name = eq_band_1 + label = bq_lowshelf + control = { "Freq" = 62.0 "Q" = 0.9 "Gain" = 7.0 } + } + { + type = builtin + name = eq_band_2 + label = bq_peaking + control = { "Freq" = 140.0 "Q" = 2.5 "Gain" = 3.0 } + } + { + type = builtin + name = eq_band_3 + label = bq_highshelf + control = { "Freq" = 200.0 "Q" = 1.2 "Gain" = -4.7 } + } + { + type = builtin + name = eq_band_4 + label = bq_peaking + control = { "Freq" = 660.0 "Q" = 2.8 "Gain" = -6.6 } + } + { + type = builtin + name = eq_band_5 + label = bq_peaking + control = { "Freq" = 745.0 "Q" = 2.5 "Gain" = 5.5 } + } + { + type = builtin + name = eq_band_6 + label = bq_peaking + control = { "Freq" = 1820.0 "Q" = 1.5 "Gain" = -4.4 } + } + { + type = builtin + name = eq_band_7 + label = bq_peaking + control = { "Freq" = 3000.0 "Q" = 1.8 "Gain" = 5.4 } + } + { + type = builtin + name = eq_band_8 + label = bq_peaking + control = { "Freq" = 3200.0 "Q" = 5.0 "Gain" = -2.3 } + } + { + type = builtin + name = eq_band_9 + label = bq_peaking + control = { "Freq" = 4800.0 "Q" = 2.0 "Gain" = 3.6 } + } + { + type = builtin + name = eq_band_10 + label = bq_highshelf + control = { "Freq" = 6500.0 "Q" = 2.5 "Gain" = -1.5 } + } + ] + links = [ + { output = "eq_band_1:Out" input = "eq_band_2:In" } + { output = "eq_band_2:Out" input = "eq_band_3:In" } + { output = "eq_band_3:Out" input = "eq_band_4:In" } + { output = "eq_band_4:Out" input = "eq_band_5:In" } + { output = "eq_band_5:Out" input = "eq_band_6:In" } + { output = "eq_band_6:Out" input = "eq_band_7:In" } + { output = "eq_band_7:Out" input = "eq_band_8:In" } + { output = "eq_band_8:Out" input = "eq_band_9:In" } + { output = "eq_band_9:Out" input = "eq_band_10:In" } + ] + } + audio.channels = 2 + audio.position = [ FL FR ] + capture.props = { + node.name = "effect_input.k271ii" + media.class = Audio/Sink + } + playback.props = { + node.name = "effect_output.k271ii" + node.passive = true + } + } + } +] diff --git a/pipewire/filters-available/toharmantarget/jbudsair.conf b/pipewire/filters-available/toharmantarget/jbudsair.conf new file mode 100644 index 0000000..5c80e62 --- /dev/null +++ b/pipewire/filters-available/toharmantarget/jbudsair.conf @@ -0,0 +1,98 @@ +# 6 band sink equalizer +# +# Copy this file into a conf.d/ directory such as +# ~/.config/pipewire/filter-chain.conf.d/ +# +context.modules = [ + { name = libpipewire-module-filter-chain + args = { + node.description = "Equalizer Sink" + media.name = "Equalizer Sink" + filter.graph = { + nodes = [ + { + type = builtin + name = eq_band_1 + label = bq_lowshelf + control = { "Freq" = 105.0 "Q" = 0.7 "Gain" = -6.4 } + } + { + type = builtin + name = eq_band_2 + label = bq_peaking + control = { "Freq" = 183.0 "Q" = 1.19 "Gain" = -4.7 } + } + { + type = builtin + name = eq_band_3 + label = bq_peaking + control = { "Freq" = 769.0 "Q" = 0.65 "Gain" = 2.0 } + } + { + type = builtin + name = eq_band_4 + label = bq_peaking + control = { "Freq" = 2724.0 "Q" = 1.58 "Gain" = 5.7 } + } + { + type = builtin + name = eq_band_5 + label = bq_peaking + control = { "Freq" = 3849.0 "Q" = 3.9 "Gain" = -3.7 } + } + { + type = builtin + name = eq_band_6 + label = bq_peaking + control = { "Freq" = 66.0 "Q" = 2.29 "Gain" = 1.4 } + } + { + type = builtin + name = eq_band_7 + label = bq_peaking + control = { "Freq" = 122.0 "Q" = 2.76 "Gain" = -0.8 } + } + { + type = builtin + name = eq_band_8 + label = bq_peaking + control = { "Freq" = 6673.0 "Q" = 4.97 "Gain" = -2.9 } + } + { + type = builtin + name = eq_band_9 + label = bq_peaking + control = { "Freq" = 9784.0 "Q" = 2.89 "Gain" = -1.3 } + } + { + type = builtin + name = eq_band_10 + label = bq_highshelf + control = { "Freq" = 10000.0 "Q" = 0.7 "Gain" = 0.6 } + } + ] + links = [ + { output = "eq_band_1:Out" input = "eq_band_2:In" } + { output = "eq_band_2:Out" input = "eq_band_3:In" } + { output = "eq_band_3:Out" input = "eq_band_4:In" } + { output = "eq_band_4:Out" input = "eq_band_5:In" } + { output = "eq_band_5:Out" input = "eq_band_6:In" } + { output = "eq_band_6:Out" input = "eq_band_7:In" } + { output = "eq_band_7:Out" input = "eq_band_8:In" } + { output = "eq_band_8:Out" input = "eq_band_9:In" } + { output = "eq_band_9:Out" input = "eq_band_10:In" } + ] + } + audio.channels = 2 + audio.position = [ FL FR ] + capture.props = { + node.name = "effect_input.jbudsair" + media.class = Audio/Sink + } + playback.props = { + node.name = "effect_output.jbudsair" + node.passive = true + } + } + } +] -- cgit v1.2.3