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

    Interface SpellOnStaffSettings

    How spell-on-the-staff cards are made.

    interface SpellOnStaffSettings {
        anyOctave: boolean;
        clef: Clef;
        highestMidi: number;
        lowestMidi: number;
        words: readonly string[];
    }
    Index

    Properties

    anyOctave: boolean

    Whether a letter placed in any octave is right (default) or only in the octave answer gives — the one nearest the middle of the staff, which the card does not show, so keep it for a range that holds one note of each letter

    clef: Clef
    highestMidi: number

    The highest note that can be placed

    lowestMidi: number

    The lowest note that can be placed, as a MIDI number

    words: readonly string[]

    The words to draw from — letters A to G only; "F" alone asks for one note