BASS.NET API for the Un4seen BASS Audio Library

BASS_BFX_COMPRESSOR2Calculate0dBGain Method

BASS.NET API for the Un4seen BASS Audio Library
Calculates for the current threshold/ratio combination a gain value to roughly achieve a 0 dB peak line.

Namespace:  Un4seen.Bass.AddOn.Fx
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public void Calculate0dBGain()
Remarks

Sets fGain=(fThreshold/2)*(1/fRatio-1).
See Also

Reference