Add Album Volume Increase via Replay Gain Tag

Add or subtract negative or positive value to REPLAYGAIN_TRACK_GAIN value or REPLAYGAIN_ALBUM_GAIN value.

Here are two action groups, which perhaps are easier to read and to understand how the process of adding or subtracting of a value works, than an endless Mp3tag one line tape worm scripting expression.

The modifier value (numeric string with leading +/- sign character), for example +600 (represents +6 dB) or -450 (represents -4.5 dB) or whatever value is allowed by the ReplayGain method, can be set in the first action from each action group.

Each action group takes care and tries to store the group of four ReplayGain values in the same order into the media file as it might be expected by other ReplayGain ready applications.
Above in this thread read about the behaviour of WinAmp when the order of the ReplayGain tag-fields is disarranged.

Begin Action Group RG#ReplayGainTrackGain.Modify

Action #1
Actiontype 5: Format value
Field ______: RGTG_MODIFIER
Formatstring: +600

Action #2
Actiontype 5: Format value
Field ______: RGTG_TEMP
Formatstring: %REPLAYGAIN_TRACK_GAIN%

Action #3
Actiontype 5: Format value
Field ______: RGTG_TEMP
Formatstring: $num($replace(%RGTG_TEMP%,'.',),1)

Action #4
Actiontype 5: Format value
Field ______: RGTG_TEMP
Formatstring: $add(%RGTG_TEMP%,%RGTG_MODIFIER%)

Action #5
Actiontype 5: Format value
Field ______: RGTG_SIGN
Formatstring: $if($less(%RGTG_TEMP%,0),'-',)

Action #6
Actiontype 5: Format value
Field ______: RGTG_TEMP
Formatstring: $trimLeft(%RGTG_TEMP%,'-')

Action #7
Actiontype 5: Format value
Field ______: RGTG_TEMP
Formatstring: $div(%RGTG_TEMP%,100)'.'$num($mod(%RGTG_TEMP%,100),2)

Action #8
Actiontype 5: Format value
Field ______: REPLAYGAIN_TRACK_GAIN
Formatstring: %RGTG_SIGN%%RGTG_TEMP%'÷dB'

Action #9
Actiontype 9: Remove fields
Fields to remove (semicolon separated): RGTG_TEMP;RGTG_SIGN;RGTG_MODIFIER

Action #10
Actiontype 5: Format value
Field ______: REPLAYGAIN_ALBUM_GAIN
Formatstring: %REPLAYGAIN_ALBUM_GAIN%

Action #11
Actiontype 5: Format value
Field ______: REPLAYGAIN_ALBUM_PEAK
Formatstring: %REPLAYGAIN_ALBUM_PEAK%

Action #12
Actiontype 5: Format value
Field ______: REPLAYGAIN_TRACK_GAIN
Formatstring: %REPLAYGAIN_TRACK_GAIN%

Action #13
Actiontype 5: Format value
Field ______: REPLAYGAIN_TRACK_PEAK
Formatstring: %REPLAYGAIN_TRACK_PEAK%

Note: Replace each special ÷ character with one space character.
End Action Group RG#ReplayGainTrackGain.Modify (13 Actions)

Begin Action Group RG#ReplayGainAlbumGain.Modify

Action #1
Actiontype 5: Format value
Field ______: RGAG_MODIFIER
Formatstring: +600

Action #2
Actiontype 5: Format value
Field ______: RGAG_TEMP
Formatstring: %REPLAYGAIN_ALBUM_GAIN%

Action #3
Actiontype 5: Format value
Field ______: RGAG_TEMP
Formatstring: $num($replace(%RGAG_TEMP%,'.',),1)

Action #4
Actiontype 5: Format value
Field ______: RGAG_TEMP
Formatstring: $add(%RGAG_TEMP%,%RGAG_MODIFIER%)

Action #5
Actiontype 5: Format value
Field ______: RGAG_SIGN
Formatstring: $if($less(%RGAG_TEMP%,0),'-',)

Action #6
Actiontype 5: Format value
Field ______: RGAG_TEMP
Formatstring: $trimLeft(%RGAG_TEMP%,'-')

Action #7
Actiontype 5: Format value
Field ______: RGAG_TEMP
Formatstring: $div(%RGAG_TEMP%,100)'.'$num($mod(%RGAG_TEMP%,100),2)

Action #8
Actiontype 5: Format value
Field ______: REPLAYGAIN_ALBUM_GAIN
Formatstring: %RGAG_SIGN%%RGAG_TEMP%'÷dB'

Action #9
Actiontype 9: Remove fields
Fields to remove (semicolon separated): RGAG_TEMP;RGAG_SIGN;RGAG_MODIFIER

Action #10
Actiontype 5: Format value
Field ______: REPLAYGAIN_ALBUM_GAIN
Formatstring: %REPLAYGAIN_ALBUM_GAIN%

Action #11
Actiontype 5: Format value
Field ______: REPLAYGAIN_ALBUM_PEAK
Formatstring: %REPLAYGAIN_ALBUM_PEAK%

Action #12
Actiontype 5: Format value
Field ______: REPLAYGAIN_TRACK_GAIN
Formatstring: %REPLAYGAIN_TRACK_GAIN%

Action #13
Actiontype 5: Format value
Field ______: REPLAYGAIN_TRACK_PEAK
Formatstring: %REPLAYGAIN_TRACK_PEAK%

Note: Replace each special ÷ character with one space character.
End Action Group RG#ReplayGainAlbumGain.Modify (13 Actions)

The Mp3tag MTA files ...

RG_ReplayGainTrackGain.Modify.mta (802 Bytes)
RG_ReplayGainAlbumGain.Modify.mta (802 Bytes)

DD.20120202.2202.CET

RG_ReplayGainAlbumGain.Modify.mta (802 Bytes)

RG_ReplayGainTrackGain.Modify.mta (802 Bytes)