wireplumber: Drop equalizer for Zero2

This commit is contained in:
Sanchayan Maity 2024-07-10 18:12:30 +05:30
parent 238d018031
commit 4b2b9910c2
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3
2 changed files with 0 additions and 116 deletions

View file

@ -11,10 +11,6 @@ wireplumber.components = [
name = equalizer/input-denoise.lua, type = script/lua name = equalizer/input-denoise.lua, type = script/lua
provides = equalizer.input-denoise provides = equalizer.input-denoise
} }
{
name = equalizer/zero2.lua, type = script/lua
provides = equalizer.zero2
}
] ]
wireplumber.profiles = { wireplumber.profiles = {
@ -22,7 +18,6 @@ wireplumber.profiles = {
equalizer.dt770 = required equalizer.dt770 = required
equalizer.dt1990-bd = required equalizer.dt1990-bd = required
equalizer.input-denoise = required equalizer.input-denoise = required
equalizer.zero2 = required
} }
} }

View file

@ -1,111 +0,0 @@
-- Generated by EQ'ing Zero2 frequency response to the Diffuse Field
-- target curve using AutoEq.
-- luacheck: ignore 111 113
local args = {
["node.description"] = "7HZ Zero2 Equalizer Sink",
["media.name"] = "7HZ Zero2 Equalizer Sink",
["audio.position"] = Json.Array { "FL", "FR" },
["audio.channels"] = 2,
}
args["filter.graph"] = Json.Object {
nodes = Json.Array {
Json.Object {
type = "builtin",
name = "eq_band_1",
label = "bq_highshelf",
control = Json.Object { Freq = 0, Gain = -6.1, Q = 1.0 },
},
Json.Object {
type = "builtin",
name = "eq_band_2",
label = "bq_lowshelf",
control = Json.Object { Freq = 105, Gain = -14.4, Q = 0.70 },
},
Json.Object {
type = "builtin",
name = "eq_band_3",
label = "bq_peaking",
control = Json.Object { Freq = 201, Gain = -4.2, Q = 0.94 },
},
Json.Object {
type = "builtin",
name = "eq_band_4",
label = "bq_peaking",
control = Json.Object { Freq = 6444, Gain = 5.3, Q = 0.61 },
},
Json.Object {
type = "builtin",
name = "eq_band_5",
label = "bq_peaking",
control = Json.Object { Freq = 2780, Gain = 5.0, Q = 1.99 },
},
Json.Object {
type = "builtin",
name = "eq_band_6",
label = "bq_peaking",
control = Json.Object { Freq = 2318, Gain = -1.9, Q = 1.43 },
},
Json.Object {
type = "builtin",
name = "eq_band_7",
label = "bq_highshelf",
control = Json.Object { Freq = 10000, Gain = 5.4, Q = 0.70 },
},
Json.Object {
type = "builtin",
name = "eq_band_8",
label = "bq_peaking",
control = Json.Object { Freq = 9047, Gain = -2.1, Q = 2.07 },
},
Json.Object {
type = "builtin",
name = "eq_band_9",
label = "bq_peaking",
control = Json.Object { Freq = 60, Gain = 0.9, Q = 2.06 },
},
Json.Object {
type = "builtin",
name = "eq_band_10",
label = "bq_peaking",
control = Json.Object { Freq = 747, Gain = 1.4, Q = 2.53 },
},
Json.Object {
type = "builtin",
name = "eq_band_11",
label = "bq_peaking",
control = Json.Object { Freq = 396, Gain = -0.6, Q = 1.80 },
},
},
links = Json.Array {
Json.Object { output = "eq_band_1:Out" , input = "eq_band_2:In" },
Json.Object { output = "eq_band_2:Out" , input = "eq_band_3:In" },
Json.Object { output = "eq_band_3:Out" , input = "eq_band_4:In" },
Json.Object { output = "eq_band_4:Out" , input = "eq_band_5:In" },
Json.Object { output = "eq_band_5:Out" , input = "eq_band_6:In" },
Json.Object { output = "eq_band_6:Out" , input = "eq_band_7:In" },
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"] = "zero2_effect_input.eq11",
["media.class"] = "Audio/Sink",
}
args["playback.props"] = Json.Object {
["node.name"] = "zero2_effect_output.eq11",
["node.passive"] = true,
}
local args_json = Json.Object(args)
local args_string = args_json:get_data()
local properties = {}
print("Loading 7HZ Zero2 Equalizer Sink with arguments = ")
print(args_string)
filter_chain = LocalModule("libpipewire-module-filter-chain", args_string, properties)