Better EQ for Librem 14 speakers

If you start it as a service, without the GUI, it consumes 6% of CPU. Still not perfect, but better than 25%.

You can start it as systemd service with the following unit:

~❯ cat ~/.config/systemd/user/pulseeffects.service 
[Unit]
Description=pulseeffects

[Service]
ExecStart=/usr/bin/pulseeffects --gapplication-service
ExecStopPost=/usr/bin/pulseeffects -q

[Install]
WantedBy=default.target
7 Likes

@Sachio222

Is this EQ supposed to make the speakers sound “flat” or just better to your ears? What was your methodology?

(Also, thanks for doing this EQing).

3 things mainly

  1. maximize bottom end without hitting distortion
  2. soften out all resonating “tinny” sounds from the mids. They cut like a harsh push to the ear drums.
  3. provide shimmer and presence in the highs without creating excess noise.

I put it up against several different tunes on YouTube and spotify as well as audiobooks and tried to find and average profile that would maximize the performance of these speakers and bring them up to something that brings out the content and doesn’t get in the way by coloring the sound with “hey I’m a $0.50 speaker!” And rather, “hey here’s your audio!”

Also it’s a pleasure. I hope they take this as an example for what the expectation is for how to handle audio.

3 Likes

Awesome! Can’t wait to try

Thanks :slight_smile:

1 Like

Updated with a v2.0. Made it so that louder music like dubstep distorts less, and that in general, you don’t have to be on full volume to hear it well. Although it might be heavier on the processor, for sound it can’t be beat. Have been jamming out to some tunes for an hour now and it handles almost everything with ease.

Purism14_2.0.json

