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

    Type Alias BarPositionProfile

    How a line's onsets sit against one time signature: which slot of its bar they favour, mass-normalized.

    type BarPositionProfile = {
        ts: TimeSignature;
        slotsPerBar: number;
        shares: number[];
        onsets: number;
    }
    Index

    The time signature this profile's bar is read in.

    slotsPerBar: number

    Slots in one bar of ts, at one twelfth of a quarter-note beat each.

    shares: number[]

    Onset mass per slot, in bar order starting at the downbeat; sums to 1.

    onsets: number

    Onsets read under this signature.