pub fn db_to_gain(dbs: f32) -> f32
Convert decibels to a voltage gain ratio, treating anything below -100 dB as minus infinity.