Hiyve Components - v1.0.0
    Preparing search index...

    Interface TieOrSlurSettings

    How tie-or-slur cards are made: two or three notes on a clef's staff, with a curve over them.

    interface TieOrSlurSettings {
        accidentals: boolean;
        barLine: boolean;
        clef: Clef;
        highestMidi: number;
        lowestMidi: number;
        slurMotions: readonly ("step" | "skip")[];
        slurNotes: readonly number[];
    }
    Index

    Properties

    accidentals: boolean

    Whether a slur may join a note to the same letter with a sharp or flat (F to F♯), which looks like a tie but is not, and a tie may join two sharpened notes (default: false)

    barLine: boolean

    Whether the curve may cross a bar line, as a tie from one bar into the next does (default: false)

    clef: Clef
    highestMidi: number

    The highest note shown

    lowestMidi: number

    The lowest note shown, as a MIDI number

    slurMotions: readonly ("step" | "skip")[]

    How a slur's notes move from one to the next: by step, by skip, or either (default: step)

    slurNotes: readonly number[]

    How many notes a slur is drawn over, two or three, one drawn per card (default: 2)