This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Normalize sound in Amarok

Tags: None
(comma "," separated)
kde-deshmukh
Registered Member
Posts
184
Karma
0

Normalize sound in Amarok

Mon Jan 16, 2017 1:11 pm
Running Amarok 2.8.90.

Have a large collection of offline music --- more than 8,000 files.

Some files play very loud and some others very slow. Is there a way to tell Amarok to normalize the volume, so that all files play at the same loudness? Amarok will need to intelligently adjust the volume to account for the difference in the loudness of each file.


--
Manjaro KDE. Kernel 4.19.244-1-MANJARO. 64-bit. Plasma 5.24.5. KDE Frameworks 5.94.0. Qt 5.15.4. 8GB RAM and more than 100GB free on the hard disk.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Normalize sound in Amarok

Mon Jan 16, 2017 5:18 pm
Please see https://userbase.kde.org/Amarok/Manual/ ... e/Settings and the references there for ReplayGain.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
kde-deshmukh
Registered Member
Posts
184
Karma
0

Re: Normalize sound in Amarok

Tue Jan 17, 2017 5:01 am
Mamarok wrote:Please see https://userbase.kde.org/Amarok/Manual/ ... e/Settings and the references there for ReplayGain.


Just so that I am clear, does this mean that I will need to use a separate program (Quod Libet, Ex Falso) to have ReplayGain values attached to different files? Amarok will not be able to handle this part on its own?

Because it will mean that every time I add new track to Amarok, I will first need to generate these values using that other application for the tracks and then add them to Amarok.

Also, in my Amarok, Tools -> Replay Gain Mode is selected as Off. Track and Album options are disabled. Am I doing something wrong?


--
Manjaro KDE. Kernel 4.19.244-1-MANJARO. 64-bit. Plasma 5.24.5. KDE Frameworks 5.94.0. Qt 5.15.4. 8GB RAM and more than 100GB free on the hard disk.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Normalize sound in Amarok

Tue Jan 17, 2017 8:29 am
Absolutely not, just enable ReplayGain per track, and Amarok will calculate the values next time you play the track.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
kde-deshmukh
Registered Member
Posts
184
Karma
0

Re: Normalize sound in Amarok

Wed Jan 18, 2017 1:40 pm
Mamarok wrote:Absolutely not, just enable ReplayGain per track, and Amarok will calculate the values next time you play the track.


But in Settings -> Reply Gain Mode has only one option available --- Off. The other two options Track and Album are greyed out. I can not select them.

How do I make them available so I can select them?

Here was the solution to that problem.

viewtopic.php?f=250&t=126476

After changing backend to gstreamer, the Replay Gain options are enabled and all seems to be well.


--
Manjaro KDE. Kernel 4.19.244-1-MANJARO. 64-bit. Plasma 5.24.5. KDE Frameworks 5.94.0. Qt 5.15.4. 8GB RAM and more than 100GB free on the hard disk.
kde-deshmukh
Registered Member
Posts
184
Karma
0

Re: Normalize sound in Amarok

Fri Jan 20, 2017 7:20 am
Looks like the Replay Gain feature is not working.

The tracks still have a huge difference in volume.

Am I doing something wrong?


--
Manjaro KDE. Kernel 4.19.244-1-MANJARO. 64-bit. Plasma 5.24.5. KDE Frameworks 5.94.0. Qt 5.15.4. 8GB RAM and more than 100GB free on the hard disk.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Normalize sound in Amarok

Fri Jan 20, 2017 11:12 am
well, you need to play it at least once to get the ReplayGain information, and it also depends a lot on the Gstreamer version you are running.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
kde-deshmukh
Registered Member
Posts
184
Karma
0

Re: Normalize sound in Amarok

Wed Jan 25, 2017 6:08 am
Mamarok wrote:well, you need to play it at least once to get the ReplayGain information, and it also depends a lot on the Gstreamer version you are running.


No. Amarok is NOT working as advertized. I installed quod libet to check the replay gain information of tracks that Amarok has recently played. There is no such information in the files.

I then added Replay Gain information on some tracks using qoud libet and manually adjusted it so that the tracks play very loudly when played with the Replay Gain on in quod libet.

But when I play the same track in Amarok, I do not see ANY change in volume no matter if the Replay Gain setting is OFF, TRACK or ALBUM.

How do I get Amarok to do what it is supposed to?


--
Manjaro KDE. Kernel 4.19.244-1-MANJARO. 64-bit. Plasma 5.24.5. KDE Frameworks 5.94.0. Qt 5.15.4. 8GB RAM and more than 100GB free on the hard disk.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Normalize sound in Amarok

Thu Jan 26, 2017 10:59 am
Which exact version of the gstreamer backend do you use? It depends on Gstreamer to have this function


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
kde-deshmukh
Registered Member
Posts
184
Karma
0

