ReplayGain plug-in

I’m having trouble installing the ReplayGain.ny plugin into the Audacity Plugin folder…everytime I attempt to place it in the folder it blocks me…I’m using 2.0.5 are there any possible tips as to why this is happening and how to fix it? Thanks.

What sort of computer? Windows Vista?
Where exactly are you trying to put the plug-in?
What do you mean “it blocks you”? Is there an error message, or a warning message? If so, what exactly does it say?

Steve, I have a few of questions about replaygain. I’m not an engineer or someone that understands lots of technical terms.
Firstly, thank you for creating this tool. It actually works pretty well for the tunes I’ve tried it on.

1 - Is replaygain completely lossless? If i’m using master wav or aiffs, is it going to degrade quality at all?

2 - Is it using compression?

2 - Does replaygain fix clipped peaks? I’ve never seen it stated that it does this but the reason i ask is, I ran one original tune through Platinum Notes software. PN said the tune had over 8000 clipped peaks. I took the original file and applied replaygain to it. Then i anaylzed the replaygain exported file in PN and this time it said zero clipped peaks!! (i’d checked the repair clipped peak minimum volume was lower than the volume that PN stated for the replay gain exported file). So then, i tried a couple of other tunes that had thousands of clipped peaks and after i’d applied replagain to the originals, PN stated they too had zero clipped peaks. If it’s fixing clipped peaks as well, that is a massive bonus!

Thanks

This plug-in simply amplifies the audio to a level determined by its “equal loudness” algorithm. It attempts to work out how much amplification is required to make the selected track a “medium” loudness. The algorithm is my version of the Replay Gain algorithm as described here: ReplayGain - Hydrogenaudio Knowledgebase

If you want the “real” Replay Gain see here: ReplayGain - Hydrogenaudio Knowledgebase

My plug-in just uses amplification and not compression.


No it doesn’t.

thanks for the answers.
Do you have any clue as to why PN analysis is now stating zero clipped peaks, in tunes with thousands of clipped peaks, after applying replaygain plug in?

I presume that you mean the plug-in posted in this topic rather than any other ReplayGain plug-in?

My guess would be that your original audio tracks had some clipping and that Platinum Notes software detected this by looking for parts that were at 0 dB.
If that were the case then these tracks would have sounded very loud and this plug-in would amplify them to make them a more moderate loudness. This would not “fix” any clipping present, but would lower the level of the audio, thus bringing the peaks to below 0 dB. If Platinum Notes software is only looking for peaks at (or very close to) 0 dB, then it would no longer notice the clipping. Note that this is only a guess (educated guess :wink:) as I’ve never used Platinum Notes software.

yes - your plug-in :slight_smile:

re. clipping - that makes sense to me. So the clips are still present, but just not detectable in PN. I’ll apply replaygain after using PN then. Massive big up for your plug in. I’ve been wanting something like this for a long time.

Thanks for this plugin – it is working well for me. I see at one time you were thinking about R128. Did you ever think you might implement it?

scott s.
.

I’ve read up on R128, and while it is relatively easy to implement, I have reservations. At the end of the day I think what will be most useful for users generally is an effect that works as “well” as possible, so I’m considering implementing a variation based on R128, but not strictly R128 compliant. I would expect that people that might need strict compliance (such as radio broadcasters) would be using professional tools that already include that feature.

This isn’t currently my highest priority, so it may be some time before I have time to resume work on this, but it’s not forgotten :wink:

Do we have a version without R128 stable enough to put on Wiki? Or is this plug-in not preferable to ReplayGain/MP3 Gain?

I haven’t read the whole topic but the obvious question that strikes me is why the plug-in doesn’t run through the tracks in turn and perform the amplification itself. Is it another Nyquist limitation? Sorry I don’t recall.

Gale

In the current implementation of Nyquist in Audacity, there is no difference between “white space” (no audio) and silence (zero amplitude audio). If you select multiple tracks of different lengths, then for the shorter tracks the selection will include “white space”, which the plug-in will see as low amplitude audio, which may mislead the loudness estimation.

