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

    Type Alias MeterLike

    MeterLike:
        | string
        | TimeSignature
        | MeterMap
        | { toJSON(): TimeSignature | MeterMap }

    Anything that names a meter: a signature text such as '6/8', a plain TimeSignature, a full MeterMap, or a value that serializes to one of those such as the Meter class.

    Every meter-aware function takes this, so a piece in one meter reads as '4/4' and a piece that changes meter reads as the map, without the caller choosing a different function for each. Only a signature has a text form — a meter map is a run of changes and is given as the data it is.

    Type Declaration