Skip to main content

default_text_for_number

Function default_text_for_number 

Source
pub fn default_text_for_number(number: FloatType) -> Option<&'static str>
Expand description

Returns the tempo word music21 pairs with a beats-per-minute value, when one lies within two beats of it. Ties go to the lower value, then the alphabetically earlier word, as music21 sorts them.