this post was submitted on 19 May 2024
27 points (96.6% liked)

linux4noobs

1340 readers
1 users here now

linux4noobs


Noob Friendly, Expert Enabling

Whether you're a seasoned pro or the noobiest of noobs, you've found the right place for Linux support and information. With a dedication to supporting free and open source software, this community aims to ensure Linux fits your needs and works for you. From troubleshooting to tutorials, practical tips, news and more, all aspects of Linux are warmly welcomed. Join a community of like-minded enthusiasts and professionals driving Linux's ongoing evolution.


Seeking Support?

Community Rules

founded 1 year ago
MODERATORS
 

Hey guys, I made the switch to Linux about a week ago and have mo complaints so far. Except maybe this: I can't seem to find a way in Linux to get proper loudness equalization like I got on windows.

My issue is that I have a bunch of media, especially shows and movies, that are suffering from way too loud gunshots, explosions, music and so forth and really quiet dialogue. I know this is because sound engineers make the audio fit for cinemas and not my living room, it is a problem nonetheless.

Under windows there is a simple toggle in even the most basic sound cards and settings called loudness equalization, that corrects those perceived differences quite effectively, which Linux is lacking. A bit of web search led me to the term ReplayGain, which seems to be the proper name for it, and I enabled it for my media from within the player apps. However it doesn't really work like i am used to.

Sounds and language constantly change volume mid sentence, which is very irritating to me. ReplayGain also doesn't really help avoiding those sudden bursts of loudness, I still blast awake my neighbors on accident when watching a move later at night.

Is there some way to get at that windows audio codec or whatever they use, that works so much better?

Thanks for reading

top 6 comments
sorted by: hot top controversial new old
[–] Varyk@sh.itjust.works 10 points 5 months ago* (last edited 5 months ago)

I use vlc, works regardless of the drivers you have and they have built in equalizers that you can easily adjust the max/min volume for until you find the volume you like, including one specifically for the dynamic range you're talking about.

It's been set how I like it for so long that I'm not sure anymore what the exact option is, but I'll try to find it and I'm sure you could find it in the audio settings.

It's some dynamic range compressor something in the audio options that you can very easily adjust for the maximum volume so that explosions won't be so crazy loud but you can keep voices at their normal volume.

Ah, here. It is under tools effects Compressor. Enable the compressor.

https://www.vlchelp.com/fix-movies-loud-music-low-dialogue/

You can use hotkeys to fiddle with the threshold until you find something that makes explosions or loud music quiet without affecting dialogue

[–] hollyberries@programming.dev 7 points 5 months ago

I don't have an answer for the windows audio codec.

Perhaps EasyEffects with the auto gain plugin would help in the meantime?

Screenshot is mine:

AI Generated alt-text: A screenshot of EasyEffects. The layout is divided into sections. On the left, there are controls for "Loudness" and "Autogain", each collapsible. There is also a setting for the "Output Device". The central panel titled "Controls" contains settings for "Target", "Silence", "Maximum History", "Reference", and "History". Each has adjustable parameters like decibel levels and time settings. The right panel, titled "Loudness", has sliders for various loudness metrics such as "Momentary", "Short-Term", "Integrated", "Relative", "Range", "Loudness", and "Output Gain". All sliders are currently set to zero. Below, there are simple input and output level meters displaying "0,0 dB". At the bottom left corner, it shows the audio properties: "48,0 kHz, 0,0 ms 0 0 dB". The bottom right corner indicates the software is "Using libebur128".

[–] tal@lemmy.today 6 points 5 months ago* (last edited 5 months ago)

I haven't used it, but it looks like there's a program called pulseeffects that can do some real-time processing for PulseAudio, including that:

https://www.maketecheasier.com/improve-linux-pc-audio-with-pulseeffects/

EDIT: For more-generally applying effects, there's also a Linux "audio effect plugin" standard called LADSPA, large library of those, and I know that I've seen ways to apply it to streams in realtime.

googles

https://askubuntu.com/questions/43950/how-can-i-apply-a-ladspa-plugin-to-a-pulseaudio-stream

If you wanted to do something like reverb or pitch-shift all the audio being played back, I expect that that'd let you do that.

[–] christopher@programming.dev 3 points 5 months ago
[–] meleethecat@lemmy.world 3 points 5 months ago

ReplayGain is more about making the volume level consistent between tracks. It’s really good for playlists and mixes because you don’t up with some tracks being too quiet and then some being much louder.

[–] GregorGizeh@lemmy.zip 3 points 5 months ago* (last edited 5 months ago)

Appreciate the replies! I will try the effects apps when I get home later. For vlc, that is actually what I am currently using to watch my media, and where I enabled the replaygain function to unsatisfactory effect. I will try and tinker with the range some more, perhaps I configured it wrong.