Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExpressionReader

Hierarchy

  • ExpressionReader

Index

Constructors

constructor

Properties

Private activeInstantaneousDynamic

activeInstantaneousDynamic: InstantaneousDynamicExpression

Private currentMultiTempoExpression

currentMultiTempoExpression: MultiTempoExpression

Private directionTimestamp

directionTimestamp: Fraction

getMultiExpression

getMultiExpression: MultiExpression

Private globalStaffIndex

globalStaffIndex: number

Private musicSheet

musicSheet: MusicSheet

Private offsetDivisions

offsetDivisions: number

Private openContinuousDynamicExpression

openContinuousDynamicExpression: ContinuousDynamicExpression

Private openContinuousTempoExpression

openContinuousTempoExpression: ContinuousTempoExpression

Private openOctaveShift

openOctaveShift: OctaveShift

Private placement

placement: PlacementEnum

Private soundDynamic

soundDynamic: number

Private soundTempo

soundTempo: number

Private staffNumber

staffNumber: number

Methods

addOctaveShift

Private addWedge

  • addWedge(wedgeNode: IXmlElement, currentMeasureIndex: number): void

checkForOpenExpressions

Private checkIfWordsNodeIsRepetitionInstruction

  • checkIfWordsNodeIsRepetitionInstruction(inputString: string): boolean

Private closeOpenContinuousDynamic

  • closeOpenContinuousDynamic(): void

Private closeOpenContinuousTempo

  • closeOpenContinuousTempo(endTimestamp: Fraction): void

Private createExpressionFromString

  • createExpressionFromString(prefix: string, stringTrimmed: string, currentMeasure: SourceMeasure, inputString: string): boolean

Private createNewMultiExpressionIfNeeded

Private createNewTempoExpressionIfNeeded

  • createNewTempoExpressionIfNeeded(currentMeasure: SourceMeasure): void

Private fillMultiOrTempoExpression

  • fillMultiOrTempoExpression(inputString: string, currentMeasure: SourceMeasure): void

Private hasDigit

  • hasDigit(input: string): boolean

Private initialize

  • initialize(): void

Private interpretInstantaneousDynamics

  • interpretInstantaneousDynamics(dynamicsNode: IXmlElement, currentMeasure: SourceMeasure, inSourceMeasureCurrentFraction: Fraction, fromNotation: boolean): void

Private interpretWedge

Private interpretWords

read

readExpressionParameters

  • readExpressionParameters(xmlNode: IXmlElement, currentInstrument: Instrument, divisions: number, inSourceMeasureCurrentFraction: Fraction, inSourceMeasureFormerFraction: Fraction, currentMeasureIndex: number, ignoreDivisionsOffset: boolean): void

Private readExpressionPlacement

  • readExpressionPlacement(defAttr: IXmlAttribute, catchLogMessage: string): void

Generated using TypeDoc