pub fn freq(x: f32) -> f32