Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MusicSheetReader

Index

Constructors

Properties

afterSheetReadingModules: IAfterSheetReadingModule[]
completeNumberOfStaves: number = 0
currentFraction: Fraction
currentMeasure: SourceMeasure
musicSheet: MusicSheet
pluginManager: ReaderPluginManager = ...
previousMeasure: SourceMeasure
repetitionCalculator: RepetitionCalculator
repetitionInstructionReader: RepetitionInstructionReader

Accessors

  • get CompleteNumberOfStaves(): number

Methods

  • _lastElement<T>(list: T[]): T
  • _removeFromArray(list: any[], elem: any): void
  • allInstrumentsHaveSameDuration(instrumentsDurations: Fraction[], maxInstrumentDuration: Fraction): boolean
  • checkFractionsForEquivalence(maxInstrumentDuration: Fraction, activeRhythm: Fraction): void
  • Check the Fractions for Equivalence and if so, sets maxInstrumentDuration's members accordingly. * Example: if maxInstrumentDuration = 1/1 and sourceMeasureDuration = 4/4, maxInstrumentDuration becomes 4/4.

    Parameters

    Returns void

  • checkIfMeasureIsImplicit(maxInstrumentDuration: Fraction, activeRhythm: Fraction): boolean
  • checkIfRhythmInstructionsAreSetAndEqual(instrumentReaders: InstrumentReader[]): void
  • checkSourceMeasureForNullEntries(): void
  • getCompleteNumberOfStavesFromXml(partInst: IXmlElement[]): number
  • getInstrumentNumberOfStavesFromXml(partNode: IXmlElement): number
  • graphicalMeasureIsEmpty(index: number): boolean
  • presentAttrsWithValue(elem: IXmlElement, val: string): boolean
  • pushSheetLabels(root: IXmlElement, filePath: string): void
  • readTitleAndComposerFromCredits(root: IXmlElement): void
  • readTitleAndComposerFromCreditsLegacy(root: IXmlElement): void
  • setSourceMeasureDuration(instrumentReaders: InstrumentReader[], sourceMeasureCounter: number): number
  • trimString(str: string): string
  • doCalculationsAfterDurationHasBeenSet(instrumentReaders: InstrumentReader[]): void

Generated using TypeDoc