# Wiping out tag fields

**URL:** <https://community.mp3tag.de/t/wiping-out-tag-fields/17883>\
**Category:** Support\
**Created:** [April 23, 2016, 1:39pm UTC](https://community.mp3tag.de/t/wiping-out-tag-fields/17883 "2016-04-23T13:39:41Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![Doug\_Mackie](https://community.mp3tag.de/user_avatar/community.mp3tag.de/doug_mackie/32/279_2.png) [@Doug\_Mackie](https://community.mp3tag.de/u/Doug_Mackie)\
**Post date:** [May 6, 2016, 6:41pm UTC](https://community.mp3tag.de/t/wiping-out-tag-fields/17883/21 "2016-05-06T18:41:27Z")

</div>

> [@zerow](#):
>
> Those APE tags that are applied in MP3Gain???

Yes indeed! From Mp3gain program help:

> [@](#):
>
> MP3Gain can store "Analysis" and "Undo" information in special tags inside the mp3 file itself. If tag writing is turned on, then MP3Gain only has to spend time analyzing an mp3 file once. If you load the same file into MP3Gain at a later time, then the program will see the tag and instantly display the volume and recommended gain changes for the mp3.

That is all that those tags do and so media players ignore them. That is why files processed by Mp3Gain sound the same even after those tags are removed.

> [@zerow](#):
>
> I apply ReplayGain via MP3Gain - and I hear the change when I play such modified MP3 file in any of my players

Of course, but that change has nothing to do with the tags added by Mp3Gain, which are for its internal use only.

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [May 7, 2016, 4:10am UTC](https://community.mp3tag.de/t/wiping-out-tag-fields/17883/22 "2016-05-07T04:10:48Z")

</div>

> [@zerow](#):
>
> Second: MP3Gain do not change the raw data at all [in that "default" mode]. If it did I would not be able to undo the changes once a clipping occurs. And I tested this again, but this compared the original file with file-massacred-with-clipping-and-then-restored-to-that-original-state [with MP3Gain] not only with my ears but on spectrogram and in a waveform: not a pixel or line was different between them

You do not know the structure of a MP3-File and how MP3Gain does this, which is explained in the help-file of Mp3Gain:

[quote="Mp3gain Helpfile"] The mp3 format stores the sound information in small chunks called "frames". Each frame represents a fraction of a second of sound. In each frame there is a "global gain" field. This field is an 8-bit integer (so its value can be a whole number from 0 to 255).

When an mp3 player decodes the sound in the frame, it uses the global gain field to multiply the decoded sound samples by 2(gain / 4).

So if you add 1 to this gain field in all the frames in the mp3, you effectively multiply the amplitude of the whole file by 2(1/4) = 119% = +1.5 dB.

Likewise, if you subtract 1 from the global gain, you multiply the amplitude by 2(-1/4) = 84% = -1.5 dB. [/quote]   
And to avoid futher misunderstandings:  
This "global gain field" is not a tag field, that can we read or written by Mp3Tag. It belongs to the music part of the MP3 and not to the tag part.

There is another method to get gain changes than that done by MP3Gain. Foobar for example is able to store informations in tag fields and during play uses these informations to equalize the music for the hearer. But these informations are only use by Foobar and I think some other compatible players. If you want to apply these changes to be used by **all** players then you have to do it the way Mp3Gain does. Foobar can do the Mp3Gain-method too in addition to the tag-field method.

**So to explain again** :

Mp3Gain uses APE-tags to store the gain-informations only for analysis and undo-purpose. These tags are not used by a player to play a a mp3-file louder or less louder. But all players are able to play in the intended loudness because MP3Gain makes changes to the music part of the mp3-file.

There is another method not used by MP3Gain that indeed uses the content of tags after analysis to tell a compatible player, that can read and use these tag-informations, to decide how loud it has to play.

I think you are not aware of these different modes and constantly mix them up.

---

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [May 9, 2016, 4:29pm UTC](https://community.mp3tag.de/t/wiping-out-tag-fields/17883/23 "2016-05-09T16:29:27Z")

</div>

> [@poster](#):
>
> [...]  
> This "global gain field" is not a tag field, that can we read or written by Mp3Tag. It belongs to the music part of the MP3 and not to the tag part.
> 
> There is another method to get gain changes than that done by MP3Gain. Foobar for example is able to store informations in tag fields and during play uses these informations to equalize the music for the hearer. But these informations are only use by Foobar and I think some other compatible players. If you want to apply these changes to be used by **all** players then you have to do it the way Mp3Gain does. Foobar can do the Mp3Gain-method too in addition to the tag-field method.  
> [...]

And if I wanted to detect MP3 files with changes applied by MP3Gain [those that we can't read or write in Mp3Tag] how could I do that?

If I use the Track Analysis in MP3Gain, it just show what it thinks should be done; and not what was already done

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [May 10, 2016, 4:18am UTC](https://community.mp3tag.de/t/wiping-out-tag-fields/17883/24 "2016-05-10T04:18:50Z")

</div>

> [@zerow](#):
>
> And if I wanted to detect MP3 files with changes applied by MP3Gain ...

AFAIK this file still has the APE tags. So turn on reading APE and see if there are any mp3gain fields.  
If, of course, someone has deleted these fields, you are done.

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [May 10, 2016, 7:34am UTC](https://community.mp3tag.de/t/wiping-out-tag-fields/17883/25 "2016-05-10T07:34:06Z")

</div>

> [@ohrenkino](#):
>
> AFAIK this file still has the APE tags. So turn on reading APE and see if there are any mp3gain fields.  
> If, of course, someone has deleted these fields, you are done.

All depends on the Options/Tags-Settings in MP3Gain and if you tell Mp3Gain not to read and write tags, no undo-information tags are stored.  
In addition the presence of APE-Tags written by MP3Gain is no clear evidence, that Mp3Gain has made changes to the global gain field, because MP3Gain writes those tags during analyzing (if writing tags is enabled) and it is possible to tell the program to simply analyze without modifying gain. So there is no real way to filter files with global gain change by filtering the gain-tags in mp3tag.

But of course the presence of these ape-tags is an indication, that probably modifying gain has been done.  
If these ape-tags are present you could load these files in MP3Gain (options/tags/recalculate disabled), clear analyzing results (Analyses/Clear Analysis), enable recalculate and analyze again. If the results are the same, modifying gain has been done.

But as you want to modyfy **track gain** anyway, which is not advisable if you want to keep an album balance, why not modify gain on all mp3s with mp3gain again. I can see no strong need for filtering in advance because the only time needed is for reading these files and not for writing, if modify gain has already been done.

---

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [May 16, 2016, 5:41pm UTC](https://community.mp3tag.de/t/wiping-out-tag-fields/17883/26 "2016-05-16T17:41:02Z")

</div>

> [@zerow](#):
>
> And if I wanted to detect MP3 files with changes applied by MP3Gain [...]

> [@ohrenkino](#):
>
> [...] turn on reading APE and see if there are any mp3gain fields [...]

That did the trick

Assuming that any value in

```
%MP3GAIN_UNDO%is all I needed to look for

```

> [@poster](#):
>
> [...]  
> But as you want to modyfy **track gain** anyway, which is not advisable if you want to keep an album balance, why not modify gain on all mp3s with mp3gain again. I can see no strong need for filtering in advance because the only time needed is for reading these files and not for writing, if modify gain has already been done.

No, that's not I wanted

I was after an unknown number of few loose cannons in my collection. Long story short: I had to locate ReplayGained MP3s with modification date after 2015 01 01

And as for RepayGain itself- I haven't been using it for years. All my music is normalized by other means, more time consuming but more precise. [And those few MP3s were a kind of quick workaround]

**Another question:** is there a way to add this Replay Gain values permanently, to those MP3s; and thus getting rid of those APE tags?

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [May 17, 2016, 7:21am UTC](https://community.mp3tag.de/t/wiping-out-tag-fields/17883/27 "2016-05-17T07:21:34Z")

</div>

> [@zerow](#):
>
> And as for RepayGain itself- I haven't been using it for years. All my music is normalized by other means, more time consuming but more precise. [And those few MP3s were a kind of quick workaround]
> 
> **Another question:** is there a way to add this Replay Gain values permanently, to those MP3s; and thus getting rid of those APE tags?

Do you refer to the ReplayGain-method (using tags by a player to play with a defined volume level)?  
Or do you mean the method of MP3Gain (using tags only for analalizing and undo-functions but changing the global-gain)?

---

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [May 17, 2016, 1:53pm UTC](https://community.mp3tag.de/t/wiping-out-tag-fields/17883/28 "2016-05-17T13:53:42Z")

</div>

> [@poster](#):
>
> Do you refer to the ReplayGain-method (using tags by a player to play with a defined volume level)?  
> Or do you mean the method of MP3Gain (using tags only for analalizing and undo-functions but changing the global-gain)?

I'm going to be honest: after all that talk I have no idea how / why all my players are playing MP3s louder or quieter after ReplayGain treatment in MP3Gain

So I simply can't answer your question

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [May 17, 2016, 2:13pm UTC](https://community.mp3tag.de/t/wiping-out-tag-fields/17883/29 "2016-05-17T14:13:59Z")

</div>

> [@zerow](#):
>
> I'm going to be honest: after all that talk I have no idea how / why all my players are playing MP3s louder or quieter after ReplayGain treatment in MP3Gain
> 
> So I simply can't answer your question

I thought so after your questions.  
If you have treated your files with MP3Gain and you would have understood how Mp3Gain works, you would not have written your questions.  
Read again my statement here:  
[Wiping out tag fields](https://community.mp3tag.de/t/17883/22)

You also should read help-files of the software you use.  
Take a look at the help-file of Mp3Gain and there the chapter "Concept" and then it should be clear why it is not a good idea to use software that just "normalizes" as you stated you've done.

---

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [May 30, 2016, 6:53pm UTC](https://community.mp3tag.de/t/wiping-out-tag-fields/17883/30 "2016-05-30T18:53:49Z")

</div>

> [@poster](#):
>
> [...]  
> If you have treated your files with MP3Gain and you would have understood how Mp3Gain works, you would not have written your questions.  
> Read again my statement here:  
> [Wiping out tag fields](https://community.mp3tag.de/t/17883/22)

> [@poster](#):
>
> [...]  
> Mp3Gain uses APE-tags to store the gain-informations only for analysis and undo-purpose. These tags are not used by a player to play a a mp3-file louder or less louder. But all players are able to play in the intended loudness because MP3Gain makes changes to the music part of the mp3-file.
> 
> There is another method not used by MP3Gain that indeed uses the content of tags after analysis to tell a compatible player, that can read and use these tag-informations, to decide how loud it has to play.  
> [...]

And so my

> [@zerow](#):
>
> [...]  
> **Another question:** is there a way to add this Replay Gain values permanently, to those MP3s; and thus getting rid of those APE tags?

was a stupid one, because those values are already added to those MP3s. So it's not an issue

But here is another [hopefully not stupid] question: **how do I find among my among my XX XXX MP3 files those, that were treated by MP3Gain at some point?**

Given that only recently I have turned on in MP3Gain the "Preserve file date / time" option [and thus starting to preserve the original %\_file\_mod\_date% value] and taking into consideration that I'm after files treated by MP3Gain after 2015 01 01, I thought I could use a filter  
"$if($eql(%\_file\_create\_date%,%\_file\_mod\_date%),1,0)" IS "0"and then just look for newer MP3s [in terms of %\_file\_mod\_date%]; but that will get me nowhere. Because something like two weeks ago I have moved all my music to a new drive [and thus making a fresh %\_file\_create\_date% value]

---

<div class="post-metadata">

**Author:** ![Zerow](https://community.mp3tag.de/user_avatar/community.mp3tag.de/zerow/32/11379_2.png) [@Zerow](https://community.mp3tag.de/u/Zerow)\
**Post date:** [September 8, 2016, 9:02am UTC](https://community.mp3tag.de/t/wiping-out-tag-fields/17883/31 "2016-09-08T09:02:09Z")

</div>

> [@zerow](#):
>
> [...]  
> **how do I find among my among my XX XXX MP3 files those, that were treated by MP3Gain at some point?**  
> [...]

I guess, I will not know this ever, as I wasn't able to find out a method for this till now

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [February 9, 2026, 12:26pm UTC](https://community.mp3tag.de/t/wiping-out-tag-fields/17883/33 "2026-02-09T12:26:13Z")

</div>



[Previous page](https://community.mp3tag.de/t/wiping-out-tag-fields/17883.md?page=1)
