troubles with time change

2007-10-24 Thread Herbert Liechti
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
  }

   }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: troubles with time change

2007-10-24 Thread Eyolf Østrem
On 24.10.2007 (10:33), Herbert Liechti wrote:
 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

It complains because you have a different number of full measures in
the two voices: eight full 4/4 measures after the repeat in the tuba
part, and seven in the chords part. Thus, the time change that you
have indicated in the chords, fall in the middle of the last full tuba
measure. 
BTw, you don't have to indicate time changes in both parts; unless you
specify differently, a change in one will apply to the whole score.

Eyolf

-- 
Emotional Ketchup Burst:
The bottling up of opinions and emotions inside oneself so
that they explosively burst forth all at once, shocking and confusing
employers and friends -- most of whom thought things were fine.
-- Douglas Coupland, Generation X: Tales for an Accelerated
   Culture


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: troubles with time change

2007-10-24 Thread Herbert Liechti
Eyolf Østrem schrieb:
 It complains because you have a different number of full measures in
 the two voices: eight full 4/4 measures after the repeat in the tuba
 part, and seven in the chords part. Thus, the time change that you
 have indicated in the chords, fall in the middle of the last full tuba
 measure. 
   
Thanks for your help. I was searching on the wrong place.
Sorry for the circumstances.

Best Regards
Herbie

 BTw, you don't have to indicate time changes in both parts; unless you
 specify differently, a change in one will apply to the whole score.
   
ok ;-)

-- 
[EMAIL PROTECTED],   ThinX AG,  Poststrasse 2,  CH-4500 Solothurn
Tel +41 (0)32 623 81 66, Mobile +41 (0)76 334 81 66, http://www.thinx.ch




___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user