pub fn pitch_span(pitches: &[Pitch]) -> Option<(Pitch, Pitch)>
The lowest and the highest pitch among pitches, the first of each where several share a place: music21’s Ambitus.getPitchSpan. Nothing for no pitches.
pitches
Ambitus.getPitchSpan