From 70f102cda98cae63ca3de229ff25e9e31254cd00 Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Thu, 9 May 2024 10:22:20 +0530 Subject: [PATCH] wireplumber: Update equalizer configuration for DT770 Parametric Equalizer configuration was generated by running the below command. ```bash python -m autoeq --input-file="measurements/Kuulokenurkka/data/over-ear/Beyerdynamic DT 770 Pro (80 Ohm).csv" --output-dir="dt770-results" --target="targets/Diffuse field 5128.csv" --parametric-eq --convolution-eq --fs=44100,48000 ``` --- .../wireplumber/scripts/equalizer/dt770.lua | 39 +++++++++++-------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/wireplumber/.local/share/wireplumber/scripts/equalizer/dt770.lua b/wireplumber/.local/share/wireplumber/scripts/equalizer/dt770.lua index 7264755..9f3fd2d 100644 --- a/wireplumber/.local/share/wireplumber/scripts/equalizer/dt770.lua +++ b/wireplumber/.local/share/wireplumber/scripts/equalizer/dt770.lua @@ -1,5 +1,5 @@ --- Generated by EQ'ing DT-770 frequency response to the Harman Linear Bass --- curve on squig.link. +-- Generated by EQ'ing DT-770 frequency response to the Diffuse Field target +-- curve with AutoEq. -- luacheck: ignore 111 113 local args = { ["node.description"] = "DT770 Equalizer Sink", @@ -14,61 +14,67 @@ args["filter.graph"] = Json.Object { type = "builtin", name = "eq_band_1", label = "bq_highshelf", - control = Json.Object { Freq = 0, Gain = -4.7, Q = 1.0 }, + control = Json.Object { Freq = 0, Gain = -6.1, Q = 1.0 }, }, Json.Object { type = "builtin", name = "eq_band_2", - label = "bq_peaking", - control = Json.Object { Freq = 45, Gain = -5.6, Q = 0.9 }, + label = "bq_lowshelf", + control = Json.Object { Freq = 105, Gain = -5.1, Q = 0.70 }, }, Json.Object { type = "builtin", name = "eq_band_3", label = "bq_peaking", - control = Json.Object { Freq = 85, Gain = 2.6, Q = 2.0 }, + control = Json.Object { Freq = 41, Gain = -4.6, Q = 1.13 }, }, Json.Object { type = "builtin", name = "eq_band_4", label = "bq_lowshelf", - control = Json.Object { Freq = 120, Gain = -2.1, Q = 2.0 }, + control = Json.Object { Freq = 433, Gain = -2.4, Q = 1.66 }, }, Json.Object { type = "builtin", name = "eq_band_5", label = "bq_peaking", - control = Json.Object { Freq = 200, Gain = 5.3, Q = 2.0 }, + control = Json.Object { Freq = 3349, Gain = 5.2, Q = 3.04 }, }, Json.Object { type = "builtin", name = "eq_band_6", label = "bq_peaking", - control = Json.Object { Freq = 1800, Gain = 1.4, Q = 2.0 }, + control = Json.Object { Freq = 125, Gain = -3.6, Q = 4.83 }, }, Json.Object { type = "builtin", name = "eq_band_7", - label = "bq_peaking", - control = Json.Object { Freq = 2700, Gain = -4.1, Q = 1.7 }, + label = "bq_highshelf", + control = Json.Object { Freq = 10000, Gain = 6.0, Q = 0.70 }, }, Json.Object { type = "builtin", name = "eq_band_8", label = "bq_peaking", - control = Json.Object { Freq = 3700, Gain = 10.6, Q = 2.0 }, + control = Json.Object { Freq = 203, Gain = 1.7, Q = 4.17 }, }, Json.Object { type = "builtin", name = "eq_band_9", label = "bq_peaking", - control = Json.Object { Freq = 4300, Gain = -3.8, Q = 2.0 }, + control = Json.Object { Freq = 83, Gain = 3.2, Q = 5.99 }, }, Json.Object { type = "builtin", name = "eq_band_10", label = "bq_peaking", - control = Json.Object { Freq = 5300, Gain = -3.7, Q = 1.2 }, + control = Json.Object { Freq = 995, Gain = -1.6, Q = 4.44 }, + }, + Json.Object { + type = "builtin", + name = "eq_band_11", + label = "bq_peaking", + control = Json.Object { Freq = 63, Gain = -1.4, Q = 3.13 }, }, }, links = Json.Array { @@ -81,16 +87,17 @@ args["filter.graph"] = Json.Object { Json.Object { output = "eq_band_7:Out" , input = "eq_band_8:In" }, Json.Object { output = "eq_band_8:Out" , input = "eq_band_9:In" }, Json.Object { output = "eq_band_9:Out" , input = "eq_band_10:In" }, + Json.Object { output = "eq_band_10:Out", input = "eq_band_11:In" }, }, } args["capture.props"] = Json.Object { - ["node.name"] = "dt770_effect_input.eq10", + ["node.name"] = "dt770_effect_input.eq11", ["media.class"] = "Audio/Sink", } args["playback.props"] = Json.Object { - ["node.name"] = "dt770_effect_output.eq10", + ["node.name"] = "dt770_effect_output.eq11", ["node.passive"] = true, }