pub fn hz_to_midi(freq_hz: f32, ref_a4_hz: f32) -> (u8, f32)
Convert a frequency in Hz to (midi_note, cents_deviation).
(midi_note, cents_deviation)