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 }>>}
      >> }
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to