OptionalcolorsOptionalcolumnHow wide a column of notes is, in staff spaces (default: 3.4): narrower for a long run of notes, such as a scale, so it is drawn larger where the line is short
OptionalcountA count written up (or down) the staff in a column after the notes: one
small label at every line and space from one position to another — the
letters there unless labels are given — the last in the right colour,
to count from a landmark to a note
OptionalhighestThe highest position a note can be put (default: 10, the first ledger line above)
OptionalkeyA key signature after the clef: sharps (positive) or flats (negative), up to seven
OptionalkeySharps or flats of the key signature to pick out, counted from the first written (0)
OptionallabelsOptionallowestThe lowest position a note can be put (default: −2, the first ledger line below)
OptionalmarkThe line a position sits on, or the space it sits in, picked out in the right colour
OptionalmaxThe most height the staff takes, as CSS; it shrinks to fit, keeping its shape
OptionalminRoom for at least this many columns of notes, so a staff with one note is no wider than one with three (default: 1)
OptionalonCalled when a note is put somewhere, with the note's MIDI number — to sound it
OptionalonA note was put somewhere: tapped into place, dragged there, or moved with the arrow keys. Without this the staff only shows its notes.
OptionalreadNothing can be moved
OptionalshowWrite each slot's label under it (default: true); a column with a long label, or with a sharp or flat, is drawn wider so nothing touches
The slots, left to right; one note each
OptionalslursSlurs, each the columns of its first and last note: a curve over (or under) the notes between, on the side away from their stems
OptionalspacingPixels per staff space (default: 14)
OptionalsxOptionaltiesColumns whose note is tied to the same note in the next column, counted from 0
Props for
InteractiveStaff.