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

    Function isStrongBeat

    • Whether a position is metrically accented (weight 2 or more — a downbeat or a secondary strong pulse).

      Parameters

      • beatInQuarters: number

        Absolute quarter-note position, or an in-bar offset when the meter is a single signature.

      • meter: MeterLike

        A single signature, or the piece's meter map.

      Returns boolean

      True on strong beats.