pub fn tempo_of(data: &[u8]) -> Option<FloatType>
The quarters a minute a tempo’s bytes say, to two places, or nothing for too few bytes or a quarter lasting no time: music21’s midiEventsToTempo.
midiEventsToTempo