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

    Class NoteLengthProps

    Note length props class.

    Index

    Properties

    dotCount: number

    Dot count.

    flagCount: number

    Flag count.

    hasStem: boolean

    Has note stem.

    isSolid: boolean

    Is note head solid (black)?

    isTriplet: boolean

    Is triplet?

    maxDotCount: number

    Max dot count.

    noteLength: NoteLength

    Note length.

    noteSize: number

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

    ticks: number

    Number of ticks (not altered by isTriplet).

    LongestNoteSize: number = ...

    Longest note size (e.g. 1 = whole note).

    ShortestNoteSize: number = ...

    Shortest note size (e.g. 64 = sixtyfourth note).

    Methods

    • Create note length props.

      Parameters

      • noteLength: string | number

        Note length or note size.

      • dotCount: number = 0

        Dot count.

      Returns NoteLengthProps

      • Note length props.