An InstrumentReader is used during the reading phase to keep parsing new measures from the MusicXML file with the readNextXmlMeasure method.
Add (the three basic) Notation Instructions to a list
Create the default ClefInstruction for the given staff index.
Parse a color in XML format. Can be #ARGB or #RGB format, colors as byte hex values.
color in Vexflow format #[A]RGB or undefined for invalid xmlColorString
Calculate the divisions value from the type and duration of the first MeasureNote that makes sense (meaning itself hasn't any errors and it doesn't belong to a Tuplet).
Save the current AbstractInstructions to the corresponding [[StaffEntry]]s.
Save any ClefInstruction given - exceptionally - at the end of the currentMeasure.
Generated using TypeDoc