Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Exact values for "Apply gain to file content" not correct for mp3 and m4a (Read 427 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Exact values for "Apply gain to file content" not correct for mp3 and m4a

Exact values for "Apply gain to file content" are not set correctly for mp3 and m4a.

When adjusting the gain by
Right-click, ReplayGain, "Apply gain to file content"
you are free for the value to insert.
But for mp3 and m4a, the gain is actually changed only in 1.5dB steps
(due to technical reasons); only opus gain (header gain) is exact.

I suggest to change the slider to a "stepped slider" for formats
that foobar can change only to these step values.
(It's foobar2000 at last  ;) )

Re: Exact values for "Apply gain to file content" not correct for mp3 and m4a

Reply #1
So what are you saying then: that when my Replay_Gain_Track tag (or whatever the tag name is) value is set to (say) +2.50dB, the applied gain is actually +3dB?
It's your privilege to disagree, but that doesn't make you right and me wrong.

Re: Exact values for "Apply gain to file content" not correct for mp3 and m4a

Reply #2
No. Read my description carefully, please.

Re: Exact values for "Apply gain to file content" not correct for mp3 and m4a

Reply #3
Well excuse me for asking!
It's your privilege to disagree, but that doesn't make you right and me wrong.

Re: Exact values for "Apply gain to file content" not correct for mp3 and m4a

Reply #4
You're excused, Sir.  ;)

Sorry, but I really don't know better how to explain than in my first post.

If you retrace my description, and have a close look to the naming,
then you see that you can enter an arbitrary value in that field.
But checking the mp3 or m4a audio afterwards, you see it's changed
in 1,5dB steps.
(Your example: Enter +2.5dB. Actual changed to 3dB).
As far as my technical knowledge is, that's because of technical
reasons of these both formats.
opus works well.

I think this is a bug.
fb says it does something, but does a different thing,
without any notice.

The best solution would be to present a "stepped slider"
for m4a and mp3. But only for them.

Re: Exact values for "Apply gain to file content" not correct for mp3 and m4a

Reply #5
"Apply gain" instead of "Apply gain to the resolution the format allows for", that is a bug?
There could surely have been a "What's this?" marker at the end, but the crucial warning is that it alters the files, and you wouldn't overload it with non-essential pedantic detail. Keep it out of the dialog box. At most, pop up afterwards and with a "Don't show me this again".

Re: Exact values for "Apply gain to file content" not correct for mp3 and m4a

Reply #6
I'm not sure if I understand you correctly (I'm not a native English speaker).

If I get you right (do I?) then you mean that
- the effect I describe is a "non-essential pedantic detail"
- and that the dialog shouldn't be overloaded by that.

I do not agree to that at all.

Setting to a different value than fb says it does is anything but a
a "non-essential pedantic detail". Especially for fb and its users.

By my suggestion ("stepping dialog" only for m4a und mp3)
the dialog wouldn't be overloaded at all.
It just would allow the user to do the things fb actually is able to.

I really don't understand why you have a problem with that.
If the demands on audio manipulation would be so low
than I would use some junk app.

Re: Exact values for "Apply gain to file content" not correct for mp3 and m4a

Reply #7
If your demands on audio manipulation are higher than 1.5 dB steps, then use ReplayGain tags.

But still I seriously think the crucial part that should be higher up to warn the user, is as indicated with red here:


Once that is in place, I would surely not object to the dark red print I indicated either.

Re: Exact values for "Apply gain to file content" not correct for mp3 and m4a

Reply #8
I'm sorry to have to contradict you again... ;)

There are reasons why one would not change the gain by ReplayGain,
but by specifying the value the way fb allows it. There are reasons why
audios supply that, and that's why fb supplies it.

The screenshot of the dialog above shows a text
"MP3/AAC will be rounded to nearest 1.5 dB".
- I don't have that text (?)
- It would be incorrect (as AAC doesn't supply changing the gain value, as it's raw. Need m4a wrapper.)
- Why make it incomfortable, and force the user to notice (or not) that the following dialog does not what it tells to?
  (You try to solve a bug by building workarounds that would make the usage strange indeed)

And the last thing (Should be a thread on its own probably):
The text you marked red is wrong indeed - and should be altered.
As this operation is not irreversibly as it states.
The opposite is true: It is very well reversible,
as it does NOT change the audio data themselves
but internal values ("chunk" thing or so...).
What is true:
You just don't see that changed values afterwards.
But if you do the reversible values later then you have the original.

So, I have to say: No.

Re: Exact values for "Apply gain to file content" not correct for mp3 and m4a

Reply #9
... small addendum:

You don't see the directly changed gain only in m4a and mp3.

For opus fb writes it into its "header gain" (which is correct)
and you can see it later there.
And change it back lossless (reversibly) of course.

==> The text is wrong.

Edit:
I moved the text thing to another thread
https://hydrogenaud.io/index.php/topic,123033.0.html
not to mix up the topics.