Universal Music Theory Library - v0.12.0
    Preparing search index...

    Interface VoiceLeadingIssue

    A specific voice-leading problem detected between two voices.

    interface VoiceLeadingIssue {
        message: string;
        type: VoiceLeadingIssueType;
        voices: number[];
    }
    Index

    Properties

    Properties

    message: string

    Readable description, with voices numbered from 1 ('Parallel 5ths (Voices 1 and 3)').

    What the problem is.

    voices: number[]

    Indices of the voices involved, as ordered in the arrays passed in (0 = first note).