Available Classes

Check the various classes to see how they are applied to the music. (They are AND'd together.)

The classes are interpreted like this:

ClassMeaning
d0-25the duration (replace dash with period)
l0the line number (zero-based)
m0the measure number from start of line (zero-based)
n0the note number from start of measure (zero-based)
p0the y-position (pitch) (middle C = zero)
v0the voice number (zero-based)
Output
JavaScript
import abcjs from 'abcjs'; abcjs.renderAbc("paper", abcString, { add_classes: true });