/// Convert the midi note into the equivalent frequency.
///
/// This function assumes A4 is 440hz.
Convert the midi note into the equivalent frequency.
This function assumes A4 is 440hz.
Convert the midi note into the equivalent frequency . This function assumes A4 is 440hz .
fn midi_note_to_hz(note: u8) -> f64 {
    const A4: f64 = 440.0;
    (A4 / 32.0) * ((note as f64 - 9.0) / 12.0).exp2()
}
fn midi_note_to_hz ( note : u8 ) -> f64 { const A4 : f64 = 440.0 ; ( A4 / 32.0 ) * ( ( note as f64 - 9.0 ) / 12.0 ) . exp2 ( ) }
Convert the midi note into the equivalent frequency.
Convert the midi note into the equivalent frequency .
note
u8