The current version appears to be stable, but the genuine ReplayGain/MP3 Gain/Sound Check/ITU-R BS.1770/R128 have all had much more extensive testing.

Thanks to all that have used and given feedback the results appear very encouraging, but I’d still count this plug-in as “experimental”.

For the plug-in to be “release ready”:

  • The “one track at a time” limitation needs to be removed (I know how to do that but it is a “TODO”)
  • The name needs to be changed as this is not actually “Replay Gain”.
  • I have a number of ideas for improving the accuracy of the loudness estimation, but they will break compatibility with this version.
  • Comparison of the (final) algorithm with the more established standards (Replay Gain/R128 etc.)

The current version has both, “Analyze” and “Normalize”.
Should be ready for the WIKI as it is.
Of course, it is rather a “RawGain” effect. The gain is not truly ReplayGain after lossy encoding.

I agree the latest version is not ready for release, testing with mono tones, anyway.

If I do the Analyze step, then use Effect > Amplify… to apply the adjustment suggested by Analyze, then Analyze again, I get 0.0 dB Replay Gain result.

If I apply the suggested adjustment in “Normalize” in ReplayGain, it seems that twice the entered adjustment is applied.

Or if the Normalize purpose is something else than to normalize to the ReplayGain level, I would expect it to be documented. :confused:


Gale

I didn’t mean that it isn’t ready.
There’s no adjustment suggested. “Normalize” works without prior analysis.
The adjustment (actually an offset) is because ReplayGain is commonly fairly low (-7 dB or so).
The analysis output could perhaps be more verbose and return the amplification value and the ReplayGain level +/- current adjustment.

Thanks, so I see it does! Well done!

Now all we need is for it to say that on the front page of this topic…


Gale

This includes “Equal Loudness Normalizing” and will show up in the Effect menu. Not seeing “Equal Loudness Normalizing” listed in effect menu, reloaded plug in several times, any pointers, or am i misunderstanding, do I look for “Equal Loudness Normalizing” or is this just incorporated into replay gain?

Thanks

It seems that sentence has lost a few words over the years. It should have said:
“NEW VERSION This includes “Equal Loudness Normalizing” and will show up in the Effect menu as “ReplayGain”.”
I’ve updated the post to say that.

Thanks for explaining that, next question…
So, I make mixes, i am trying to level the volumes from one track to another,for a more even listening experience; i am using the replay gain to normalize, using defaults for all tracks 0.0db, over all it’s fairly consistent but still have some tracks that seem louder, still jumping for volume, up or down etc (appreciate that’s gonna happen to some degree, folk to rock etc).
Trying to understand how to do this: The easy way to do this is to select all tracks at once and apply the Amplify effect with the default settings (step 6 in my previous post). This will bring the level of all tracks up (or down) by the same amount, so they will still have the same relative loudness. The default settings in the Amplify effect will bring the highest peak in the compilation to 0dB.
I do not see any default setting under amplify?? How do I make this happen, maybe I’m not selecting all tracks at once correctly?
Or is there another way to bump individual track volumes up/down a little relative to the track before/after?
Or, should I use some DJ mixing type software, only trouble I’m seeing there is, it would seem most mix a continuous track, cross fading each, where I want an individual final track.
Hope all this makes sense? Hope i don’t have to break out a mixing board!

Thanks in advance

It is automatic. When you select some audio and open the Amplify effect, the amount of gain required to bring the highest peak in the selection up to 0 dB is automatically calculated.

There really is no substitute for listening. “Automatic” methods such as this plugin can often make a reasonable job of it, but the only sure way to ensure that each track sounds the same loudness is to listen to them and adjust as necessary.

If each of the audio sections in the mix is on a separate Audacity track, you can use the Track Gain slider (Audacity Manual) to adjust the volume of that track.

thanks steve it seems to work now ok…how do you add it to audacity?also whats smart playing AND what does it do?

lenny