|
From: | Auto mailings of changes to Lily Issues via Testlilyissues-auto |
Subject: | [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5377 improvisationOn doesn’t work in DrumStaff with altered drumStyleTable |
Date: | Tue, 10 Jul 2018 22:32:18 -0000 |
IMHO, this is no bug but expected behaviour:
\improvisationOn will set NoteHead.style = #'slash.
So far, so good.
As soon the custom drumStyleTable contains an explicit NoteHead.style (such as #'default or #'cross), the #'slash preset by \improvisationOn will be overwritten again.
The standard drumStyleTable definitions don't use #'default but () so that these instruments won't override the #'slash set by \improvisationOn. #f instead of () will also work:
\version "2.19.82" #(define mydrums '((snare () #f 1))) \score { \new DrumStaff \with { drumStyleTable = #(alist->hash-table mydrums) } \new DrumVoice \drummode { sn4 sn4 sn4 sn4 \improvisationOn sn4 sn4 sn4 sn4 } }
If the modified custom drumStyleTable uses () instead of default, just like in the standard defintions, even custom drumStyleTable definitions will work exactly like the standard.
All the best,
Torsten
Attachments:
[issues:#5377] improvisationOn doesn’t work in DrumStaff with altered drumStyleTable
Status: Accepted
Created: Tue Jul 10, 2018 09:59 PM UTC by Simon Albrecht
Last Updated: Tue Jul 10, 2018 09:59 PM UTC
Owner: nobody
Attachments:
As reported by Robert Schmaus in this thread, after modifying drumStyleTable
\improvisationOn
won’t affect any pitches modified through the style table:
\version "2.19.82" #(define mydrums '((snare default #f 1))) \score { \new DrumStaff \with { drumStyleTable = #(alist->hash-table mydrums) } \new DrumVoice \drummode { sn4 sn4 sn4 sn4 \improvisationOn sn4 sn4 sn4 sn4 } }
(output attached)
Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Testlilyissues-auto mailing list address@hidden https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
[Prev in Thread] | Current Thread | [Next in Thread] |