lilypond-user
[Top][All Lists]
Advanced

[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: Sat, 28 Nov 2009 20:17:48 +0100
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Valentin Villenave wrote:
2009/11/27 Alexander Kobel <address@hidden>:
But... it's nothing to do with \changePitch. Remove this command, and the
result looks the same.

I disagree (see below).
Hey, but I disagree, too (see below)! *squeak* ;-)

The reason why the rests "look strange" is
that the change Pitch gives them a different "pitch" and therefore
affects their vertical placement.
Nope. Look at the first staff of the attached snippet. There, the first argument is running out of notes, and the rests stay on top. No matter if \changePitch was used or not.

Gilles, perhaps it might be worth
adding a filter to leave rests alone?
Well, something actually goes wrong there; which seems to be the case when both voices have rests at the same positions. Did not dig into it, but see for yourself in the second staff of the snippet. Uhm, by the way: Do we have the same version of \changePitch? I use the one Stefan linked in his initial mail on this subject, which seems to be the most recent one. Right?
  http://lists.gnu.org/archive/html/lilypond-user/2009-11/msg00556.html

I'm not gonna add a new issue named "\partcombine sucks" -- we already
know it does :)
+1.

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.
Does it? The following snippet looks fine to me:
{
  c'1
  \partcombine { d' d' d' d' } { d' c' c' }
  c'
}

Well, admitted. Here you have a point. Let's say,
  ln -s /dev/null /usr/share/lilypond/bugs/partcombine
echo "\partcombine (also) sucks (at least) if it's given an input ending in a rest and a shorter second argument." >> /usr/share/lilypond/bugs/partcombine See the last staff, with r instead of d in the last quarter of the first argument your example.


So, and now off I go, to a brithday party, and work on changing my very own pitch.

Cheers,
Alexander

PNG image

\include "changePitch.ily"

oben        = { e''' 4. g'''  gis'''4 g'''4. r r4 | }
obenNoRests = { e''' 4. g'''  gis'''4 g'''4. g''' g'''4 | }
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 \obenNoRests \untenI \bar "||"
             R1 \partcombine \oben { \changePitch \oben \untenI } }
\new Staff { R1 \partcombine \oben \untenII \bar "||"
             R1 \partcombine \obenNoRests \untenII \bar "||"
             R1 \partcombine \oben { \changePitch \oben \untenII } }
\new Staff { R1 \partcombine \oben \untenIII \bar "||"
             R1 \partcombine \obenNoRests \untenIII \bar "||"
             R1 \partcombine \oben { \changePitch \oben \untenIII } }

\partcombine { d' d' d' r } { d' c' c' }

reply via email to

[Prev in Thread] Current Thread [Next in Thread]