Hi all, This tip works very well for drums with something like But I wanted to relaunch this thread since there is still an opened question : how to make the stencil always associated to some notes ? For example i'd like to put something on top of my .ly file (in my custom drumPitchNames / mydrums section for example), and just having to use after :sn sn \tomNoteHeads tomh tommh toml \normalNoteHeads bd bd sn sn tomh tommh toml bd bd In fact, i could live with first possibility. The problem is when you want to do this : there is a compilation error :(sn < \tomNoteHeads tomh \normalNoteHeads bd > sn Does an expert have the solution, at least to pb #2 ? Thanks a lot, L. Mark Polesky a écrit : Herman wrote:... an open circle with a line through it. ... I looked in lilypond if this symbol is available, but I coudn't find it. Is there a way to generate it?Yes. Using scheme and postscript, you can generate your own stencil and substitute your stencil in place of the default notehead (see the attached file). \override NoteHead #'stencil = #circSlashStil Although to be honest, I don't know how to make this work in drummode, which (obviously) is a requirement. After glancing at the docs (NR 2.5.1)... http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Common-notation-for-percussion#Custom-percussion-staves ... it looks likeDrumStaff.drumStyleTable expects glyph-names, and I don't know how to make a glyph- name for my stencil. Does anyone know? I think I've done the hardest part, coding the stencil, and the last step ought to be trivial. I just can't figure it out. - Mark |
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user