The main method for the Calculator.
Re-adjust the x positioning of expressions. Update the skyline afterwards
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
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 vertically aligned staff measures. This method is called within calculateXLayout. The staff entries are aligned with minimum needed x distances. The MinimumStaffEntriesWidth of every measure will be set - needed for system building. Prepares the VexFlow formatter for later formatting Does not calculate measure width from lyrics (which is called from MusicSheetCalculator)
the minimum required x width of the source measure (=list of staff measures)
Calculate all the Mood and Unknown Expressions for a single [[MultiExpression]].
Store the newly computed [[Measure]]s in newly created MusicSystems.
Calculate a single OctaveShift for a [[MultiExpression]].
Calculate a single Pedal for a [[MultiExpression]].
Calculate the Lyrics YPositions for a single StaffLine.
Calculate all the textual and symbolic 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...
Find the Index of the item of the array of all VexFlow Slurs that holds a specified slur
Finds the last staffline measure that has staffentries. (staffentries necessary for octaveshift and pedal)
Is called if a note is part of a beam.
a list of all currently open beams
This method handles a StaffEntryLink.
Check if the tied graphical note belongs to any beams or tuplets and react accordingly.
Is called if a note is part of a tuplet.
a list of all currently open tuplets
Add articulations to the given vexflow staff entry.
Add technical instructions to the given vexflow staff entry.
Is called at the begin of the method for creating the vertically aligned staff measures belonging to one source measure.
add here all given articulations to the VexFlowGraphicalStaffEntry and prepare them for rendering.
Calculate the shape (Bezier curve) for this tie.
Whether this tie is for a tab note (guitar tabulature)
Do layout on staff measures which only consist of a full rest.
Calculate a single GraphicalRepetition.
Do all layout calculations that have to be done per staff entry, like dots, ornaments, arpeggios.... This method is called after the voice entries are handled by layoutVoiceEntry().
Can be used to calculate articulations, stem directions, helper(ledger) lines, and overlapping note x-displacement. Is Excecuted per voice entry of a staff entry. After that layoutStaffEntry is called.
Build the 2D GraphicalMeasure list needed for the MusicSheetCalculator. Internally it creates GraphicalMeasures, GraphicalStaffEntry's and GraphicalNotes.
Generated using TypeDoc
space needed for a dash for lyrics spacing, calculated once