pub fn note_frequency(table: &[f64; 128], note: u8) -> f64
Allocation-free, panic-free key→frequency lookup. note is masked into 0..128, so any u8 is valid; an unmapped key returns 0.0.
note
0..128
u8
0.0