pub fn to_hz(value: f64, unit: FreqUnit) -> f64
Convert from user units to Hz (internal canonical unit).