[SOLVED] How to play multiple MP3 tracks which differ in volume in the same volume ?

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
linux_rules
Level 4
Level 4
Posts: 277
Joined: Sun Apr 24, 2011 1:51 am

[SOLVED] How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by linux_rules »

Suppose I have 10 mp3 tracks and all of them differ in volume meaning some are louder while some are quieter.
I am looking for a player that will play all 10 tracks in the same volume so that I don't have increase or decrease the volume manually.
Is there such a player ?

Code: Select all

$ inxi -Fxz
System:    Host: home Kernel: 4.19.0-16-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 Desktop: Cinnamon 4.8.6 
           Distro: LMDE 4 Debbie base: Debian 10.2 buster 
Machine:   Type: Desktop Mobo: ASUSTeK model: H110M-CS v: Rev X.0x serial: <filter> UEFI: American Megatrends v: 3016 
           date: 12/27/2016 
CPU:       Topology: Dual Core model: Intel Core i3-6100 bits: 64 type: MT MCP arch: Skylake-S rev: 3 L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 29568 
           Speed: 800 MHz min/max: 800/3700 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 
Graphics:  Device-1: Intel HD Graphics 530 vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2) v: 4.5 Mesa 18.3.6 direct render: Yes 
Audio:     Device-1: Intel Sunrise Point-H HD Audio vendor: ASUSTeK 100 Series/C230 Series Family driver: snd_hda_intel 
           v: kernel bus ID: 00:1f.3 
           Sound Server: ALSA v: k4.19.0-16-amd64 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: e000 
           bus ID: 02:00.0 
           IF: enp2s0 state: down mac: <filter> 
           Device-2: Ralink MT7601U Wireless Adapter type: USB driver: mt7601u bus ID: 1-7:4 
           IF: wlp0s20f0u7 state: up mac: <filter> 
Drives:    Local Storage: total: 260.84 GiB used: 78.94 GiB (30.3%) 
           ID-1: /dev/sda vendor: Seagate model: ST3160215AS size: 149.05 GiB 
           ID-2: /dev/sdb vendor: Samsung model: SSD 750 EVO 120GB size: 111.79 GiB 
Partition: ID-1: / size: 109.04 GiB used: 15.59 GiB (14.3%) fs: ext4 dev: /dev/sdb2 
Sensors:   System Temperatures: cpu: 29.8 C mobo: 27.8 C 
           Fan Speeds (RPM): cpu: 0 
Info:      Processes: 194 Uptime: 4h 45m Memory: 3.72 GiB used: 1.98 GiB (53.1%) Init: systemd runlevel: 5 Compilers: 
           gcc: 8.3.0 Shell: bash v: 5.0.3 inxi: 3.0.32 
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Moonstone Man
Level 16
Level 16
Posts: 6078
Joined: Mon Aug 27, 2012 10:17 pm

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by Moonstone Man »

linux_rules wrote: Sun Apr 04, 2021 7:37 am Is there such a player ?
Most players have the feature. It's called volume levelling.
linux_rules
Level 4
Level 4
Posts: 277
Joined: Sun Apr 24, 2011 1:51 am

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by linux_rules »

Kadaitcha Man wrote: Sun Apr 04, 2021 7:57 am Most players have the feature. It's called volume levelling.
I use VLC & Smplayer. Please tell me how do I enable this feature ?
Hoser Rob
Level 20
Level 20
Posts: 11806
Joined: Sat Dec 15, 2012 8:57 am

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by Hoser Rob »

linux_rules wrote: Sun Apr 04, 2021 7:59 am
Kadaitcha Man wrote: Sun Apr 04, 2021 7:57 am Most players have the feature. It's called volume levelling.
I use VLC & Smplayer. Please tell me how do I enable this feature ?
I think they both call it normalization, smplayer for sure. I haven't used VLC for a while.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
Moonstone Man
Level 16
Level 16
Posts: 6078
Joined: Mon Aug 27, 2012 10:17 pm

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by Moonstone Man »

linux_rules wrote: Sun Apr 04, 2021 7:59 am I use VLC & Smplayer. Please tell me how do I enable this feature ?
Both have it.
linux_rules
Level 4
Level 4
Posts: 277
Joined: Sun Apr 24, 2011 1:51 am

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by linux_rules »

Hoser Rob wrote: Sun Apr 04, 2021 8:02 am I think they both call it normalization, smplayer for sure. I haven't used VLC for a while.
This is the definition of "normalization" according to Smplayer (please see attachment)
Do you think this is what I am looking for ?
smplayer.png
smplayer.png (19.25 KiB) Viewed 1513 times
decrepit
Level 5
Level 5
Posts: 850
Joined: Mon Dec 03, 2018 4:07 am
Location: Mandurah Western Australia

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by decrepit »

yep that would be it, all tracks are adjusted so that peak volume in the track is just below the maximum threshold.

Not going to help a lot with tracks that have a large dynamic range, like some classical stuff, they can have super low levels in parts and very high levels in others. The quiet bits will always be quieter than pop songs.
Hoser Rob
Level 20
Level 20
Posts: 11806
Joined: Sat Dec 15, 2012 8:57 am

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by Hoser Rob »

