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-25 the duration (replace dash with period)
l0 the line number (zero-based)
m0 the measure number from start of line (zero-based)
n0 the note number from start of measure (zero-based)
p0 the y-position (pitch) (middle C = zero)
v0 the voice number (zero-based)
Output
JavaScript
import abcjs from 'abcjs'; abcjs.renderAbc("paper", abcString, { add_classes: true });