Skip to main content

breaks_rule

Function breaks_rule 

Source
pub fn breaks_rule(
    lower: (&Pitch, &Pitch),
    higher: (&Pitch, &Pitch),
    rule: ConsecutiveRule,
) -> Result<bool>
Expand description

Whether the lower part moving from lower.0 to lower.1 against the higher moving from higher.0 to higher.1 breaks the rule, as music21’s VoiceLeadingQuartet decides it.

§Errors

Pitches a quartet cannot be made of.