{
    "spectrum": {
        "show": "false",
        "n-points": "100",
        "height": "120",
        "use-custom-color": "false",
        "fill": "true",
        "show-bar-border": "true",
        "sampling-freq": "10",
        "line-width": "2",
        "type": "Bars",
        "color": [
            "1",
            "1",
            "1",
            "1"
        ],
        "color-axis-labels": [
            "1",
            "1",
            "1",
            "1"
        ],
        "gradient-color": [
            "0",
            "0",
            "0",
            "1"
        ]
    },
    "output": {
        "blocklist": "",
        "plugins_order": [
            "equalizer",
            "maximizer",
            "limiter",
            "compressor",
            "autogain",
            "gate",
            "multiband_gate",
            "multiband_compressor",
            "convolver",
            "bass_enhancer",
            "exciter",
            "crystalizer",
            "stereo_tools",
            "reverb",
            "delay",
            "deesser",
            "crossfeed",
            "loudness",
            "filter",
            "pitch",
            "rnnoise"
        ],
        "bass_enhancer": {
            "state": "false",
            "input-gain": "0",
            "output-gain": "0",
            "amount": "0",
            "harmonics": "8.5",
            "scope": "100",
            "floor": "20",
            "blend": "0",
            "floor-active": "false",
            "listen": "false"
        },
        "compressor": {
            "state": "false",
            "input-gain": "0",
            "output-gain": "-1.8",
            "mode": "Downward",
            "attack": "20",
            "release": "100",
            "release-threshold": "-200",
            "threshold": "-12",
            "ratio": "4",
            "knee": "-6",
            "makeup": "0",
            "boost-threshold": "-72",
            "sidechain": {
                "listen": "false",
                "type": "Feed-forward",
                "mode": "RMS",
                "source": "Middle",
                "preamp": "0",
                "reactivity": "10",
                "lookahead": "0"
            },
            "hpf-mode": "off",
            "hpf-frequency": "10",
            "lpf-mode": "off",
            "lpf-frequency": "20000"
        },
        "crossfeed": {
            "state": "false",
            "fcut": "700",
            "feed": "4.5"
        },
        "deesser": {
            "state": "false",
            "detection": "RMS",
            "mode": "Wide",
            "threshold": "-18",
            "ratio": "3",
            "laxity": "15",
            "makeup": "0",
            "f1-freq": "6000",
            "f2-freq": "4500",
            "f1-level": "0",
            "f2-level": "12",
            "f2-q": "1",
            "sc-listen": "false"
        },
        "equalizer": {
            "state": "true",
            "mode": "IIR",
            "num-bands": "30",
            "input-gain": "0",
            "output-gain": "9.5999999999999996",
            "split-channels": "false",
            "left": {
                "band0": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-31.111111111111111",
                    "frequency": "22.59",
                    "q": "4.3600000000000003"
                },
                "band1": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-26.868686868686872",
                    "frequency": "28.440000000000001",
                    "q": "4.3600000000000003"
                },
                "band2": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-21.91919191919192",
                    "frequency": "35.799999999999997",
                    "q": "4.3600000000000003"
                },
                "band3": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-16.262626262626267",
                    "frequency": "45.07",
                    "q": "4.3600000000000003"
                },
                "band4": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-3.5353535353535364",
                    "frequency": "56.740000000000002",
                    "q": "4.3600000000000003"
                },
                "band5": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "4.6484375",
                    "frequency": "71.430000000000007",
                    "q": "4.3600000000000003"
                },
                "band6": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "3.8888888888888928",
                    "frequency": "89.930000000000007",
                    "q": "4.3600000000000003"
                },
                "band7": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "1.0606060606060623",
                    "frequency": "113.20999999999999",
                    "q": "4.3600000000000003"
                },
                "band8": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "1.4141414141414188",
                    "frequency": "142.53",
                    "q": "4.3600000000000003"
                },
                "band9": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "1.4141414141414188",
                    "frequency": "179.43000000000001",
                    "q": "4.3600000000000003"
                },
                "band10": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-2.8282828282828305",
                    "frequency": "225.88999999999999",
                    "q": "4.3600000000000003"
                },
                "band11": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "1.5494791666666714",
                    "frequency": "284.38",
                    "q": "4.3600000000000003"
                },
                "band12": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "0.35353535353534937",
                    "frequency": "358.01999999999998",
                    "q": "4.3600000000000003"
                },
                "band13": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-3.5353535353535364",
                    "frequency": "450.72000000000003",
                    "q": "4.3600000000000003"
                },
                "band14": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-12.727272727272723",
                    "frequency": "567.41999999999996",
                    "q": "4.3600000000000003"
                },
                "band15": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-7.7777777777777821",
                    "frequency": "714.34000000000003",
                    "q": "4.3600000000000003"
                },
                "band16": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-14.494949494949495",
                    "frequency": "899.28999999999996",
                    "q": "4.3600000000000003"
                },
                "band17": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-15.202020202020201",
                    "frequency": "1132.1500000000001",
                    "q": "4.3600000000000003"
                },
                "band18": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-12.020202020202021",
                    "frequency": "1425.29",
                    "q": "4.3600000000000003"
                },
                "band19": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-10.959595959595958",
                    "frequency": "1794.3299999999999",
                    "q": "4.3600000000000003"
                },
                "band20": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-4.9494949494949516",
                    "frequency": "2258.9299999999998",
                    "q": "4.3600000000000003"
                },
                "band21": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-7.4242424242424256",
                    "frequency": "2843.8200000000002",
                    "q": "4.3600000000000003"
                },
                "band22": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-12.020202020202021",
                    "frequency": "3580.1599999999999",
                    "q": "4.3600000000000003"
                },
                "band23": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-10.252525252525256",
                    "frequency": "4507.1499999999996",
                    "q": "4.3600000000000003"
                },
                "band24": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-3.1818181818181799",
                    "frequency": "5674.1599999999999",
                    "q": "4.3600000000000003"
                },
                "band25": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "0.70707070707071296",
                    "frequency": "7143.3500000000004",
                    "q": "4.3600000000000003"
                },
                "band26": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "1.7676767676767682",
                    "frequency": "8992.9400000000005",
                    "q": "4.3600000000000003"
                },
                "band27": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-2.474747474747474",
                    "frequency": "11321.450000000001",
                    "q": "4.3600000000000003"
                },
                "band28": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-10.606060606060606",
                    "frequency": "14252.860000000001",
                    "q": "4.3600000000000003"
                },
                "band29": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-8.1313131313131279",
                    "frequency": "17943.279999999999",
                    "q": "4.3600000000000003"
                }
            },
            "right": {
                "band0": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-31.111111111111111",
                    "frequency": "22.59",
                    "q": "4.3600000000000003"
                },
                "band1": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-26.868686868686872",
                    "frequency": "28.440000000000001",
                    "q": "4.3600000000000003"
                },
                "band2": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-21.91919191919192",
                    "frequency": "35.799999999999997",
                    "q": "4.3600000000000003"
                },
                "band3": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-16.262626262626267",
                    "frequency": "45.07",
                    "q": "4.3600000000000003"
                },
                "band4": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-3.5353535353535364",
                    "frequency": "56.740000000000002",
                    "q": "4.3600000000000003"
                },
                "band5": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "4.6484375",
                    "frequency": "71.430000000000007",
                    "q": "4.3600000000000003"
                },
                "band6": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "3.8888888888888928",
                    "frequency": "89.930000000000007",
                    "q": "4.3600000000000003"
                },
                "band7": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "1.0606060606060623",
                    "frequency": "113.20999999999999",
                    "q": "4.3600000000000003"
                },
                "band8": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "1.4141414141414188",
                    "frequency": "142.53",
                    "q": "4.3600000000000003"
                },
                "band9": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "1.4141414141414188",
                    "frequency": "179.43000000000001",
                    "q": "4.3600000000000003"
                },
                "band10": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-2.8282828282828305",
                    "frequency": "225.88999999999999",
                    "q": "4.3600000000000003"
                },
                "band11": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "1.5494791666666714",
                    "frequency": "284.38",
                    "q": "4.3600000000000003"
                },
                "band12": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "0.35353535353534937",
                    "frequency": "358.01999999999998",
                    "q": "4.3600000000000003"
                },
                "band13": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-3.5353535353535364",
                    "frequency": "450.72000000000003",
                    "q": "4.3600000000000003"
                },
                "band14": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-12.727272727272723",
                    "frequency": "567.41999999999996",
                    "q": "4.3600000000000003"
                },
                "band15": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-7.7777777777777821",
                    "frequency": "714.34000000000003",
                    "q": "4.3600000000000003"
                },
                "band16": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-14.494949494949495",
                    "frequency": "899.28999999999996",
                    "q": "4.3600000000000003"
                },
                "band17": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-15.202020202020201",
                    "frequency": "1132.1500000000001",
                    "q": "4.3600000000000003"
                },
                "band18": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-12.020202020202021",
                    "frequency": "1425.29",
                    "q": "4.3600000000000003"
                },
                "band19": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-10.959595959595958",
                    "frequency": "1794.3299999999999",
                    "q": "4.3600000000000003"
                },
                "band20": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-4.9494949494949516",
                    "frequency": "2258.9299999999998",
                    "q": "4.3600000000000003"
                },
                "band21": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-7.4242424242424256",
                    "frequency": "2843.8200000000002",
                    "q": "4.3600000000000003"
                },
                "band22": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-12.020202020202021",
                    "frequency": "3580.1599999999999",
                    "q": "4.3600000000000003"
                },
                "band23": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-10.252525252525256",
                    "frequency": "4507.1499999999996",
                    "q": "4.3600000000000003"
                },
                "band24": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-3.1818181818181799",
                    "frequency": "5674.1599999999999",
                    "q": "4.3600000000000003"
                },
                "band25": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "0.70707070707071296",
                    "frequency": "7143.3500000000004",
                    "q": "4.3600000000000003"
                },
                "band26": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "1.7676767676767682",
                    "frequency": "8992.9400000000005",
                    "q": "4.3600000000000003"
                },
                "band27": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-2.474747474747474",
                    "frequency": "11321.450000000001",
                    "q": "4.3600000000000003"
                },
                "band28": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-10.606060606060606",
                    "frequency": "14252.860000000001",
                    "q": "4.3600000000000003"
                },
                "band29": {
                    "type": "Bell",
                    "mode": "RLC (BT)",
                    "slope": "x1",
                    "solo": "false",
                    "mute": "false",
                    "gain": "-8.1313131313131279",
                    "frequency": "17943.279999999999",
                    "q": "4.3600000000000003"
                }
            }
        },
        "exciter": {
            "state": "false",
            "input-gain": "0",
            "output-gain": "0",
            "amount": "0",
            "harmonics": "8.5",
            "scope": "7500",
            "ceil": "16000",
            "blend": "0",
            "ceil-active": "false",
            "listen": "false"
        },
        "filter": {
            "state": "false",
            "input-gain": "0",
            "output-gain": "0",
            "frequency": "2000",
            "resonance": "-3",
            "mode": "12dB\/oct Lowpass",
            "inertia": "20"
        },
        "gate": {
            "state": "false",
            "detection": "RMS",
            "stereo-link": "Average",
            "range": "-24",
            "attack": "20",
            "release": "250",
            "threshold": "-18",
            "ratio": "2",
            "knee": "9",
            "input": "0",
            "makeup": "0"
        },
        "limiter": {
            "state": "false",
            "input-gain": "0.29999999999999999",
            "limit": "-0.20000000000000004",
            "lookahead": "5",
            "release": "27",
            "auto-level": "false",
            "asc": "false",
            "asc-level": "0.71000000000000019",
            "oversampling": "1",
            "output-gain": "0"
        },
        "maximizer": {
            "state": "true",
            "release": "21",
            "ceiling": "-0.20000000000000001",
            "threshold": "-9.6999999999999815"
        },
        "pitch": {
            "state": "false",
            "input-gain": "0",
            "output-gain": "0",
            "cents": "0",
            "semitones": "0",
            "octaves": "0",
            "crispness": "3",
            "formant-preserving": "false",
            "faster": "false"
        },
        "reverb": {
            "state": "false",
            "input-gain": "0",
            "output-gain": "0",
            "room-size": "Large",
            "decay-time": "1.5",
            "hf-damp": "5000",
            "diffusion": "0.5",
            "amount": "-12",
            "dry": "0",
            "predelay": "0",
            "bass-cut": "300",
            "treble-cut": "5000"
        },
        "multiband_compressor": {
            "state": "false",
            "input-gain": "0",
            "output-gain": "0",
            "freq0": "120",
            "freq1": "1000",
            "freq2": "6000",
            "mode": "LR8",
            "subband": {
                "threshold": "-12",
                "ratio": "2",
                "attack": "150",
                "release": "300",
                "makeup": "0",
                "knee": "9",
                "detection": "RMS",
                "bypass": "false",
                "solo": "false"
            },
            "lowband": {
                "threshold": "-12",
                "ratio": "2",
                "attack": "150",
                "release": "300",
                "makeup": "0",
                "knee": "9",
                "detection": "RMS",
                "bypass": "false",
                "solo": "false"
            },
            "midband": {
                "threshold": "-12",
                "ratio": "2",
                "attack": "150",
                "release": "300",
                "makeup": "0",
                "knee": "9",
                "detection": "RMS",
                "bypass": "false",
                "solo": "false"
            },
            "highband": {
                "threshold": "-12",
                "ratio": "2",
                "attack": "150",
                "release": "300",
                "makeup": "0",
                "knee": "9",
                "detection": "RMS",
                "bypass": "false",
                "solo": "false"
            }
        },
        "loudness": {
            "state": "false",
            "fft": "4096",
            "std": "ISO226-2003",
            "input": "0",
            "volume": "0"
        },
        "multiband_gate": {
            "state": "false",
            "input-gain": "0",
            "output-gain": "0",
            "freq0": "120",
            "freq1": "1000",
            "freq2": "6000",
            "mode": "LR8",
            "subband": {
                "reduction": "-24",
                "threshold": "-12",
                "ratio": "2",
                "attack": "150",
                "release": "300",
                "makeup": "0",
                "knee": "9",
                "detection": "RMS",
                "bypass": "false",
                "solo": "false"
            },
            "lowband": {
                "reduction": "-24",
                "threshold": "-12",
                "ratio": "2",
                "attack": "150",
                "release": "300",
                "makeup": "0",
                "knee": "9",
                "detection": "RMS",
                "bypass": "false",
                "solo": "false"
            },
            "midband": {
                "reduction": "-24",
                "threshold": "-12",
                "ratio": "2",
                "attack": "150",
                "release": "300",
                "makeup": "0",
                "knee": "9",
                "detection": "RMS",
                "bypass": "false",
                "solo": "false"
            },
            "highband": {
                "reduction": "-24",
                "threshold": "-12",
                "ratio": "2",
                "attack": "150",
                "release": "300",
                "makeup": "0",
                "knee": "9",
                "detection": "RMS",
                "bypass": "false",
                "solo": "false"
            }
        },
        "stereo_tools": {
            "state": "false",
            "input-gain": "0",
            "output-gain": "0",
            "balance-in": "0",
            "balance-out": "0",
            "softclip": "false",
            "mutel": "false",
            "muter": "false",
            "phasel": "false",
            "phaser": "false",
            "mode": "LR > LR (Stereo Default)",
            "side-level": "0",
            "side-balance": "0",
            "middle-level": "0",
            "middle-panorama": "0",
            "stereo-base": "0",
            "delay": "0",
            "sc-level": "1",
            "stereo-phase": "0"
        },
        "convolver": {
            "state": "false",
            "input-gain": "0",
            "output-gain": "0",
            "kernel-path": "",
            "ir-width": "100"
        },
        "crystalizer": {
            "state": "false",
            "aggressive": "false",
            "input-gain": "0",
            "output-gain": "0",
            "band0": {
                "intensity": "12",
                "mute": "false",
                "bypass": "false"
            },
            "band1": {
                "intensity": "10",
                "mute": "false",
                "bypass": "false"
            },
            "band2": {
                "intensity": "8",
                "mute": "false",
                "bypass": "false"
            },
            "band3": {
                "intensity": "6",
                "mute": "false",
                "bypass": "false"
            },
            "band4": {
                "intensity": "4",
                "mute": "false",
                "bypass": "false"
            },
            "band5": {
                "intensity": "2",
                "mute": "false",
                "bypass": "false"
            },
            "band6": {
                "intensity": "0",
                "mute": "false",
                "bypass": "false"
            },
            "band7": {
                "intensity": "-2",
                "mute": "false",
                "bypass": "false"
            },
            "band8": {
                "intensity": "-4",
                "mute": "false",
                "bypass": "false"
            },
            "band9": {
                "intensity": "-6",
                "mute": "false",
                "bypass": "false"
            },
            "band10": {
                "intensity": "-8",
                "mute": "false",
                "bypass": "false"
            },
            "band11": {
                "intensity": "-10",
                "mute": "false",
                "bypass": "false"
            },
            "band12": {
                "intensity": "-12",
                "mute": "false",
                "bypass": "false"
            }
        },
        "autogain": {
            "state": "false",
            "detect-silence": "false",
            "use-geometric-mean": "true",
            "input-gain": "0",
            "output-gain": "0",
            "target": "-23",
            "weight-m": "1",
            "weight-s": "1",
            "weight-i": "1"
        },
        "delay": {
            "state": "false",
            "input-gain": "0",
            "output-gain": "0",
            "time-l": "0",
            "time-r": "0"
        },
        "rnnoise": {
            "state": "false",
            "input-gain": "0",
            "output-gain": "0",
            "model-path": "Standard RNNoise Model"
        }
    }
}
11 Likes

