From 0b8afcb3e095e1d4e92a0f2564b36236aeeca7bb Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 5 Apr 2024 17:44:07 -0400 Subject: [PATCH] easyeffects: added presets for rustboro --- .../easyeffects/LoudnessEqualizer.json | 560 ++++++++++++++++++ .../userServices/easyeffects/default.nix | 3 + hosts/rustboro/home.nix | 10 + 3 files changed, 573 insertions(+) create mode 100644 homeManagerModules/userServices/easyeffects/LoudnessEqualizer.json diff --git a/homeManagerModules/userServices/easyeffects/LoudnessEqualizer.json b/homeManagerModules/userServices/easyeffects/LoudnessEqualizer.json new file mode 100644 index 00000000..cabbd434 --- /dev/null +++ b/homeManagerModules/userServices/easyeffects/LoudnessEqualizer.json @@ -0,0 +1,560 @@ +{ + "output": { + "blocklist": [], + "compressor#0": { + "attack": 130.0, + "boost-amount": 6.0, + "boost-threshold": -60.0, + "bypass": false, + "dry": -100.0, + "hpf-frequency": 10.0, + "hpf-mode": "off", + "input-gain": 0.0, + "knee": -24.0, + "lpf-frequency": 20000.0, + "lpf-mode": "off", + "makeup": 0.0, + "mode": "Upward", + "output-gain": 0.0, + "ratio": 5.0, + "release": 600.0, + "release-threshold": -100.0, + "sidechain": { + "lookahead": 0.0, + "mode": "RMS", + "preamp": 0.0, + "reactivity": 10.0, + "source": "Middle", + "stereo-split-source": "Left/Right", + "type": "Feed-forward" + }, + "stereo-split": false, + "threshold": -10.0, + "wet": 0.0 + }, + "equalizer#0": { + "balance": 0.0, + "bypass": false, + "input-gain": 0.0, + "left": { + "band0": { + "frequency": 32.0, + "gain": 3.5, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band1": { + "frequency": 64.0, + "gain": 2.0, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band2": { + "frequency": 128.0, + "gain": 1.0, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band3": { + "frequency": 256.0, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band4": { + "frequency": 512.0, + "gain": -0.5, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band5": { + "frequency": 1024.0, + "gain": -1.5, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band6": { + "frequency": 2048.0, + "gain": -0.25, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band7": { + "frequency": 4096.0, + "gain": 1.25, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band8": { + "frequency": 8192.0, + "gain": 2.75, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band9": { + "frequency": 16384.0, + "gain": 3.0, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + } + }, + "mode": "IIR", + "num-bands": 10, + "output-gain": 0.0, + "pitch-left": 0.0, + "pitch-right": 0.0, + "right": { + "band0": { + "frequency": 32.0, + "gain": 3.5, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band1": { + "frequency": 64.0, + "gain": 2.0, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band2": { + "frequency": 128.0, + "gain": 1.0, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band3": { + "frequency": 256.0, + "gain": 0.0, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band4": { + "frequency": 512.0, + "gain": -0.5, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band5": { + "frequency": 1024.0, + "gain": -1.5, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band6": { + "frequency": 2048.0, + "gain": -0.25, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band7": { + "frequency": 4096.0, + "gain": 1.25, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band8": { + "frequency": 8192.0, + "gain": 2.75, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + }, + "band9": { + "frequency": 16384.0, + "gain": 3.0, + "mode": "RLC (BT)", + "mute": false, + "q": 1.6, + "slope": "x1", + "solo": false, + "type": "Bell", + "width": 4.0 + } + }, + "split-channels": false + }, + "gate#0": { + "attack": 2000.0, + "bypass": false, + "curve-threshold": -40.0, + "curve-zone": -40.0, + "dry": -100.0, + "hpf-frequency": 10.0, + "hpf-mode": "off", + "hysteresis": false, + "hysteresis-threshold": -12.0, + "hysteresis-zone": -6.0, + "input-gain": 0.0, + "lpf-frequency": 20000.0, + "lpf-mode": "off", + "makeup": 0.0, + "output-gain": 0.0, + "reduction": -30.0, + "release": 2000.0, + "sidechain": { + "input": "Internal", + "lookahead": 0.0, + "mode": "Peak", + "preamp": 0.0, + "reactivity": 10.0, + "source": "Middle", + "stereo-split-source": "Left/Right" + }, + "stereo-split": false, + "wet": 0.0 + }, + "limiter#0": { + "alr": false, + "alr-attack": 5.0, + "alr-knee": 0.0, + "alr-release": 50.0, + "attack": 5.0, + "bypass": false, + "dithering": "None", + "external-sidechain": false, + "gain-boost": false, + "input-gain": 0.0, + "lookahead": 5.0, + "mode": "Herm Thin", + "output-gain": 0.0, + "oversampling": "Half x4(3L)", + "release": 10.0, + "sidechain-preamp": 0.0, + "stereo-link": 100.0, + "threshold": -1.0 + }, + "multiband_compressor#0": { + "band0": { + "attack-threshold": -30.0, + "attack-time": 50.0, + "boost-amount": 6.0, + "boost-threshold": -72.0, + "compression-mode": "Downward", + "compressor-enable": true, + "external-sidechain": false, + "knee": -24.0, + "makeup": 0.0, + "mute": false, + "ratio": 1.7, + "release-threshold": -100.0, + "release-time": 600.0, + "sidechain-custom-highcut-filter": false, + "sidechain-custom-lowcut-filter": false, + "sidechain-highcut-frequency": 250.0, + "sidechain-lookahead": 0.0, + "sidechain-lowcut-frequency": 10.0, + "sidechain-mode": "RMS", + "sidechain-preamp": 0.0, + "sidechain-reactivity": 10.0, + "sidechain-source": "Middle", + "solo": false, + "stereo-split-source": "Left/Right" + }, + "band1": { + "attack-threshold": -30.0, + "attack-time": 30.0, + "boost-amount": 6.0, + "boost-threshold": -72.0, + "compression-mode": "Downward", + "compressor-enable": true, + "enable-band": true, + "external-sidechain": false, + "knee": -24.0, + "makeup": 0.0, + "mute": false, + "ratio": 1.7, + "release-threshold": -100.0, + "release-time": 450.0, + "sidechain-custom-highcut-filter": false, + "sidechain-custom-lowcut-filter": false, + "sidechain-highcut-frequency": 1250.0, + "sidechain-lookahead": 0.0, + "sidechain-lowcut-frequency": 250.0, + "sidechain-mode": "RMS", + "sidechain-preamp": 0.0, + "sidechain-reactivity": 10.0, + "sidechain-source": "Middle", + "solo": false, + "split-frequency": 250.0, + "stereo-split-source": "Left/Right" + }, + "band2": { + "attack-threshold": -30.0, + "attack-time": 10.0, + "boost-amount": 6.0, + "boost-threshold": -72.0, + "compression-mode": "Downward", + "compressor-enable": true, + "enable-band": true, + "external-sidechain": false, + "knee": -24.0, + "makeup": 0.0, + "mute": false, + "ratio": 1.7, + "release-threshold": -100.0, + "release-time": 250.0, + "sidechain-custom-highcut-filter": false, + "sidechain-custom-lowcut-filter": false, + "sidechain-highcut-frequency": 5000.0, + "sidechain-lookahead": 0.0, + "sidechain-lowcut-frequency": 1250.0, + "sidechain-mode": "RMS", + "sidechain-preamp": 0.0, + "sidechain-reactivity": 10.0, + "sidechain-source": "Middle", + "solo": false, + "split-frequency": 1250.0, + "stereo-split-source": "Left/Right" + }, + "band3": { + "attack-threshold": -30.0, + "attack-time": 5.0, + "boost-amount": 6.0, + "boost-threshold": -72.0, + "compression-mode": "Downward", + "compressor-enable": true, + "enable-band": true, + "external-sidechain": false, + "knee": -24.0, + "makeup": 0.0, + "mute": false, + "ratio": 1.7, + "release-threshold": -100.0, + "release-time": 100.0, + "sidechain-custom-highcut-filter": false, + "sidechain-custom-lowcut-filter": false, + "sidechain-highcut-frequency": 20000.0, + "sidechain-lookahead": 0.0, + "sidechain-lowcut-frequency": 5000.0, + "sidechain-mode": "RMS", + "sidechain-preamp": 0.0, + "sidechain-reactivity": 10.0, + "sidechain-source": "Middle", + "solo": false, + "split-frequency": 5000.0, + "stereo-split-source": "Left/Right" + }, + "band4": { + "attack-threshold": -12.0, + "attack-time": 20.0, + "boost-amount": 6.0, + "boost-threshold": -72.0, + "compression-mode": "Downward", + "compressor-enable": true, + "enable-band": false, + "external-sidechain": false, + "knee": -6.0, + "makeup": 0.0, + "mute": false, + "ratio": 1.0, + "release-threshold": -100.0, + "release-time": 100.0, + "sidechain-custom-highcut-filter": false, + "sidechain-custom-lowcut-filter": false, + "sidechain-highcut-frequency": 8000.0, + "sidechain-lookahead": 0.0, + "sidechain-lowcut-frequency": 4000.0, + "sidechain-mode": "RMS", + "sidechain-preamp": 0.0, + "sidechain-reactivity": 10.0, + "sidechain-source": "Middle", + "solo": false, + "split-frequency": 4000.0, + "stereo-split-source": "Left/Right" + }, + "band5": { + "attack-threshold": -12.0, + "attack-time": 20.0, + "boost-amount": 6.0, + "boost-threshold": -72.0, + "compression-mode": "Downward", + "compressor-enable": true, + "enable-band": false, + "external-sidechain": false, + "knee": -6.0, + "makeup": 0.0, + "mute": false, + "ratio": 1.0, + "release-threshold": -100.0, + "release-time": 100.0, + "sidechain-custom-highcut-filter": false, + "sidechain-custom-lowcut-filter": false, + "sidechain-highcut-frequency": 12000.0, + "sidechain-lookahead": 0.0, + "sidechain-lowcut-frequency": 8000.0, + "sidechain-mode": "RMS", + "sidechain-preamp": 0.0, + "sidechain-reactivity": 10.0, + "sidechain-source": "Middle", + "solo": false, + "split-frequency": 8000.0, + "stereo-split-source": "Left/Right" + }, + "band6": { + "attack-threshold": -12.0, + "attack-time": 20.0, + "boost-amount": 6.0, + "boost-threshold": -72.0, + "compression-mode": "Downward", + "compressor-enable": true, + "enable-band": false, + "external-sidechain": false, + "knee": -6.0, + "makeup": 0.0, + "mute": false, + "ratio": 1.0, + "release-threshold": -100.0, + "release-time": 100.0, + "sidechain-custom-highcut-filter": false, + "sidechain-custom-lowcut-filter": false, + "sidechain-highcut-frequency": 16000.0, + "sidechain-lookahead": 0.0, + "sidechain-lowcut-frequency": 12000.0, + "sidechain-mode": "RMS", + "sidechain-preamp": 0.0, + "sidechain-reactivity": 10.0, + "sidechain-source": "Middle", + "solo": false, + "split-frequency": 12000.0, + "stereo-split-source": "Left/Right" + }, + "band7": { + "attack-threshold": -12.0, + "attack-time": 20.0, + "boost-amount": 6.0, + "boost-threshold": -72.0, + "compression-mode": "Downward", + "compressor-enable": true, + "enable-band": false, + "external-sidechain": false, + "knee": -6.0, + "makeup": 0.0, + "mute": false, + "ratio": 1.0, + "release-threshold": -100.0, + "release-time": 100.0, + "sidechain-custom-highcut-filter": false, + "sidechain-custom-lowcut-filter": false, + "sidechain-highcut-frequency": 20000.0, + "sidechain-lookahead": 0.0, + "sidechain-lowcut-frequency": 16000.0, + "sidechain-mode": "RMS", + "sidechain-preamp": 0.0, + "sidechain-reactivity": 10.0, + "sidechain-source": "Middle", + "solo": false, + "split-frequency": 16000.0, + "stereo-split-source": "Left/Right" + }, + "bypass": false, + "compressor-mode": "Modern", + "dry": -100.0, + "envelope-boost": "None", + "input-gain": 0.0, + "output-gain": 0.0, + "stereo-split": false, + "wet": 0.0 + }, + "plugins_order": [ + "gate#0", + "compressor#0", + "multiband_compressor#0", + "equalizer#0", + "limiter#0" + ] + } +} diff --git a/homeManagerModules/userServices/easyeffects/default.nix b/homeManagerModules/userServices/easyeffects/default.nix index f2ec518e..675ca018 100644 --- a/homeManagerModules/userServices/easyeffects/default.nix +++ b/homeManagerModules/userServices/easyeffects/default.nix @@ -15,6 +15,9 @@ xdg.configFile."easyeffects/output/framework13.json".source = ./framework13.json; + xdg.configFile."easyeffects/output/LoudnessEqualizer.json".source = + ./LoudnessEqualizer.json; + services.easyeffects = { enable = true; preset = config.userServices.easyeffects.preset; diff --git a/hosts/rustboro/home.nix b/hosts/rustboro/home.nix index d9190b4d..f2c6da7f 100644 --- a/hosts/rustboro/home.nix +++ b/hosts/rustboro/home.nix @@ -15,6 +15,11 @@ programs.home-manager.enable = true; desktopEnv.hyprland.hyprpaper.randomWallpaper.enable = false; + + userServices.easyeffects = { + enable = true; + preset = "LoudnessEqualizer.json"; + }; }; users.users.aly.hashedPassword = @@ -27,5 +32,10 @@ home.stateVersion = "23.11"; programs.home-manager.enable = true; + + userServices.easyeffects = { + enable = true; + preset = "LoudnessEqualizer.json"; + }; }; }