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

    Class RhythmProps

    Index

    Properties

    dotCount: number
    flagCount: number
    hasStem: boolean
    isSolidNoteHead: boolean
    noteLength: NoteLength
    noteSize: number
    ticks: number
    tupletRatio?: TupletRatio

    Methods

    • Returns string

    • Compare duration equality of rhythm props.

      Parameters

      Returns boolean

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

      • noteLength:
            | "1n"
            | "1t"
            | "1."
            | "1.."
            | "1..."
            | "1...."
            | "1....."
            | "1......"
            | "2n"
            | "2t"
            | "2."
            | "2.."
            | "2..."
            | "2...."
            | "2....."
            | "4n"
            | "4t"
            | "4."
            | "4.."
            | "4..."
            | "4...."
            | "8n"
            | "8t"
            | "8."
            | "8.."
            | "8..."
            | "16n"
            | "16t"
            | "16."
            | "16.."
            | "32n"
            | "32t"
            | "32."
            | "64n"
            | "64t"
            | NoteLength
      • OptionaldotCount: number
      • OptionaltupletRatio: TupletRatio

      Returns RhythmProps