The main method for the Calculator.
This method calculates Dashes for a LyricWord.
Re-adjust the x positioning of expressions.
This method calculates the RelativePosition of a single GraphicalContinuousDynamic.
Graphical continous dynamic to be calculated
Starting point in staff line
This method calculates the RelativePosition of a single GraphicalInstantaneousDynamicExpression.
Dynamic expression to be calculated
Starting point in staff line
This method calculates the RelativePosition of a single verbal GraphicalContinuousDynamic.
Graphical continous dynamic to be calculated
Starting point in staff line
Layouts the underscore line when a lyric entry is marked as extend
calculates the dashes of lyric words and the extending underscore lines of syllables sung on more than one note.
Iterate through all Measures and calculates the MeasureNumberLabels.
Calculates the x layout of the staff entries within the staff measures belonging to one source measure. All staff entries are x-aligned throughout all the measures.
The minimum required x width of the source measure
Calculate all the Mood and Unknown Expressions for a single [[MultiExpression]].
Store the newly computed [[Measure]]s in newly created MusicSystems.
This method calculates two Dashes for a LyricWord, positioned at the the two ends of the given distance.
This method calculates a single Dash for a LyricWord, positioned in the middle of the given distance.
This method calculates the dashes within the syllables of a LyricWord
This method calculates a single underscoreLine.
Calculate a single OctaveShift for a [[MultiExpression]].
Calculate a single Pedal for a [[MultiExpression]].
Calculate the Lyrics YPositions for a single StaffLine.
Calculates the desired stem direction depending on the number (or type) of voices. If more than one voice is there, the main voice (typically the first or upper voice) will get stem up direction. The others get stem down direction.
the voiceEntry for which the stem direction has to be calculated
Calculate all the textual RepetitionInstructions (e.g. dal segno) for a single SourceMeasure.
Delete all Objects that must be recalculated. If graphicalMusicSheet.reCalculate has been called, then this method will be called to reset or remove all flexible graphical music symbols (e.g. Ornaments, Lyrics, Slurs) graphicalMusicSheet will have MusicPages, they will have MusicSystems etc...
This method handles a StaffEntryLink.
Check if the tied graphical note belongs to any beams or tuplets and react accordingly.
Adds a technical instruction at the given staff entry.
Called for every source measure when generating the list of staff measures for it.
Calculate the shape (Bézier curve) for this tie.
Do layout on staff measures which only consist of a full rest.
Calculate a single GraphicalRepetition.
Build the 2D GraphicalMeasure list needed for the MusicSheetCalculator. Internally it creates GraphicalMeasures, GraphicalStaffEntry's and GraphicalNotes.
Sets a voiceEntry's stem direction to one already set in other notes in its beam, if it has one.
Generated using TypeDoc
Class used to do all the calculations in a MusicSheet, which in the end populates a GraphicalMusicSheet.