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

    Function halfTime

    • Stretch a figure to twice its length: everything falls half as often.

      Type Parameters

      Parameters

      • events: readonly T[]

        The figure.

      • spanSteps: number = BAR_STEPS

        Length of the figure in sixteenths; notes stretched past it are dropped, since the bar is the bar however the figure is felt.

      Returns T[]

      The stretched figure.