What can I do to get better audio on my laptop speakers?

The audio quality on this laptop is pretty low.
Just curious if there is anything I can do to make it better.

System Specs:

Operating System: openSUSE Tumbleweed 20231226
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.11
Kernel Version: 6.6.7-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × 13th Gen Intel® Core™ i7-1355U
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: HP
Product Name: HP Envy x360 2-in-1 Laptop 14-es0xxx
System Version: Type1ProductConfigId

Use good quality headphones.

2 Likes

Ya, that’s about what I figured lol.

does the sound sound better on windows?
i heard similar issue on other computer with alsa especially then using ossv4 fixed the issue

The small sized speakers in laptops are never going to give high quality sound. Headphones can do better because they are closer to the ear.

However, @Meow69 may have a point. With my older desktop, the sound was never good unless I first booted into Windows and then rebooted to linux. My current desktop does not have that problem.

i did get one issue from pulse audio , audio was getting worse with time until i restart linux otherwise it was only cracking sound, i manage to fix issue i had to edit config file for pulse audio to fix the EQ to 44hz or 48hz i dont remember, otherwise the fix was to kill pulseaudio and use alsa directly with dmix (but i could find a way to get microhphone workingwith dmix dsnoop)
(i was on ubuntu or centos the issue was same on both with realtek audio chip)
if i used the external hp with there own dac there was no issue.

@TxTechnician you could try https://build.opensuse.org/package/show/multimedia:proaudio/JDSP4Linux For Tumbleweed you need JDSP4Linux-common and JDSP4Linux-pipewire

1 Like

That won’t work for many folks - I’ve got a desktop and a laptop and neither have WIn installed (natively or in a VM), as I have zero use for it.

It’s been my experience that the physical speakers in a laptop just aren’t up to the job of “quality sound”. Once you get beyond a certain volume level (70-80%), the audio quality degrades.

If music is mostly desired, external speakers (Bluetooth?) might be an option, and of course, headphones, or maybe even good quality earbuds.

My laptop is a Dell L attitude, which I occasionally use to watch TV shows (streamed), where the audio is quality-enough for something like that.

@TxTechnician … dumb question on my part - I see you’re using Wayland.

What if you choose to login using “X11 KDE Plasma” (vs Wayland KDE Plasma) … is the audio quality any different ??

Might browse through this thread … no promises of course:

External sound card or DAC, both with headphones output, and good enough wired headphones.
But that combo can cost more than laptop itself…

Another question - what Profile is selected on the KDE Audio settings:

(screenshot is from my Dell laptop)

audio-prof

I don’t have as many options as you do. Not sure what that means.

This only means that you have different hardware than aggie…

Did you tap on the Profile drop-down??
Check my screenshot of a portion of your screenshot (just below) and check the arrow pointing to the Profiles drop-down.

The choices won’t always be the same across machines, but what you’re showing and what I show (previous screenshot) are different :+1:
.
profpng

If you want to understand what can be done in principle you may find an introduction here
If you deem it worth the effort, there might be a solution also by modifying pipewire (or pulseaudio) configs, but some work by trial and error might be involved.

Apparently your laptop includes some audio optimization from Bang&Olufsen (see here ) so it is very likely that you experienced better sound quality on Win* (with the HP Boost / B&O tuning enabled).
To have a similar experience on Tumbleweed you have to re-create a similar optimization yourself.
Maybe inserting some frequency equalization in front of the speaker output is all you need.
Try installing easyeffects, or use the deadbeef audio player with its equalizer enabled and play with the controls to have an idea of what sounds “acceptable” to you.
Then it might be possible to configure pipewire (or pulseaudio) to mimic a similar response (try starting by looking at /usr/share/pipewire/filter-chain/sink-eq6.conf as an example).
If B&O used more subtle tricks it might not be as straightforward to reproduce the same behavior on linux, anyway that looks well beyond my reach :wink:

For PulseAudio: in daemon.conf use

resample-method = soxr-vhq

or

resample-method = copy

instead of default

resample-method = speex-float-1

But TW uses PipeWire:

https://wiki.archlinux.org/title/PipeWire#Sound_quality_(resampling_quality)

Do not expect good quality from builtin hardware - ordinary users don’t care about sound quality.

I have an ancient Acer 5100 laptop. It sounds like … (I don’t know what). But by following these recommendations I managed to achieve at least some results. Have a look, may be it will be usefull.