Available Classes
arrow_drop_down
Check the various classes to see how they are applied to the music. (They are AND'd together.)
check_box_outline_blank
check_box_outline_blank
The classes are interpreted like this:
| Class | Meaning |
|---|---|
| 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 });