@tspro/web-music-score
    Preparing search index...

    Class TimeSignature

    Time signature class.

    Index

    Constructors

    Properties

    beamGroupCount: number

    Number of beam groups in measure.

    beamGroupLength: number

    Length of one beam group.

    beatCount: number

    Number of beats in measure, upper value (e.g. "3" in "3/4").

    beatLength: NoteLength

    Beat length.

    beatSize: number

    Beat size of time signature, lower value (e.g. "4" in "3/4").

    measureTicks: number

    Number of ticks in measure.

    Methods

    • Test whether this time signature has given beat count and size.

      Parameters

      • beatCount: number

        Beat count.

      • beatSize: number

        Beat size.

      Returns boolean

      • Boolean whether this time signature match given beat count and size.
    • Get string representation of this time signature (e.g. "3/4").

      Returns string

      • String representation.