pub fn gain(v: f32) -> f32