amp2db()
convert amp (0, 1) to dB
20.0 * log10(amplitude)
amp (float) – the amplitude between 0 and 1
float
the corresponding amplitude in dB
See also
db2amp()