Global factor / scale by which all measure widths will be scaled. (e.g. 0.7 = all measures are only 70% as long) This is similar to SourceMeasure.widthFactor, which only applies to one measure and is multiplicative to the global factor. (so if globalWidthFactor is 0.7 and measure.widthFactor is 0.7, that measure's length will be 49% as long) As with measure.widthFactor, use this with caution, as it can cause overlaps, especially with lyrics.
The parts in the sheet, e.g. piano left hand, or piano right hand, or violin.
Sets the number of halftones for transposition. E.g. +1 halftone will transpose Eb major to E major. also see Instrument.Transpose (e.g. osmd.Sheet.Instruments[0].Transpose will additionally transpose this instrument only) osmd.TransposeCaculator needs to be defined/created for this to take effect. (just set it with new TransposeCalculator())
Returns the first SourceMeasure of MusicSheet.
Returns the last SourceMeasure of MusicSheet.
Return a sourceMeasureList, where the given indices correspond to the whole SourceMeasureList of the MusicSheet.
Returns the next SourceMeasure from a given SourceMeasure.
Return the Repetition from the given index.
Works only if the SourceMeasures are already filled with VerticalStaffEntryContainers!
The global staff index, iterating through all staves of all instruments.
Set to the index-given Repetition a new (set from user) value.
Get the global index within the music sheet for this staff.
Generated using TypeDoc
This is the representation of a complete piece of sheet music. It includes the contents of a MusicXML file after the reading. Notes: the musicsheet might not need the Rules, e.g. in the testframework. The EngravingRules Constructor fails when no FontInfo exists, which needs a TextMeasurer