Different representations of a stream volume. gstaudio.stream_volume.StreamVolume.convertVolume allows to convert between the different representations.
Formulas to convert from a linear to a cubic or dB volume are cbrt(val) and 20 * log10 (val).
Linear scale factor, 1.0 = 100%
Cubic volume scale
Logarithmic volume scale (dB, amplitude not power)
Different representations of a stream volume. gstaudio.stream_volume.StreamVolume.convertVolume allows to convert between the different representations.
Formulas to convert from a linear to a cubic or dB volume are cbrt(val) and 20 * log10 (val).