You’re the man! I was about to write that I found that with some certain style of music the sound was distorted. The fix came before the complaint :slight_smile: thanks!

2 Likes

Also, do you know how to add it as a service if I installed from flatpak? I am using

/var/lib/flatpak/app/com.github.wwmm.pulseeffects

as my path, but not sure if that is valid.

There can be a tiny bit of distortion at full volume still for some tracks, but I chose that as a trade off to not needing to always be at full volume for other tracks. So you’ve got somewhere louder to go for some things.

UPDATE: although rethinking this… especially with accoustic music having heavy distortion in the subs. May just cut back the bass altogether.

I think if you use a DE that supports the .desktop files, the preference “start at login” should work. Unfortunately I don’t know flatpak very well, and I avoid them for anything system related

I installed the preset v2.0 and I can confirm I haven’t found a single track that is distorted.

2 Likes

I’m actually so pleased with the results of 2.0 :slight_smile: I get slight lower distortion at full volume, but it’s loud enough to play 1 or 2 clicks from the top fine.

I’ve been listening to music all day on this and the profile turned out great.

5 Likes

I realized the equalizer preset is applied to any output devices, which is definitely not what we want bluetooth speakers and headsets. You can use the autoload folder in ~/.config/PulseEffects like so

~/.config/PulseEffects/autoload❯ cat alsa_output.pci-0000_00_1f.3.analog-stereo.json 
{
	"name": "librem14-eq-2.0"
}
~/.config/PulseEffects/autoload❯ cat bluez_output.C0_28_8D_F6_95_0B.a2dp-sink.json                                                 
{
    "name": "default"
}

