Skip to main content

pitch_bounds

Function pitch_bounds 

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

The indices of the lowest and highest of pitches, the earlier of two equal lows and the later of two equal highs: music21’s filterPitchList, which sorts on pitch space and then on index.