Skip to main content

joined_pitches

Function joined_pitches 

Source
pub fn joined_pitches(pitches: &[Pitch]) -> Result<Vec<JoinedNote>>
Expand description

What each run of one pitch makes, as the places of the pitches rather than as notes: the by-position twin of join_consecutive_identical_pitches.

music21 hands the note it makes the very Pitch object of the run’s last pitch, so a caller holding those objects wants to know which.

§Errors

No pitches.