title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Page 1 of 2 12 LastLast
Results 1 to 15 of 27

Thread: ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mean?

  1. #1
    dBpoweramp Enthusiast
    Join Date
    Dec 2013
    Posts
    297

    ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mean?

    Hi all

    I'm a bit unsure about that the "Disable Clip-Prevention" option in the RG Codec means, and what it does. Would someone mind spelling it out for me please?

    Cheers

    PS - While on the subject of ReplayGain, can I ask a bit of an OT question please? Is the following statement true:

    No matter what program is being used (ripper, converter, etc.), whenever ReplayGain is applied as a DSP, it is calculated on the source material, but whenever ReplayGain is applied using the RG Codec, it is calculated on the newly encoded material [I guess there is no source when RG is the codec].
    Last edited by Max Dread; 02-14-2017 at 02:02 PM.

  2. #2
    Administrator
    Join Date
    Apr 2002
    Posts
    43,855

    Re: ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mea

    If you disable this option, then the player should work out that the values for replaygain would clip the audio and scale back the gain values, not all will so there is this option to do it.

  3. #3
    dBpoweramp Enthusiast
    Join Date
    Dec 2013
    Posts
    297

    Re: ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mea

    Thanks Spoon, that makes it a bit clearer, but to be honest I've got a bit of mental blockage on this one and I think I need it explained to me as though I was 5 years old! If anyone's got the time to that, I'd hugely appreciate it.

    At the same time, perhaps it might help if I asked some specific questions.

    1. Up until now I've been using RG v3 which I don't think had this option. So what was happening with RG v3?

    2. In my specific case, what would be the best option (although would still be nice to understand it fully)? I use Foobar for playback on my PC, and an iPod for music on the go.

    3. I am applying RG to some Mp3s I have. Up until now all I've done is used the DSP when ripping, so there have never been peak values above 1. But now that I am using the codec for RG on the Mp3s, I am seeing peaks well above 1. I understand why that is - the DSP calculates on the source while the codec calculates on the file itself, which in the case of Mp3s does mean peak values of +1. But I still don't get what bearing that has on whether I should have the Disable box ticked or not.

    Many thanks for your help and patience

  4. #4
    dBpoweramp Guru
    Join Date
    Dec 2008
    Location
    London, UK
    Posts
    4,015

    Re: ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mea

    Quote Originally Posted by Spoon View Post
    If you disable this option, then the player should work out that the values for replaygain would clip the audio and scale back the gain values, not all will so there is this option to do it.
    Please can you confirm how the user disables this option, tick or un-tick the Disable Clip-Prevention box?

  5. #5
    Administrator
    Join Date
    Apr 2002
    Posts
    43,855

    Re: ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mea

    You would click it to disable.

  6. #6
    dBpoweramp Enthusiast
    Join Date
    Dec 2013
    Posts
    297

    Re: ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mea

    Any thoughts on my post/questions Spoon (the ones in *3)?

    Cheers

  7. #7
    Administrator
    Join Date
    Apr 2002
    Posts
    43,855

    Re: ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mea

    It does not have a bearing on the Disable box.

  8. #8
    dBpoweramp Enthusiast
    Join Date
    Dec 2013
    Posts
    297

    Re: ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mea

    I'm still not getting it I'm afraid...

    Quote Originally Posted by Spoon View Post
    It does not have a bearing on the Disable box.
    OK, so with that in mind:

    Quote Originally Posted by Max Dread View Post
    2. In my specific case, what would be the best option (although would still be nice to understand it fully)? I use Foobar for playback on my PC, and an iPod for music on the go.
    And also:

    Quote Originally Posted by Max Dread View Post
    1. Up until now I've been using RG v3 which I don't think had this option. So what was happening with RG v3?
    Sorry to keep labouring the point, but I want to understand this so that i can get it right when I RG my Mp3 collection.

    Many thanks

  9. #9
    dBpoweramp Enthusiast
    Join Date
    Dec 2013
    Posts
    297

    Re: ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mea

    I've been thinking about this some more, as well as reading about it and experimenting, and I'm wondering if I can now answer my own question(s) to save anyone else having to do so!...

    A) In v3/R3 of ReplayGain, there was no "Disable Clip-Prevention" box. It acted as though it was UNTICKED, and therefore any tracks that needed clip prevention were automatically given it.

    B) This is why you sometimes got a "Warning: Normalisation gain would have resulted in clipping, gain has been reduced to prevent this....." in the log. So the warning told you that Clip_Prevention had been used, as well as giving you the figures.

    Have I got it? Is that right or am I just digging a deeper hole f misunderstanding?

    Cheers

  10. #10
    dBpoweramp Guru
    Join Date
    Nov 2007
    Location
    Florida, USA
    Posts
    5,735

    Re: ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mea

    Quote Originally Posted by Max Dread View Post
    I've been thinking about this some more, as well as reading about it and experimenting, and I'm wondering if I can now answer my own question(s) to save anyone else having to do so!...

    A) In v3/R3 of ReplayGain, there was no "Disable Clip-Prevention" box. It acted as though it was UNTICKED, and therefore any tracks that needed clip prevention were automatically given it.

    B) This is why you sometimes got a "Warning: Normalisation gain would have resulted in clipping, gain has been reduced to prevent this....." in the log. So the warning told you that Clip_Prevention had been used, as well as giving you the figures.

    Have I got it? Is that right or am I just digging a deeper hole f misunderstanding?

    Cheers
    yes, you have it correct. some people wanted the option to have or not have clipping prevention.

  11. #11
    dBpoweramp Enthusiast
    Join Date
    Dec 2013
    Posts
    297

    Re: ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mea

    Quote Originally Posted by garym View Post
    yes, you have it correct. some people wanted the option to have or not have clipping prevention.
    Eureka! Got there at last!

    Now let's see if I can go one further...

    Foobar has the option in preferences > playback > processing to choose between "apply gain" and "apply gain and prevent clipping according to peak". It has been on my to do list to figure out what that means and which I should select. So would I be right in saying that this goes hand in hand with the "Disable Clip-Prevention" option in DBPA. So:

    - If "Disable Clip-Prevention" is unticked, DBPA does the necessary reductions to prevent clipping and so in foobar I would select "apply gain"

    - If "Disable Clip-Prevention" is ticked, DBPA does not do any reductions, and so in foobar I would select "apply gain and prevent clipping according to peak"

  12. #12
    dBpoweramp Guru
    Join Date
    Nov 2007
    Location
    Florida, USA
    Posts
    5,735

    Re: ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mea

    Quote Originally Posted by Max Dread View Post
    Eureka! Got there at last!

    Now let's see if I can go one further...

    Foobar has the option in preferences > playback > processing to choose between "apply gain" and "apply gain and prevent clipping according to peak". It has been on my to do list to figure out what that means and which I should select. So would I be right in saying that this goes hand in hand with the "Disable Clip-Prevention" option in DBPA. So:

    - If "Disable Clip-Prevention" is unticked, DBPA does the necessary reductions to prevent clipping and so in foobar I would select "apply gain"

    - If "Disable Clip-Prevention" is ticked, DBPA does not do any reductions, and so in foobar I would select "apply gain and prevent clipping according to peak"
    I'll just tell you what I do. I don't tick "disable clip prevention" in dbpa. In foobar2000 I have settings to "apply gain" with the "playback order" option. Bottom line is that clipping is an issue with probably way less than 1% of my 100,000 tracks. So all this is really not that relevant.

  13. #13
    dBpoweramp Enthusiast
    Join Date
    Dec 2013
    Posts
    297

    Re: ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mea

    Hi garym

    Seems we will have similar strategies then, although I'm not sure what you mean about the "playback order" option???

    With regards the amount of clipping, I did a test run on 375 mp3 tracks and of those 28 had to be reduced to prevent clipping; which is 7.5% so a fair bit higher than you. To be fair, a lot had adjustments under +/-1dB. The most I saw was around +/-3dB

  14. #14
    dBpoweramp Guru
    Join Date
    Nov 2007
    Location
    Florida, USA
    Posts
    5,735

    Re: ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mea

    Quote Originally Posted by Max Dread View Post
    Hi garym

    Seems we will have similar strategies then, although I'm not sure what you mean about the "playback order" option???

    With regards the amount of clipping, I did a test run on 375 mp3 tracks and of those 28 had to be reduced to prevent clipping; which is 7.5% so a fair bit higher than you. To be fair, a lot had adjustments under +/-1dB. The most I saw was around +/-3dB
    Playback order is one of the options on applying gain in foobar2000. Same option page where you select apply gain. You need a relatively new version of foobar2000. It automatically uses album gain if the adjacent songs are from same album or track gain if adjacent songs are from different albums. Squeezebox/LMS does this (called SmartGain). Roon has something similar.

  15. #15
    dBpoweramp Enthusiast
    Join Date
    Dec 2013
    Posts
    297

    Re: ReplayGain Codec "Disable Clip-Prevention" option. What exactly does this do/mea

    Aha - just updated form v1.3.13 to v1.3.14 and now it's there Cheers!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •