Bug 244795 - Add pre-gain settings if Replay Gain is activated
Summary: Add pre-gain settings if Replay Gain is activated
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: Playback/Replay Gain (other bugs)
Version First Reported In: 2.3-GIT
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Amarok Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-15 22:34 UTC by Thorsten Mühlfelder
Modified: 2025-06-08 21:07 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Mühlfelder 2010-07-15 22:34:20 UTC
Version:           2.3-GIT (using KDE 4.4.3) 
OS:                Linux

Hi,
IMHO it is really needed to have a pre-gain setting if replay gain is used. So it would be possible to set:
* +6 dB for replaygained files
* -3 dB for not replaygained files

This way replaygained music would not be so much lower in volume compared to other sounds (e.g. Youtube). Of course clipping prevention has to be included.

Audacious and Exaile provide exactly these settings.

Reproducible: Didn't try
Comment 1 Tuomas Nurmi 2025-06-08 21:05:55 UTC
Somewhy automatic bug closing didn't work here, but this kind of functionality is now implemented with commit https://invent.kde.org/multimedia/amarok/-/commit/8b8cf39340be7c3973880c4ed3df5d64df9abaa4
Comment 2 Tuomas Nurmi 2025-06-08 21:07:04 UTC
Git commit 8b8cf39340be7c3973880c4ed3df5d64df9abaa4 by Tuomas Nurmi.
Committed on 08/06/2025 at 20:10.
Pushed by nurmi into branch 'master'.

Apply pre-gain if ReplayGain is active and use fallback if no value available

This should make ReplayGained volumes differ less from other system volume levels,
and help with volume spikes if some tracks don't have ReplayGain tags.

I don't think these values are worth making customizable (enough volume control levels
in systems nowadays anyhow) so hard-coded to -3 dB default fallback, and 3 dB extra
pre-gain if ReplayGain is active and tags are available.

M  +2    -0    ChangeLog
M  +11   -6    src/EngineController.cpp

https://invent.kde.org/multimedia/amarok/-/commit/8b8cf39340be7c3973880c4ed3df5d64df9abaa4