On 2/5/19, N. Andrew Walsh <[email protected]> wrote:
> A question: is there a way to get the stem_engraver to accept these glyphs?

Well, of course you can always replace the NoteHead stencil with a markup:

%%%%%%%%%%

mufflePath=
\markup
\path #0.15 #'((moveto -1.25 0)
                (lineto 1.25 0)
                (moveto 0 -1.25)
                (lineto 0 1.25))

muffleMarkup=
\markup \translate #'(0 . 1)
\combine \mufflePath
\draw-circle #1 #0.15 ##f

muffleHead =
\once \override NoteHead.stencil =
  #(lambda (grob)
     (ly:stencil-translate
      (grob-interpret-markup grob muffleMarkup)
     '(0 . -.8)))

{ g'8 \muffleHead g' a' b' }

%%%%%

Cheers,
V.

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to