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

    Type Alias TheoryLabel

    TheoryLabel:
        | { kind: "chordTone"; role: ChordToneRole }
        | { kind: "tension"; degree: 9 | 11 | 13 }
        | { kind: "avoid" }
        | { kind: "passing" }
        | { kind: "neighbor" }
        | { kind: "suspension"; type: SuspensionFigure; resolveTo: number }
        | { kind: "appoggiatura"; resolveTo: number }
        | { kind: "anticipation" }
        | { kind: "escape" }
        | { kind: "needsResolution"; resolveTo: number }
        | { kind: "leadingTone"; resolveTo: number }

    A theory annotation attached to a note.

    Type Declaration

    • { kind: "chordTone"; role: ChordToneRole }
    • { kind: "tension"; degree: 9 | 11 | 13 }
    • { kind: "avoid" }
    • { kind: "passing" }
    • { kind: "neighbor" }
    • { kind: "suspension"; type: SuspensionFigure; resolveTo: number }
    • { kind: "appoggiatura"; resolveTo: number }

      A note leant on: reached by leap and given up by step the other way, with resolveTo naming the pitch it gives way to. The word is the one MelodyToneRole uses for the same figure, so a melody read through this layer and through the harmonizer comes back under one vocabulary rather than under two names for one note.

    • { kind: "anticipation" }
    • { kind: "escape" }
    • { kind: "needsResolution"; resolveTo: number }
    • { kind: "leadingTone"; resolveTo: number }