linux_rules wrote: Sun Apr 04, 2021 8:06 am
Hoser Rob wrote: Sun Apr 04, 2021 8:02 am I think they both call it normalization, smplayer for sure. I haven't used VLC for a while.
This is the definition of "normalization" according to Smplayer (please see attachment)
Do you think this is what I am looking for ?
Yes that's it. I don't use smplayer for music much so I enable it by default, I actually don't normalize music unless I specifically want it for background. The Audacious music pllayer supports it, Clementine I'm not sure. The latter 2 are what I use for tunes, mostly audacious.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
linux_rules
Level 4
Level 4
Posts: 277
Joined: Sun Apr 24, 2011 1:51 am

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by linux_rules »

Thanks guys. I have enabled that feature in Smplayer. I will listen to some music for 2 days & if I am satisfied I will mark this as [SOLVED] & if there's any problem I will write back.
User avatar
Flemur
Level 20
Level 20
Posts: 10097
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by Flemur »

linux_rules wrote: Sun Apr 04, 2021 8:31 am Thanks guys. I have enabled that feature in Smplayer. I will listen to some music for 2 days & if I am satisfied I will mark this as [SOLVED] & if there's any problem I will write back.
In addition to normalization, there's "replaygain" which attempts to make tracks have the same apparent volume/loudness when they're played back.
https://wiki.hydrogenaud.io/index.php/ReplayGain#Linux
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
linux_rules
Level 4
Level 4
Posts: 277
Joined: Sun Apr 24, 2011 1:51 am

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by linux_rules »

Flemur wrote: Sun Apr 04, 2021 9:15 am In addition to normalization, there's "replaygain" which attempts to make tracks have the same apparent volume/loudness when they're played back.
https://wiki.hydrogenaud.io/index.php/ReplayGain#Linux
I have spotted "replaygain" in VLC (please see attachment)
I will test both normalization & replaygain and decide which one does the job better.
Which option do I select ? Track or Album ?
vlc.png
sarge816
Level 3
Level 3
Posts: 189
Joined: Sun Jun 13, 2010 9:04 pm

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by sarge816 »

I use MP3Gain to normalize all tracks to 89Db - it's just replaygain algorithm packaged in a command line or gui. Works for AAC encoded tracks too with the add-on.
linux_rules
Level 4
Level 4
Posts: 277
Joined: Sun Apr 24, 2011 1:51 am

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by linux_rules »

sarge816 wrote: Sun Apr 04, 2021 10:04 am I use MP3Gain to normalize all tracks to 89Db - it's just replaygain algorithm packaged in a command line or gui. Works for AAC encoded tracks too with the add-on.
Problem is I am paranoid about security. I rarely install install anything outside of the official repos.
sarge816
Level 3
Level 3
Posts: 189
Joined: Sun Jun 13, 2010 9:04 pm

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by sarge816 »

MP3Gain should be available in LM Software Manager. Edit: Just checked, both mp3gaina and aacgain are available in software manager - using 19.2 Xfce on this laptop I'm on right now, for reference.
Last edited by sarge816 on Sun Apr 04, 2021 10:23 am, edited 1 time in total.
linux_rules
Level 4
Level 4
Posts: 277
Joined: Sun Apr 24, 2011 1:51 am

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by linux_rules »

sarge816 wrote: Sun Apr 04, 2021 10:17 am MP3Gain should be available in LM Software Manager.

Code: Select all

$ apt-cache search mp3gain 
returned nothing.
sarge816
Level 3
Level 3
Posts: 189
Joined: Sun Jun 13, 2010 9:04 pm

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by sarge816 »

i edited my original post but you might not see it since you posted again - Just checked, both mp3gain and aacgain are available in Mint's built in software manager - using 19.2 Xfce on this laptop I'm on right now, for reference.
linux_rules
Level 4
Level 4
Posts: 277
Joined: Sun Apr 24, 2011 1:51 am

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by linux_rules »

sarge816 wrote: Sun Apr 04, 2021 10:25 am i edited my original post but you might not see it since you posted again - Just checked, both mp3gain and aacgain are available in Mint's built in software manager - using 19.2 Xfce on this laptop I'm on right now, for reference.
I am using LMDE. Since I included my inxi-Fxz results in my opening post I didn't mention that separately.
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by MrEen »

sarge816 wrote: Sun Apr 04, 2021 10:25 am i edited my original post but you might not see it since you posted again - Just checked, both mp3gain and aacgain are available in Mint's built in software manager - using 19.2 Xfce on this laptop I'm on right now, for reference.
You see those in your Software Manager because you installed a .deb file. They are not available there by default. I just checked here (19.3) to verify.
linux_rules
Level 4
Level 4
Posts: 277
Joined: Sun Apr 24, 2011 1:51 am

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by linux_rules »

MrEen wrote: Sun Apr 04, 2021 10:33 am You see those in your Software Manager because you installed a .deb file. They are not available there by default. I just checked here (19.3) to verify.
Also, it was last updated 10 years ago. Please read this >>> https://en.wikipedia.org/wiki/MP3Gain
mp3gain.png
mp3gain.png (68.28 KiB) Viewed 1377 times
User avatar
MrEen
Level 23
Level 23
Posts: 18345
Joined: Mon Jun 12, 2017 8:39 pm

Re: How to play multiple MP3 tracks which differ in volume in the same volume ?

Post by MrEen »

linux_rules wrote: Sun Apr 04, 2021 10:43 am Also, it was last updated 10 years ago.
The linked download up-thread is 1.6.2, so it looks like the wiki might be the outdated one here. I don't use the software, so can't really comment on it, but I know quite a few times I've seen it mentioned here on the forum.
Locked

Return to “Software & Applications”