Thanx Thomas,

And thanx also for your snippet. I have already tried it and works marvelously.
But concerning customizing new note heads i think checking the code itself 
seems necessary.
Do you know if define-grobs.scm is a good place to start with ?


Thx again
K

On Tue, Apr 03, 2018 at 03:26:55PM +0200, Thomas Morley wrote:
> 2018-04-03 2:25 GMT+02:00 Karim Haddad <karim.had...@ircam.fr>:
> > Hi,
> >
> >
> > Just trying to figure out if this is possible :
> >
> > When defining  a drum instrument with this expression:
> >
> >
> > #(define mydrums '(
> >          (bassdrum        default   #f           -1)
> >          (snare           default   #f           0)
> >          (hihat           cross     #f           1)
> >          (halfopenhihat   cross     "halfopen"   1)
> >          (pedalhihat      xcircle   "stopped"    2)
> >          (lowtom          diamond   #f           3)))
> >
> > Is there a way to define a very custom notehead in the 2nd argumrnt of the 
> > list such as any other glyph not being a notehead, like per example a pedal 
> > glyph (pedal.*)
> > or any other glyph or even eps ?
> >
> > I have searched (maybe not too thouroughly) trying to figure this out. Any 
> > help or idea will be just great. this will prevent me to use an override 
> > NoteHead.stencil tweak for every note.
> >
> > Best
> >
> > --
> > Karim Haddad
> 
> Hi,
> 
> in
> http://lsr.di.unimi.it/LSR/Item?id=1033
> I tried to explain thoroughly how to customize drums-appearance.
> Probably some general help...
> 
> It should be clear then that the list-argument in question is a 
> note-head-style.
> Ofcourse only estabished styles will work.
> 
> Not sure if it might possible to define a custom style and let the
> stencil-procedure rely on it.
> (And not the time yet to try.)
> 
> 
> Cheers,
>   Harm

-- 
Karim Haddad



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to