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

    Interface CatchCard

    Targets drifting by, with one name to catch: a fish with an F on it, every fish with a quarter note.

    interface CatchCard {
        content?: ContentKind;
        items: { correct: boolean; display: Display; id: string; midi?: number }[];
        kind: "catch";
        name: string;
        play?: boolean;
        prompt: Display;
        rule: "all" | "one";
        sings?: number;
    }
    Index

    Properties

    content?: ContentKind

    What the targets show, so the prompt can be worded for it ("Catch every C" for letters); absent when they are caught by ear

    items: { correct: boolean; display: Display; id: string; midi?: number }[]

    The targets; caught by ear, each has the midi note it sings, and played on a keyboard, the midi note of its key

    kind: "catch"
    name: string

    The name to catch, plain (by ear: the note, 'G4')

    play?: boolean

    Played on a keyboard: every target is caught by playing its key — a key of the same letter (the same pitch class), in any octave

    prompt: Display

    The name to catch, as shown: a letter, a symbol's name (a music note for a card caught by ear, which shows nothing away)

    rule: "all" | "one"
    sings?: number

    Caught by ear: the note the sign plays, by MIDI number; the targets to catch sing it