pub fn build_tuning_table(scale: &SclScale, kbm: &KbmMapping) -> [f64; 128]Expand description
Build the 128-key frequency table from a scale + keyboard mapping, per MTS.
Keys the mapping does not cover (unmapped x, or outside [first_midi, last_midi]) are set
to 0.0 (a “no note” sentinel). Anchoring is exact: reference_note receives reference_freq,
and every other key is reference_freq · 2^((cents(key) − cents(reference))/1200).
If the reference key itself is not mapped the table cannot be anchored and an all-zero table is returned (build never panics).