Skip to main content

upper_parts_within_limit

Function upper_parts_within_limit 

Source
pub fn upper_parts_within_limit(
    possibility: &[Pitch],
    max_semitone_separation: Option<IntegerType>,
) -> bool
Expand description

Whether every two of the upper parts – all but the bass – lie within max_semitone_separation of each other; with no limit, they always do. music21’s default is twelve, the span a hand can play.