Tim E. Real wrote: ↑Wed Jul 26, 2023 10:54 pm[ Side note: If you are thinking that I could look at the LV2 units, which include pre-defined "dB" and "Hertz", to determine
how exactly to display a control, forget it. They are not reliable. LSP for example uses mysterious custom units like "G" for gain, not "dB".
So LV2 units are out of the question. ]
There are several reasons why LSP uses 'G' for gain, not 'dB':
- No one plugin format allows to define the
-Inf
value for dB in a right way. Since dB is logarithmic value, we always are forced to assume some values below some threshold to be-Inf
decibels. G
is just a raw multiplier to the signal. It is much easier to operate with. If you need to be compatible with generic UIs, it is a good way to allow the user to set the value '0' to gain which exactly means-inf
dB level.