|
From: | Jacques Menu |
Subject: | Re: How to indicate a set of measures should not be played? |
Date: | Thu, 19 Jun 2014 21:48:26 +0200 |
Hello everybody, It’s impressing how LP offers various angles to tackle my basic problem, thanks to all who answered. The solution that best fits my needs it the one proposed by David: the original music that is not to be played is placed in a « new Voice » , and zigzags are used to overwrite it in a very explicit manner, leading to the attached result in my case. I didn’t find an equivalent of a MultiRest.color property, they show up in black, maybe that exists under some other name? JM %%%%%%%%%%% \version "2.18.2"\new Staff { \clef "bass" << \new Voice % the music to be printed but not played { \temporary\override NoteHead.color = #(rgb-color 0.5 0.5 0.5) \temporary\override Rest.color = #(rgb-color 0.5 0.5 0.5) c,8 \mf ( [ es8 as8 -> c,8 ] es8 [ as8 -> c,8 es8 ] | % 86 as8 -> [ c,8 es8 as8 ~ -> ] as4 ) r4 | % 87 c,8 ( [ es8 as8 -> c,8 ] es8 [ as8 -> c,8 es8 ] | % 88 as8 -> [ c,8 es8 as8 ~ -> ] as4 ) r4 | % 89 des,8 \mp ( -> [ f8 as8 -> des,8 ] f8 [ as8 -> des,8 f8 ] | \barNumberCheck #90 as8 -> [ des,8 f8 as8 ~ -> ] as4 ) r4 | % 91 c,8 ( [ es8 as8 -> c,8 ] es8 [ as8 -> c,8 es8 ] | % 92 as8 -> [ c,8 es8 as8 ~ -> ] as4 ) r4 es8 \p ( [ g8 bes8 -> es,8 ] g8 [ bes8 -> es,8 g8 ] | % 94 bes8 -> [ es,8 g8 bes8 ~ -> ] bes8 ) r8 r4 | % 95 R1*4 \bar "||" | % 99 \revert Rest.color \revert NoteHead.color } \new Voice % the zigzags to explicit that the above should not be played { \repeat unfold 14 { s4-\tweak outside-staff-priority ##f \tweak dash-fraction 1 \tweak thickness 3 \tweak direction #CENTER \tweak style #'zigzag \tweak zigzag-length #2 \tweak zigzag-width 4 \startTextSpan s4 s4 s4\stopTextSpan } } >> } %%%%%%%%%%% Le 19 juin 2014 à 21:02, Thomas Morley <address@hidden> a écrit : 2014-06-19 20:49 GMT+02:00 Thomas Morley <address@hidden>:2014-06-19 19:52 GMT+02:00 Thomas Morley <address@hidden>:2014-06-19 19:38 GMT+02:00 David Kastrup <address@hidden>:Thomas Morley <address@hidden> writes:Can't confirm Marc's and Werner's observations. |
[Prev in Thread] | Current Thread | [Next in Thread] |