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: aacgain 99dB (Read 4429 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

aacgain 99dB

Hi,

I'm trying to set all .m4a (and mp3) files in a folder to have ~99dB volume level.

I tried
acgain /c /m 5 "file1.m4a file2.m4a file3.m4a ... "
and
acgain /r /c "file1.m4a file2.m4a file3.m4a ... "

None of them give me 99dB

Is there a trick for that?

Thanks

aacgain 99dB

Reply #1
I've only used MP3Gain with the GUI, so I'm not sure...

Quote
None of them give me 99dB

What are you getting?  Are you getting 94dB with the /m 5 command?

I belive the default is 89dB, so your command should be /m 10 for an additonal 10dB.



Since you are using the /c command an trying to get 99db, I assume you don't mind distortion as long as it's LOUD?


 

aacgain 99dB

Reply #2
/m 5

produces from 93 ~ 97dB



/c

yes, i don't mind minor 'cuts' to the sound file

aacgain 99dB

Reply #3
/m 5

produces from 93 ~ 97dB
Interesting...  I don't know...  The clipping may be throwing-off the calculations.  For example, if you have a normalized (or clipped) file and you apply +6dB of gain, the peaks can't be boosted at all so the average loudness will be boosted by something less than 6db (depending on the amount of clipping).  Or, since clipping adds harmonics, it might sound or measure louder than expected.  But, I'm not sure if the AAC itself is actually clipping even though it may clip when eventually decoded and sent to a DAC.

I don't know about AAC, but MP3 can only be adjusted in 1.5dB increments, so that would account for some of the variation.

Like I said, I've never used AACGain or the command line...  With the MP3Gain GUI (or ReplayGain) and the default 89dB settings, I've never had any trouble.  I just get the 1.5dB increments (with MP3Gain), and sometimes I get a lower level because I use the "Don't Clip" default.

aacgain 99dB

Reply #4
Just as an experiment, I tried MP3Gain on about 40 files with a  target volume of 99dB, allowing clipping.    The pre-scan showed volumes between 88.5 and 101.8dB.  After applying MP3Gain they were 98.3 to 99.6dB.  So, everything worked as expected and everything accurate is within the 1.5dB adjustment range.    I don't know what's going on with AACGain and your files...