-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdrawclefsdata.py
23 lines (19 loc) · 1020 Bytes
/
drawclefsdata.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
header = """%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Draw Clefs
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\markup {{ {boldfont} {{ Drawing Clefs }}}}
\markup {{ {font} {{ Draw the following clef(s) {number} times. }}}}
"""
clefone = """{{ \\nobarline \\notimesig \\noclefresize
\clef {clef} s4
{key} \set Staff.forceClef = ##t \override Staff.Clef #'color = #(rgb-color 1.0 0.0 0.0) \clef {clef} s4
{key} \set Staff.forceClef = ##t \clef {clef} s4
{key} \set Staff.forceClef = ##t \clef {clef} s4 \\noBreak
{key} \set Staff.forceClef = ##t \clef {clef} \stopStaff s4
"""
cleftwo = """{startstaff} \set Staff.forceClef = ##t \\revert Staff.Clef #'color {hideclef}\clef {clef} s4
{key} \set Staff.forceClef = ##t \override Staff.Clef #'color = #(rgb-color 1.0 0.0 0.0) \clef {clef} s4
{key} \set Staff.forceClef = ##t \clef {clef} s4 \\noBreak
{key} \set Staff.forceClef = ##t \clef {clef} s4
{key} \set Staff.forceClef = ##t \clef {clef} }}
"""