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

    Interface RhythmAnswerCardViewProps

    Props for RhythmAnswerCardView: a rhythm to answer with a bar of the player's own.

    interface RhythmAnswerCardViewProps {
        answer: readonly string[] | null;
        autoPlay?: boolean;
        card: RhythmAnswerCard;
        colors?: Partial<GameColors>;
        dense?: boolean;
        disabled?: boolean;
        explain?: boolean;
        feedback: CardFeedback;
        labels?: Partial<GameLabels>;
        names?: Partial<IntervalNames>;
        onAnswerChange: (answer: readonly string[]) => void;
        onEffect?: (effect: GameEffect) => void;
        onMiss?: () => void;
        onNotePlayed?: (midi: number) => void;
        prompt?: PromptPlacement;
        samples?: SampleSource;
        sx?: SxProps<Theme>;
        theoryNames?: Partial<TheoryNames>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    answer: readonly string[] | null

    The values of the answer so far, left to right

    autoPlay?: boolean

    A card that is a sound — a listening card, a rhythm to echo — plays it as it opens (default: true). Its own Listen or Start button plays it either way: pressing it asks for the sound

    colors?: Partial<GameColors>
    dense?: boolean

    Smaller type, glyphs and staff, for several cards on one screen

    disabled?: boolean

    Nothing can be changed: the card is settled, and with feedback 'wrong' it shows its right answer

    explain?: boolean

    Settled wrong, show how the answer is found in the picture as well as the answer itself: the landmark marked and the count written up the staff or along the keys, the beats under the values, the last sharp picked out (default: true)

    feedback: CardFeedback

    Where the card stands. A wrong answer is marked wrong; the right answer is shown too only once the card is also disabled — settled — never on a wrong try with another go to come, so the next go is still the player's own

    labels?: Partial<GameLabels>
    names?: Partial<IntervalNames>
    onAnswerChange: (answer: readonly string[]) => void
    onEffect?: (effect: GameEffect) => void

    Something happened worth a sound: a catch, a hop, a splash, a card turned

    onMiss?: () => void

    A wrong move on a card that judges each move as it is made: a wrong fish, a wrong pad, a mismatched pair

    onNotePlayed?: (midi: number) => void

    A note was placed or a choice sounded: its MIDI number, to sound it

    Where the prompt goes (default: 'above')

    samples?: SampleSource

    Recorded piano samples for the notes a card plays itself (see UseGameSoundsOptions)

    sx?: SxProps<Theme>
    theoryNames?: Partial<TheoryNames>

    What qualities, scales, modes and motions are called