web-music-score - v6.5.0
    Preparing search index...

    Class RhythmProps

    Rhythm props class.

    Index
    dotCount: number

    Dot count.

    flagCount: number

    Flag count.

    hasStem: boolean

    Has note stem.

    isSolidNoteHead: boolean

    Is note head solid (black)?

    noteLength: NoteLength

    Note length.

    noteSize: number

    Note size (whole=1, half=2, quarter=4, ...).

    ticks: number

    Number of ticks.

    tupletRatio?: TupletRatio

    Tuplet ratio.

    • Get string presentation of rhythm props.

      Returns string

      • String presentation.
    • Compare duration of rhythm props.

      Parameters

      Returns -1 | 0 | 1

      • -1: a < b, 0: a === b, +1: a > b (duration comparisons)
    • Compare duration equality of rhythm props.

      Parameters

      Returns boolean

      • true: a === b, false: a !== b (duration comparisons)