lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Again : notes for toms and floortoms


From: lucifree
Subject: Again : notes for toms and floortoms
Date: Thu, 23 Apr 2009 18:17:22 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

Hi all,

This tip works very well for drums with something like
sn sn \tomNoteHeads tomh tommh toml \normalNoteHeads bd bd
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 tomh tommh toml bd bd

In fact, i could live with first possibility. The problem is when you want to do this :
sn < \tomNoteHeads tomh \normalNoteHeads bd > sn
there is a compilation error :(


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 address@hidden http://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

[Prev in Thread] Current Thread [Next in Thread]