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

    Interface BeatTapCard

    A beat to keep or a rhythm to tap back, with when each tap is due.

    interface BeatTapCard {
        beat?: number;
        countIn: number;
        kind: "beatTap";
        mode: BeatTapMode;
        onsets: number[];
        pattern: NoteValue[];
        tempo: number;
        timeSignature?: `${number}/${number}`;
        window: number;
    }
    Index

    Properties

    beat?: number

    The beat the count-in ticks on, in quarter-note beats: 1.5, a dotted quarter, in 6/8. Absent for a quarter-note beat

    countIn: number

    Ticks before the player's turn

    kind: "beatTap"
    onsets: number[]

    When each tap is due, in beats from the start of the pattern: a rest has none, a long note one, two eighths two

    pattern: NoteValue[]

    What is tapped, as note values: for a bar of dots a quarter (a tap) or a quarter rest a beat; for an echo, the rhythm

    tempo: number

    Beats a minute

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

    echo: the time signature the bar is written in, when the settings give one

    window: number

    How far a tap may fall from where it is due, as a share of a beat either side