OpenSheetMusicDisplay
    Preparing search index...

    Class Repetition

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    absoluteTimestamp: Fraction
    endIndex: number
    enrolledTimestamps: Fraction[] = []
    forwardJumpInstruction: RepetitionInstruction
    musicSheet: MusicSheet
    SkipRepetition: boolean = false

    If set to true, will skip the repetition during playback. Note that you need to call PlaybackManager.recalculatePlaybackEntriesAndRepetitions() afterwards to skip repetitions during playback. Also note that the better method is to set UserNumberOfRepetitions = 1 instead of SkipRepetition, this will also work for voltas. This can be set or disabled by the user/developer at any time. Note that you can also set osmd.EngravingRules.CursorIgnoreRepetitions to skip all repetitions.

    startIndex: number
    visible: boolean = true

    Accessors

    Methods