Simon, David and Thorsten,
Thanks for your replies!
I just finished my score with the workaround, but of course Thorsten's
would have been the easier way. However, if I understand this correctly,
this will only work if one doesn't customise the notehead itself, right?
So, maybe this could be included in the documentation - I'll try to do
that the next days and send it to ... well, I'll find that out, too.
Thanks again everyone!
Good Night,
Robert
Am 11.07.18 um 00:22 schrieb Torsten Hämmerle:
Robert Schmaus wrote
The improvisation switch works well if one comments out the \set ... line.
Hi Robert,
You won't believe it, but everything works "as expected":
\improvisationOn actually does set the NoteHead.style to #'slash, but in
your custom case, this #'slash will be overwritten again by your #'default
value (snare and bassdrum), and thus a standard notehead will be displayed.
Using standard drum definitions, the HiHat notehead (a cross) won't be
replaced by a slash, either.
*Solution:*
If you replace default by () or #f in your custom definition, everything
will work as with the standard definitions, because your custom definition
will not override the #'slash notehead style set by \improvisationOn any
more:
#(define mydrums '(
(bassdrum () #f -3)
(snare () #f 1)
(hihat cross #f 1)
))
The original definitions use () instead of default, that's why it works
there.
Every explicitly set style in the definitions will rule out the #'slash of
\improvisationOn.
HTH,
Torsten
--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user