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: foobar preamp (Read 518 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foobar preamp

Need some advise about foobar preamp setting as shown in the image below.



May I know which of the following method foobar processes the gain?

  • Method 1
    • Apply track RG
    • then check for clipping, if clipping, reduce gain
    • then apply +3dB preamp gain
    • (this means that there is risk of clipping)
  • Method 2
    • Apply track RG and +3dB preamp gain
    • then check for clipping, if clipping, reduce gain
    • (this means that there is no risk of clipping)
  • Some other method...


Thanks in advance for any feedback.

Re: foobar preamp

Reply #1
Method 2.
Though note that the clipping protection is valid only if you don't use any other signal processing. That includes even simple things like crossfeed and downmixing.

Re: foobar preamp

Reply #2
Query: "then check for clipping, if clipping, reduce gain"

Is that real-time or predictive?  I presume this all happens before the track is played, and applies for the whole track.
It's your privilege to disagree, but that doesn't make you right and me wrong.

Re: foobar preamp

Reply #3
Method 2.
Though note that the clipping protection is valid only if you don't use any other signal processing. That includes even simple things like crossfeed and downmixing.

Got it!

Thank you very much for your clarification :)

Re: foobar preamp

Reply #4
Query: "then check for clipping, if clipping, reduce gain"

Is that real-time or predictive?  I presume this all happens before the track is played, and applies for the whole track.
That's a one time thing done before track's actual decoding starts. The ReplayGain + preamp setting is converted from decibel to floating point multiplier. Then if clipping prevention is enabled and multiplier × peak would exceed digital fullscale 1.0, the multiplier is changed so that multiplier × peak = 1.0. So new multiplier will be 1.0 ÷ peak.