Function to_frequency

Source
pub fn to_frequency<T: Float>(note: u8) -> T
Expand description

Map a midi note to a frequency

ยงPanics

If a type conversion fails.