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

    A set tempo for the next live session, anchored to the take's clock.

    interface LiveTempoSetting {
        atQuarters?: number;
        bpm: number;
        click?: LiveClickMask;
        heardLateMs?: number;
        missAfterMs?: number;
        nowMs?: () => number;
        startTakeMs: number;
        strictness?: LiveStrictness;
    }
    Index

    Properties

    atQuarters?: number

    The score position, in quarter notes, that startTakeMs is the time of (default: 0) — a backing track's clock, read a moment after it started

    bpm: number

    Quarter notes per minute

    The metronome's click and how many sound before the first beat, so a click the microphone hears is found and taken out of the audio before it is read; snapshot.clickOffsetMs says how late the clicks arrive

    heardLateMs?: number

    How much later than startTakeMs says the beat is actually heard — the audio output's latency (default: 0). The clock is shifted by it, so a performer playing to what they hear is on time when they are.

    missAfterMs?: number

    How long after an event's beat it is shown as missing while nothing has been played for it (default: from strictness)

    nowMs?: () => number

    The take's clock (the recorder's nowMs). With it the beat keeps moving between notes — the position mark advances and a beat that passes unplayed turns missing on time; without it the clock is read only as audio or MIDI arrives.

    startTakeMs: number

    Take-clock time of a known score position: the first beat of the followed region, after any count-in, unless atQuarters says otherwise

    strictness?: LiveStrictness

    How closely a note must sit on its beat (default: 'normal')