loudness equalization

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
Post Reply
renegade600
Level 1
Level 1
Posts: 16
Joined: Sat Jun 14, 2014 11:38 pm

loudness equalization

Post by renegade600 »

I am tired of sitting in the recliner and adjusting the sound every few minutes when streaming online videos. . It has gotten so bad, I am about ready to reinstall win10 on the computer that is connected to the tv so I can use the windows sound loudness equalization or whatever it is now called. Please help me keep win 10 away from my computer

Is there a way to fix this? Thanks

User avatar
Dngrsone
Level 5
Level 5
Posts: 576
Joined: Thu Nov 29, 2012 12:18 pm

Re: loudness equalization

Post by Dngrsone »

Try politeness; people will like you for it.

User avatar
Flemur
Level 18
Level 18
Posts: 8396
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: loudness equalization

Post by Flemur »

Without using "jack"* I think you're going to be stuck with modifying files
http://forums.fedoraforum.org/showthread.php?t=261797
http://jdesbonnet.blogspot.com/2014/02/ ... -file.html

* "jack" is complicated audio routing software that would let you put volume normalizing effects into the sound stream.
http://jackaudio.org/faq/routing_flash.html

The superior-to-everything-else foobar2000 (windows/wine) has a built-in "replay gain" control, the below might be looking at:
http://www.bobulous.org.uk/misc/Replay- ... Linux.html
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

rene
Level 16
Level 16
Posts: 6260
Joined: Sun Mar 27, 2016 6:58 pm

Re: loudness equalization

Post by rene »

What you are referring to is more generally known as normalisation. Based on http://askubuntu.com/questions/95716/au ... on-content you should install Steve Harris' LADSPA plugins, available from the repositories:

Code: Select all

sudo apt-get install swh-plugins
and create a normalised Pulseaudio device ("sink") with use of the therein contained Dyson compressor. To that purpose, first identify the hardware you want to attach it to. Example for my system,

Code: Select all

$ pacmd list-sinks | sed -n "/^.*name:/s/.*<\(.*\)>.*/\1/p"
alsa_output.pci-0000_01_00.1.hdmi-stereo
alsa_output.usb-ASUS_Xonar_U7-00-U7.analog-stereo
alsa_output.pci-0000_00_1b.0.analog-stereo
Say you want the U7 normalised. You'd create ~/.config/pulse/default.pa,

Code: Select all

.include /etc/pulse/default.pa
load-module module-ladspa-sink sink_name=ladspa_sink master=alsa_output.usb-ASUS_Xonar_U7-00-U7.analog-stereo plugin=dyson_compress_1403 label=dysonCompress control=0,1,0.5,0.99
If you want to attach the Dyson compressor to your default sink and/or you have only one sink I believe you'll get to leave out the "master=" bit. If you want the new Dyson compressed sink to be the default sink, add a line "set-default-sink ladspa_sink" after this. The "control=" values are half-documented at http://plugin.org.uk/ladspa-swh/docs/la ... th_sEc2.37.

After logging out and back in your sound settings should show the new "device". Pick it and experiment -- which I myself did not find to be fully straightforward but I assume you'll be able to quickly determine if this is indeed what you want. With only the Dyson compressor as per above I did not experience trouble beyond gigantic latency. Might also be influenced by the combination with a USB device. When I also added the Fast Lookahead Limiter (two entries down in the above documentation) as per hackerb9's advice on the above Ubuntu question, not even the desktop start up sound would play without stuttering. One's mileage may vary.

renegade600
Level 1
Level 1
Posts: 16
Joined: Sat Jun 14, 2014 11:38 pm

Re: loudness equalization

Post by renegade600 »

thanks for the links and info. will be digging into it this weekend.

User avatar
phd21
Level 19
Level 19
Posts: 9630
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: loudness equalization

Post by phd21 »

Hi "renegade600",

I just read your post and the good replies to it. Here are my thoughts on this as well.

It would help to know more about your system setup. If you run "inxi -Fxzd" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

It would also help if you provided much more detailed information, like how are you watching your streaming videos, what program or programs? There are a few ways to "normalize" audio from various sources, some are "system wide", some multi-media and streaming applications can do that themselves in their configuration options (settings), you can normalize existing multimedia (video and or audio) files with many different programs, so that when they are played they all have a consistent volume. Just installing and using "pulse audio equalizer" might help.

Make Your Audio Sound Better with Pulse Audio Equalizer
https://www.maketecheasier.com/pulse-au ... er-ubuntu/

Install the incredible "Veromix" audio control program from your Software Manager or Synaptic Package Manager (SPM), for KDE users install it as a "widget". Install the "ladspa" effect as well. Then, you can control your volume system wide and per application, including using "ladspa effects" to normalize or compress audio for a consistent volume output, like "Dyson Compressor".

Veromix is a "superb" mixer for the Pulseaudio sound server.
Works with all editions of Linux Mint and is in the Software Manager or Synaptic Package Manager (SPM).
Features:
– Media Player Controls (aka nowplaying)
– per application volume control (replay & record)
– global hotkeys
– can be in your system tray

https://padoca.wordpress.com/2011/03/18 ... r-stories/

Hope this helps ...
'Veromix&quot; click icon, trhen right click for options
'Veromix" click icon, trhen right click for options
&quot;Veromix&quot; right click panel icon for settings
"Veromix" right click panel icon for settings
&quot;Vermomix&quot; - &quot;ladspa effects&quot; -Dyson is one for normalization
"Vermomix" - "ladspa effects" -Dyson is one for normalization
Phd21: Mint 19.2 Cinnamon & xKDE (Xfce) & KDE Neon 64-bit Awesome OS's, Dell Inspiron I5 7000 2 in 1, Dell OptiPlex 780 Core2Duo E8400 3GHz,4gb Ram, Intel 4 Graphics. I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

Post Reply

Return to “Sound, Multimedia, & Codecs”