OpenSheetMusicDisplay
    Preparing search index...

    Class RhythmInstruction

    A [[RhythmInstruction]] is the time signature which specifies the number of beats in each bar, and the value of one beat.

    Hierarchy (View Summary)

    Index
    SynthesizedFromNoTimeSignature: boolean = false

    Whether this time signature was not given in the source (e.g. MusicXML), but synthesized by default, e.g. a default 4/4 for a sample without a time signature like Satie's Gnossiennes. Such a time signature is not rendered by default (see EngravingRules.RenderTimeSignaturesForSamplesWithoutTimeSignature).

    • get NumeratorGroups(): number[]

      The groups of an additive numerator as given in the source, e.g. [2, 2, 3] for MusicXML's <beats>2+2+3</beats> with <beat-type>8</beat-type>: the time signature is drawn as 2+2+3/8 instead of 7/8. Undefined for a single number like 7. Rhythm has their sum (7/8), which is what durations use.

      Returns number[]