pub fn gain(x: f32) -> f32