@libraz/libcantus - v1.1.0
    Preparing search index...

    Type Alias FillVelocity

    How loud one stroke of a fill is.

    A fill's dynamics are written against the fill's own base velocity rather than in absolute terms, so the same archetype sounds right in a verse and a chorus: fill is the body of the fill, accent the stroke that lands. One base for the whole gesture, not one per beat — a crescendo that restarts its arithmetic at every beat line falls back in the middle of itself.

    type FillVelocity = {
        base: "fill" | "accent";
        scale?: number;
        offset?: number;
    }
    Index
    base: "fill" | "accent"
    scale?: number

    Factor on the base, for a crescendo or a ghosted stroke.

    offset?: number

    Fixed offset in MIDI velocity, for a stroke a little above or below.