Better EQ for Librem 14 speakers

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?

Yeah, exactly. It’s a weird bug. It starts fine once the desktop is loaded. Very little on the web regarding how to fix the issue.

Added Restart=always at the end of the [Service] section and it worked like a charm.

1 Like

Hum you may have a ordering problem. What if you ad After=pulseaudio in the Unit section? (Provided the pulseaudio service is named pulseaudio. I’m not sure I don’t use it)

Has anybody got something like this working with Qubes? dom0 runs fedora-25 which does not have the pulseeffects package available.

As a bass player that is just wrong :rofl:

And I may want to PM you about all this after I get my L14 and see what’s what, if that’s ok?

Lol, no worries. In v2 of the audio treatment, I added a very very slight limiter so that I wouldn’t need to turn down the bass, but it still would not typically distort. But yeah message me any time.

1 Like