Note mapping example - shape notes

%abc-2.2
%%musicfont url(../js/abc2svg.ttf)
%%pagewidth 12cm
%%rightmargin 0.8cm
%%leftmargin 0.8cm
%%topspace 0

% glyph definition - works with abc2svg and abcm2ps

%%beginsvg
<defs>
<path id="fablup" d="m-3.5 -2.9l7.2 0 0 5.8z" class="fill"/>
<path id="fablupo" d="m-3.5 -2.9l7.2 0 0 5.8z" class="stroke" style="stroke-width:1.4"/>
<path id="fabldn" d="m-3.5 -2.9l7.2 5.8 -7.2 0z" class="fill"/>
<path id="fabldno" d="m-3.5 -2.9l7.2 5.8 -7.2 0z" class="stroke" style="stroke-width:1.4"/>
<path id="labl" d="m-3.5 2.9l0 -5.8 7.2 0 0 5.8z" class="fill"/>
<path id="lablo" d="m-3.5 2.9l0 -5.8 7.2 0 0 5.8z" class="stroke" style="stroke-width:1.4"/>
<path id="mibl" d="m0 3l-3.7 -3.2 3.7 -3.2 3.7 3.2z" class="fill"/>
<path id="miblo" d="m0 3l-3.7 -3.2 3.7 -3.2 3.7 3.2z" class="stroke" style="stroke-width:1.4"/>
</defs>
%%endsvg


X:1
T:Shape notes
M:4/4
L:1/4
%
%%map shape key,C heads=fablup/fabldn,fablupo/fabldno
%%map shape key,E heads=labl,lablo
%%map shape key,F heads=fablup/fabldn,fablupo/fabldno
%%map shape key,A heads=labl,lablo
%%map shape key,B heads=mibl,miblo
%
%%voicemap shape
%
%%pagescale 1.5
K:C
"C"CDEF | GABc |
K:D
"D"CDEF | GABc |
K:Am
"Am"CDEF | GABc |
K:C
"C"C2D2 | E2F2 | G2A2 | B2c2 |

Shape notes  C  D  Am  C

abc2svg documentation source author - page hosted by Free