pub fn sound_tempo(tempo: &str) -> Option<FloatType>Available on crate feature
musicxml only.Expand description
music21’s setSoundTempo: the quarters a minute a <sound>’s tempo
attribute plays at, or None for one that is nought or no number,
which sets no tempo.
use music21::musicxml::sound_tempo;
assert_eq!(sound_tempo("128"), Some(128.0));
assert_eq!(sound_tempo("0"), None);