To create the default profile, just disable all effects in pulseeffects, then save this profile as default. The name of the file is pulse module name you want, which can be found by running pactl list

4 Likes

Great trick… great avatar.

1 Like

Wow, this is an amazing difference! I wonder if there is a way to make it the default without having to use CPU? In any case, thank you so much for posting this.

1 Like

Finally located pulseefects config docs:

https://www.systutorials.com/docs/linux/man/5-pulse-daemon.conf/

1 Like

On elementary OS. After copying your code, I’m getting an error…

● pulseeffects.service - pulseeffects
   Loaded: loaded (/home/USER/.config/systemd/user/pulseeffects.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2021-05-27 00:27:29 EDT; 18s ago
  Process: 3164 ExecStopPost=/usr/bin/pulseeffects -q (code=exited, status=1/FAILURE)
  Process: 3142 ExecStart=/usr/bin/pulseeffects (code=exited, status=1/FAILURE)
 Main PID: 3142 (code=exited, status=1/FAILURE)

May 27 00:27:29 ME systemd[3123]: Started pulseeffects.
May 27 00:27:29 ME pulseeffects[3142]: Unable to init server: Could not connect: Connection refused
May 27 00:27:29 ME pulseeffects[3142]: cannot open display: 
May 27 00:27:29 ME systemd[3123]: pulseeffects.service: Main process exited, code=exited, status=1/FAILURE
May 27 00:27:29 ME pulseeffects[3164]: Unable to init server: Could not connect: Connection refused
May 27 00:27:29 ME pulseeffects[3164]: cannot open display: 
May 27 00:27:29 ME systemd[3123]: pulseeffects.service: Control process exited, code=exited status=1
May 27 00:27:29 ME systemd[3123]: pulseeffects.service: Failed with result 'exit-code'.

It does not start as a service, but simply typing systemctl --user start pulseerfects.service works perfectly.

Do you have a tip as to what i might need to change to get this to load automagically?

Yeah this has to be a user service. you should be able to enable it (start when you login) with systemctl --user enable --now pulseeffects

1 Like

hmm. Neither enable nor reenable do the trick. Must be something else. Any clue what else it could be?

You said that systemctl --user start pulseeffects worked so I’m not sure what’s going on. I’m not on same distro, but that should not cause any issue. Your issue is that you can start it manually, but you can’t get it started automatically?