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

    Interface RhythmAnswerCard

    A one-bar rhythm heard and seen — the question — with a bar to fill with an answer of the player's own.

    interface RhythmAnswerCard {
        beatsPerBar: number;
        example: NoteValue[];
        kind: "rhythmAnswer";
        question: NoteValue[];
        rules: RhythmAnswerRule[];
        tempo: number;
        tiles: NoteValue[];
        timeSignature: `${number}/${number}`;
    }
    Index

    Properties

    beatsPerBar: number

    The bar's length in quarter-note beats

    example: NoteValue[]

    One answer that keeps every rule, to show after a wrong one

    kind: "rhythmAnswer"
    question: NoteValue[]

    The question: one bar of note values

    tempo: number
    tiles: NoteValue[]

    The values to build the answer from, longest first

    timeSignature: `${number}/${number}`