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

    Interface IntervalIdCard

    Two notes on the staff, with the interval between them to choose.

    interface IntervalIdCard {
        answer: string;
        choices: string[];
        generic: boolean;
        halfWhole?: true;
        kind: "intervalId";
        question: IntervalQuestion;
        shape?: true;
    }
    Index

    Properties

    answer: string

    The right answer: the number ("3") when generic, else the code (M3)

    choices: string[]

    The answers to choose from, the right one among them: numbers from the smallest when generic, codes shuffled otherwise

    generic: boolean

    Whether the number alone is asked

    halfWhole?: true

    The 2nd is named a half step (m2) or a whole step (M2): choices are then ['m2', 'M2'], in that order. Absent otherwise

    kind: "intervalId"
    shape?: true

    How the notes are written is asked (ask: 'shape'): the answer is an IntervalShape and choices are ['melodic', 'harmonic']. Absent otherwise