pub fn ampdb<T: Float>(amp: T) -> T
Convert an amplitude value to decibels.
If a type conversion fails.