[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: change Pitch, strange behavior
From: |
Alexander Kobel |
Subject: |
Re: change Pitch, strange behavior |
Date: |
Fri, 27 Nov 2009 10:24:47 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
Stefan Thomas wrote:
Dear Alexander,
look at the attached jpg-file. In my opinion the quarter-rests look strange!
Ugh. Okay, admitted.
But... it's nothing to do with \changePitch. Remove this command, and
the result looks the same.
Worse, if you add spacer rests in the second voice, no rests will be
drawn at all; seems like a variant of
http://code.google.com/p/lilypond/issues/detail?id=261.
Let's face it, \partcombine sucks. I quit using it long ago, since the
trouble compared to writing a simple << {} {} >> and spacer rests in the
second part is just not worth it, IMHO.
Alas, it'd be great if it worked, though.
Valentin, if you did not gave up on \partcombine yet, feel free to add
another bug: \partcombine (also) sucks if the user tries to force it to
deal with music extracts of different lengths.
Stefan, in your case, however, there's an easy workaround: append "s s"
onto "unten", and the \changePitch result will be enlarged by the two
rests. For some reason I did not investigate further, appending "r r"
does not work, but IIRC changePitch intentionally ignores rests in one
argument - after all, it should replace pitches, and rests don't have any.
Cheers,
Alexander
\include "changePitch.ily"
oben = { e''' 4. g''' gis'''4 g'''4. r r4 | }
untenI = { g''4. bes'' c'''4 es'''4. }
untenII = { g''4. bes'' c'''4 es'''4. r r4 | }
untenIII = { g''4. bes'' c'''4 es'''4. s s4 | }
\new Staff { R1 \partcombine \oben \untenI \bar "||"
R1 \partcombine \oben { \changePitch \oben \untenI } }
\new Staff { R1 \partcombine \oben \untenII \bar "||"
R1 \partcombine \oben { \changePitch \oben \untenII } }
\new Staff { R1 \partcombine \oben \untenIII \bar "||"
R1 \partcombine \oben { \changePitch \oben \untenIII } }
- Re: change Pitch, strange behavior,
Alexander Kobel <=