@libraz/libcantus - v1.1.0
    Preparing search index...

    Type Alias VoiceIndependenceOptions

    Options controlling voiceIndependence.

    type VoiceIndependenceOptions = {
        leadAttacks?: readonly boolean[];
        counterAttacks?: readonly boolean[];
        countFourths?: boolean;
    }
    Index
    leadAttacks?: readonly boolean[]

    Which slots are fresh attacks in the lead. Without it a slot counts as an attack when its note differs from the previous slot's, which reads a deliberately repeated note as a sustain.

    counterAttacks?: readonly boolean[]

    Which slots are fresh attacks in the counter; read as leadAttacks is.

    countFourths?: boolean

    Count the perfect fourth among the perfect consonances when measuring longestPerfectRun. Useful for quartal writing, where the fourth is the interval being sustained.

    false