lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with changePitch,


From: Stefan Thomas
Subject: problem with changePitch,
Date: Sat, 5 Dec 2009 16:03:46 +0100

Dear community,
I've got a problem with the changePitch function.
I expectedt to get the same rhythms in the first and second staff, but it doesn't work. I don't understand, what could be the reason for this!
Here is the snippet:
\version "2.12.2"
\include "changePitch.ly"
global = {
\time 4/8 s2
\time 3/8  s2.
\time 4/8 s2
\time 3/8  s2.
\time 4/8 s2
\time 3/8  s4.
}

goOn = { g'' 16 -. e'' ( fis'' ) gis'' -. g'' ( a'' ) | }

beginning = {
  r4 r8 e'' 16 e'' | a'' 16 d'' fis'' fis'' r8 |
  R4. R2 R2. R2
}

first = { \beginning
  \goOn }


second = {
  \changePitch \beginning {
    cis'' cis'' f'' bes' es'' es''
      s s
  }
  \changePitch \goOn {b' c'' d'' es'' e'' f'' }
}
\score {
  <<
        \new Staff { \context Voice << {\first } { \global }>>} 
          \new Staff { \context Voice << {\second } { \global }>>}
      >> }

reply via email to

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