Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RepetitionInstructionReader

Hierarchy

  • RepetitionInstructionReader

Index

Properties

Private currentMeasureIndex

currentMeasureIndex: number

Private musicSheet

musicSheet: MusicSheet

repetitionInstructions

repetitionInstructions: RepetitionInstruction[]

A global list of all repetition instructions in the musicsheet.

xmlMeasureList

xmlMeasureList: IXmlElement[][]

Accessors

MusicSheet

Methods

Private addInstruction

Private backwardSearchForPreviousIdenticalInstruction

  • backwardSearchForPreviousIdenticalInstruction(currentInstructionIndex: number, currentInstruction: RepetitionInstruction): boolean

Private findInstructionInPreviousMeasure

  • findInstructionInPreviousMeasure(currentInstructionIndex: number, currentMeasureIndex: number, searchedType: RepetitionInstructionEnum): boolean

handleLineRepetitionInstructions

  • handleLineRepetitionInstructions(barlineNode: IXmlElement, pieceEndingDetected: boolean): void

handleRepetitionInstructionsFromWordsOrSymbols

  • handleRepetitionInstructionsFromWordsOrSymbols(directionTypeNode: IXmlElement, relativeMeasurePosition: number): boolean

prepareReadingMeasure

  • prepareReadingMeasure(measure: SourceMeasure, currentMeasureIndex: number): void

removeRedundantInstructions

  • removeRedundantInstructions(): void

Generated using TypeDoc