Re: Normalize sound in Amarok

Thu Jan 26, 2017 12:18 pm
Mamarok wrote:Which exact version of the gstreamer backend do you use? It depends on Gstreamer to have this function


All my packages are updated to the latest available version. Moreover, FWIW, in quodlibet, it respects the Replay Gain values (this would be meaningless if quodlibet uses a different thing than gstreamer).

In Amarok, Settings -> Configure Amarok -> Configure phonon -> Backend, it shows Phonon Gstreamer Backend 4.9.0.

dnf list installed gstreamer\* produces:

gstreamer1.x86_64 1.10.2-1.fc25 @updates
gstreamer1-libav.x86_64 1.10.2-1.fc25 @rpmfusion-free-updates
gstreamer1-plugins-bad-free.x86_64 1.10.2-1.fc25 @updates
gstreamer1-plugins-base.x86_64 1.10.2-1.fc25 @updates
gstreamer1-plugins-good.x86_64 1.10.2-1.fc25 @updates

Please let me know if you need anything else.


--
Manjaro KDE. Kernel 4.19.244-1-MANJARO. 64-bit. Plasma 5.24.5. KDE Frameworks 5.94.0. Qt 5.15.4. 8GB RAM and more than 100GB free on the hard disk.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Normalize sound in Amarok

Thu Jan 26, 2017 9:10 pm
Does quodlibet also use the phonon backends of gstreamer or does it use gstreamer directly? If the latter is true, those are not comparable.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
kde-deshmukh
Registered Member
Posts
184
Karma
0

Re: Normalize sound in Amarok

Fri Jan 27, 2017 2:29 am
Mamarok wrote:Does quodlibet also use the phonon backends of gstreamer or does it use gstreamer directly? If the latter is true, those are not comparable.


With my limited expertise, I can not tell. Unlike Amarok, there is no option for choosing backend, etc. And fearing this, I had mentioned in my comments that the two may not be comparable.

However, how do we solve Amarok problem? Do I need to install any additional packages/ upgrade any packages, etc.?


--
Manjaro KDE. Kernel 4.19.244-1-MANJARO. 64-bit. Plasma 5.24.5. KDE Frameworks 5.94.0. Qt 5.15.4. 8GB RAM and more than 100GB free on the hard disk.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Normalize sound in Amarok

Sun Jan 29, 2017 3:13 pm
Of course there is an option to see what version of the backend you use, in the Help menu -> Diagnostics

What I don't know is whether the gstreamer library version you use supports ReplayGain, as there have been quite some changes between the 0.1x and the 1.x versions.

Normally you should not need additional packages, as ReplayGain is provided by the gstreamer library last I checked.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
kde-deshmukh
Registered Member
Posts
184
Karma
0

Re: Normalize sound in Amarok

Mon Jan 30, 2017 5:04 am
Mamarok wrote:Of course there is an option to see what version of the backend you use, in the Help menu -> Diagnostics

What I don't know is whether the gstreamer library version you use supports ReplayGain, as there have been quite some changes between the 0.1x and the 1.x versions.

Normally you should not need additional packages, as ReplayGain is provided by the gstreamer library last I checked.


Here is the output of Help -> Diagnostics

Amarok Diagnostics

General Information:
Amarok Version: 2.8.90
KDE Version: 4.14.26
Qt Version: 4.8.7
Phonon Version: 4.9.0
Phonon Backend: GStreamer (4.9.0)
PulseAudio: Yes

Enabled Scripts:

Enabled Plugins:
MySQL Collection (1.0)
Universal Mass Storage Collection (1.0)
AudioCd Collection (1.0)
MTP Collection (1.0)
iPod, iPad & iPhone Collection (2.0)
Last.fm (1.0)
Jamendo (1.0)
Podcast Directory (1.0)
MP3 Music Store (1.0)
Magnatune Store (2.0)
Banshee Importer (1.0)
Clementine Importer (1.0)
Amarok 1.4 (FastForward) Importer (1.0)
Apple iTunes Importer (1.0)
Rhythmbox Importer (1.0)
Amarok 2.x Importer (1.0)

Enabled Applets:
Current Track
Wikipedia
Lyrics

And I confirm that Replay Gain is broken (and is painful). As in (a) No replay gain metadata is added to tracks as they are played and (b) Reply gain matedata when present, is not respected.

What do I need to do to get this feature working properly?


--
Manjaro KDE. Kernel 4.19.244-1-MANJARO. 64-bit. Plasma 5.24.5. KDE Frameworks 5.94.0. Qt 5.15.4. 8GB RAM and more than 100GB free on the hard disk.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], Sogou [Bot]