web-music-score - v6.4.0-pre.9
    Preparing search index...

    Class RhythmProps

    Rhythm props class.

    Index

    Properties

    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.

    Methods

    • Get string presentation of rhythm props.

      Returns string

      • String presentation.
    • Compare duration equality of rhythm props.

      Parameters

      Returns boolean

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