lilypond-user
[Top][All Lists]
Advanced

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

troubles with time change


From: Herbert Liechti
Subject: troubles with time change
Date: Wed, 24 Oct 2007 10:33:17 +0200
User-agent: Thunderbird 2.0.0.6 (X11/20071022)

Hello all

I'm in troubles with a time change from 4/4 to 2/4.
   
   d8. c16 ~ c8 a r2    |
    \time 2/4 r2 \time 4/4  |

The compiler always complains:

 sample.ly:29:32: warning: barcheck failed at: 1/2
           d8. c16 ~ c8 a r2

I attach a the score. Hope
that someone can help me. I used this in other
scores without problems.

Thanks for your help and best regards
Herbert

\version "2.11.34"
\paper{ 
    ragged-bottom = ##t
    printallheaders=##t
}

cstimme =  {
    \key a \minor
    \time 4/4
    \relative c'' { 
      \repeat volta 2 {
           r4 e4 d8 c16 e ~ e8 d |
           r4 c8 c e e f f |
           g c,16 c r2 f8. e16 ~ |
           e8 g ~ g4 r2 |
      }

           r4 a,8 a g4 e8 g |
           a8. e16 ~ e4 r4. e8 |
           a a4 a8 g4 g |
           e r4 r4. e8 |
           a8 a a a g8. e16 ~ e8 g |
           g4 a r4. e16 e |
           f8 f f a g ~ e d8. e16 ~ |
           e4 r4 r4. d16 e |
           f4 f8 a g e d4 |
           c8 a r4 r8 e' g a |
           a8. g16 ~ g8 e ~ e d c e |
           d8. c16 ~ c8 a r2    |
           \time 2/4 r2 \time 4/4  |
   }
}

harmonies = \chordmode {
    \repeat volta 2 {
       a1:m | d:m   | a:m       | a:m  |
    }

       f2  e:m | a1:m  | f2  e:m | a1:m  | 
       f2  e:m | a1:m  | f2  e:m | a1:m  | 
       f2  e:m | a1:m  | r1   | \time 2/4      r2 \time 4/4  |
}

klingend =  {
   \set Staff.instrumentName = "klingend"
    \clef treble
    \cstimme
}
     
\book {
   \header {
      breakbefore = ##t
       title = "I shot the Sheriff"
       composer ="Bob Marley"
       footer = "Trombone, Tuba"    
       arranger = \markup { \tiny {"Arr. Herbie Liechti"}}
   }
   \pageBreak
   \score {
      %% Klingende Stimme
      <<
              \new ChordNames {
                 \set chordChanges = ##t
                 \harmonies
              }
             \new Staff \klingend
      >>
      \layout { 
           papersize = "a4"
      }

   }
}

reply via email to

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