Han-Wen Nienhuys wrote:

> can you check whether this function works for you?

Nope, same result (apart from the corrected stem attachment, ofcourse).
Seems like the override/revert somehow goes wrong.
I cannot understand what happens - the drum scheme functions do not 
change the 'molecule-callback ...

Try to compile

\include "drumpitch-init.ly"
\score {
     \apply #(drums->paper 'drums)
     \notes { \clef percussion
             bd sn
             \property Staff.NoteHead \override #'molecule-callback
             =
             #(parenthesize-callback Note_head::brew_molecule)
             bd-"()" sn-"()" | hhho-"()" hh-"()"
             \property Staff.NoteHead \revert #'molecule-callback
             hh sn
         }

     \paper { linewidth = -1 }
}


(parenthesize-callback left out).
I get parens around all the non-default-noteheads instead of the 4 
middle ones.

-Rune



_______________________________________________
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to