Add eq config

This commit is contained in:
SebastianStork 2024-04-22 23:22:26 +02:00
parent b915c75c2e
commit 60f587bfd6
6 changed files with 270 additions and 5 deletions

View file

@ -0,0 +1,16 @@
{
config,
lib,
...
}: {
options.myConfig.equalizer.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.equalizer.enable {
services.easyeffects.enable = true;
xdg.configFile."easyeffects/output" = {
source = ./output;
recursive = true;
};
};
}

View file

@ -0,0 +1,243 @@
{
"output": {
"blocklist": [],
"equalizer#0": {
"balance": 0.0,
"bypass": false,
"input-gain": -5.89,
"left": {
"band0": {
"frequency": 105.0,
"gain": 6.0,
"mode": "APO (DR)",
"mute": false,
"q": 0.699999988079071,
"slope": "x1",
"solo": false,
"type": "Lo-shelf",
"width": 4.0
},
"band1": {
"frequency": 59.5,
"gain": 1.5,
"mode": "APO (DR)",
"mute": false,
"q": 5.940000057220459,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band2": {
"frequency": 103.9000015258789,
"gain": -1.7999999523162842,
"mode": "APO (DR)",
"mute": false,
"q": 0.5,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band3": {
"frequency": 470.5,
"gain": -0.699999988079071,
"mode": "APO (DR)",
"mute": false,
"q": 2.3399999141693115,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band4": {
"frequency": 1133.0999755859375,
"gain": -5.199999809265137,
"mode": "APO (DR)",
"mute": false,
"q": 1.2699999809265137,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band5": {
"frequency": 2174.60009765625,
"gain": 2.9000000953674316,
"mode": "APO (DR)",
"mute": false,
"q": 2.1700000762939453,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band6": {
"frequency": 4271.2001953125,
"gain": 4.199999809265137,
"mode": "APO (DR)",
"mute": false,
"q": 2.859999895095825,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band7": {
"frequency": 5664.7001953125,
"gain": -4.300000190734863,
"mode": "APO (DR)",
"mute": false,
"q": 4.21999979019165,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band8": {
"frequency": 7658.10009765625,
"gain": 4.199999809265137,
"mode": "APO (DR)",
"mute": false,
"q": 1.25,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band9": {
"frequency": 10000.0,
"gain": -0.8999999761581421,
"mode": "APO (DR)",
"mute": false,
"q": 0.699999988079071,
"slope": "x1",
"solo": false,
"type": "Hi-shelf",
"width": 4.0
}
},
"mode": "IIR",
"num-bands": 10,
"output-gain": 0.0,
"pitch-left": 0.0,
"pitch-right": 0.0,
"right": {
"band0": {
"frequency": 105.0,
"gain": 6.0,
"mode": "APO (DR)",
"mute": false,
"q": 0.699999988079071,
"slope": "x1",
"solo": false,
"type": "Lo-shelf",
"width": 4.0
},
"band1": {
"frequency": 59.5,
"gain": 1.5,
"mode": "APO (DR)",
"mute": false,
"q": 5.940000057220459,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band2": {
"frequency": 103.9000015258789,
"gain": -1.7999999523162842,
"mode": "APO (DR)",
"mute": false,
"q": 0.5,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band3": {
"frequency": 470.5,
"gain": -0.699999988079071,
"mode": "APO (DR)",
"mute": false,
"q": 2.3399999141693115,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band4": {
"frequency": 1133.0999755859375,
"gain": -5.199999809265137,
"mode": "APO (DR)",
"mute": false,
"q": 1.2699999809265137,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band5": {
"frequency": 2174.60009765625,
"gain": 2.9000000953674316,
"mode": "APO (DR)",
"mute": false,
"q": 2.1700000762939453,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band6": {
"frequency": 4271.2001953125,
"gain": 4.199999809265137,
"mode": "APO (DR)",
"mute": false,
"q": 2.859999895095825,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band7": {
"frequency": 5664.7001953125,
"gain": -4.300000190734863,
"mode": "APO (DR)",
"mute": false,
"q": 4.21999979019165,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band8": {
"frequency": 7658.10009765625,
"gain": 4.199999809265137,
"mode": "APO (DR)",
"mute": false,
"q": 1.25,
"slope": "x1",
"solo": false,
"type": "Bell",
"width": 4.0
},
"band9": {
"frequency": 10000.0,
"gain": -0.8999999761581421,
"mode": "APO (DR)",
"mute": false,
"q": 0.699999988079071,
"slope": "x1",
"solo": false,
"type": "Hi-shelf",
"width": 4.0
}
},
"split-channels": false
},
"plugins_order": [
"equalizer#0"
]
}
}