ich habe mal mit diesem Vorbild:
https://archiv.lilypondforum.de/index.php?topic=989.msg5529#msg5529 mit Postscript ein Griffschrift-Kreuz entworfen:
x = {
\once \override NoteHead #'stencil = #ly:text-interface::print
\once \override NoteHead #'text = \markup
\postscript
#"
0.08 setlinewidth
-0.1 -0.5 moveto
-0.3 -0.5 lineto
-1.1 0.3 lineto
-1.1 0.5 lineto
-0.9 0.5 lineto
-0.1 -0.3 lineto
closepath
-0.1 0.5 moveto
-0.3 0.5 lineto
-1.1 -0.3 lineto
-1.1 -0.5 lineto
-0.9 -0.5 lineto
-0.1 0.3 lineto
closepath
fill
"
}
y = {
\once \override NoteHead #'stencil = #ly:text-interface::print
\once \override NoteHead #'text = \markup
\postscript
#"
0.08 setlinewidth
-0.1 -0.5 moveto
-0.3 -0.5 lineto
-1.1 0.3 lineto
-1.1 0.5 lineto
-0.9 0.5 lineto
-0.1 -0.3 lineto
closepath
-0.1 0.5 moveto
-0.3 0.5 lineto
-1.1 -0.3 lineto
-1.1 -0.5 lineto
-0.9 -0.5 lineto
-0.1 0.3 lineto
closepath
stroke
"
}
z = {
\once \override NoteHead #'stencil = #ly:text-interface::print
\once \override NoteHead #'text = \markup
\postscript
#"
0.1 -0.5 moveto
0.3 -0.5 lineto
1.1 0.3 lineto
1.1 0.5 lineto
0.9 0.5 lineto
0.1 -0.3 lineto
0.1 -0.5 lineto
0.1 0.5 moveto
0.3 0.5 lineto
1.1 -0.3 lineto
1.1 -0.5 lineto
0.9 -0.5 lineto
0.1 0.3 lineto
0.1 0.5 lineto
stroke
"
}
\relative c
{
\y c'2 \x d4 \x e \x f \z b2
c2 d4 e
}
Mir gefällt es noch nicht ganz, aber bevor ich es verschönere habe ich noch drei Probleme:
Kann man es erreichen, dass lilypond von selbst
- Hilfslinien reinmacht? (Im Beispiel fehlt sie beim eingestrichenen c)
- die Notenköpfe rechts oder links an den Hals setzt, so wie es üblich ist?
- den nicht ausgemalten Kopf verwendet, wenn man halbe Noten (oder länger) schreibt?
Es wäre schön, wenn mir jemand Ideen schreibt