Skip to main content

pitch_span

Function pitch_span 

Source
pub fn pitch_span(pitches: &[Pitch]) -> Option<(Pitch, Pitch)>
Expand description

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.