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

    Interface KeyboardNoteIdCard

    A note on the staff with its key to tap.

    interface KeyboardNoteIdCard {
        answer: number;
        anyOctave: boolean;
        clef: Clef;
        halfStep?: "up" | "down";
        keyboardHighestMidi: number;
        keyboardLowestMidi: number;
        kind: "keyboardNoteId";
        note: Pitch;
    }
    Index

    Properties

    answer: number

    The key to tap, as a MIDI number: the note's own key, or with halfStep the very next key above or below it

    anyOctave: boolean
    clef: Clef
    halfStep?: "up" | "down"

    The key to tap is a half step from the note shown: the very next key up (to the right) or down (to the left). Absent when it is the note's own key

    keyboardHighestMidi: number
    keyboardLowestMidi: number
    kind: "keyboardNoteId"
    note: Pitch