OpenSheetMusicDisplay
    Preparing search index...

    Class GraphicalVoiceEntry

    The graphical counterpart of a [[VoiceEntry]].

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    boundingBox: BoundingBox
    GraceSlash: boolean
    notes: GraphicalNote[]
    octaveShiftValue: OctaveEnum

    Contains octave shifts affecting this voice entry, caused by octave brackets.

    parentStaffEntry: GraphicalStaffEntry
    parentVoiceEntry: VoiceEntry

    Accessors

    Methods

    • Sort notes for vexflow (bottom to top), which needs them in the reverse order OSMD likes to have them. Note that sort() and reverse() replace the array in place, so to avoid changing the array one could copy it first, see sortedNotesCopyForVexflow() (commented), though copying the array is also unnecessary (time+memory) for now.

      Returns GraphicalNote[]