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

    Interface BeatTapSettings

    How tap-the-beat cards are made.

    interface BeatTapSettings {
        beatChoices?: readonly number[];
        beats: number;
        beatsPerBar: number;
        countIn: number;
        mode: BeatTapMode;
        rests?: readonly number[];
        tempo: number;
        tempos?: readonly number[];
        timeSignatures?: readonly `${number}/${number}`[];
        values: readonly NoteValue[];
        window: number;
    }
    Index

    Properties

    beatChoices?: readonly number[]

    steady: numbers of beats to choose from, one drawn per card (default: beats alone)

    beats: number

    steady: the beats in the bar of dots, each a tap or a rest (default: 4)

    beatsPerBar: number

    echo: the bar's length in quarter-note beats, when no timeSignatures are given (default: 4)

    countIn: number

    Ticks played before the player's turn, to feel the beat by (default: 4)

    'steady': a bar of beats shown as dots — each a tap or a rest — heard, then tapped back; 'echo': a rhythm written in notes, heard, then tapped back (default: 'steady')

    rests?: readonly number[]

    steady: how many of the beats are rests — a dot with no tap — one number drawn per card; never the first beat, and two taps at least (default: none, a tap on every beat)

    tempo: number

    Beats a minute (default: 80)

    tempos?: readonly number[]

    Tempos to choose from, in beats a minute, one drawn per card (default: tempo alone)

    timeSignatures?: readonly `${number}/${number}`[]

    echo: time signatures to write the bar in, one drawn per card: the bar is as long as it says, and in 6/8 it is built of dotted-quarter beats — a dotted quarter, or a quarter and the eighth after it, or the whole bar as a dotted half — with the count-in ticking on those beats (default: none — a bar of beatsPerBar quarter-note beats)

    values: readonly NoteValue[]

    echo: the note values a one-bar rhythm is made of — notes and rests, one rest a bar at most and never first; a dotted quarter always comes with the eighth that completes its beat, and an eighth on its own only after one (default: half, quarter)

    window: number

    How far a tap may fall from where it is due and still count, as a share of a beat either side: 0.3 is 30% (default: 0.3)