[Top][All Lists]

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

Re: using \break doesn't work or at least not as I expect

From: Jay Hamilton, Sound and Silence
Subject: Re: using \break doesn't work or at least not as I expect
Date: Mon, 08 Aug 2005 12:08:23 -0700
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

So this could be a flaw in the 2.6.1 version I am using?

I am always reluctant to get on the new version merry-go round as, at least with other software, it seems never ending and I just want to get work done.
And upgrading is not straightforward or easy or
Also as this 'bug' was never announced as such, there seemed to be no reason as the 'fixes' were not to things I use or do.

So- I see that there is now a 2.6.3


Mats Bengtsson wrote:

Strange! I just tried your original file again with LilyPond 2.6.2 and

GNU LilyPond 2.6.2
Processing `/tmp/'
Interpreting music... [8]
/tmp/ warning: already have a beam
\times 2/3 {b16 [e, g} \times 2/3 {b16 gis e
                                            [} c8 f4. c8 b'
/tmp/ warning: stem doesn't fit in beam
\times 2/3 {b16 [e, g} \times 2/3 {b16 gis e[} c8
                                                  f4. c8 b'
/tmp/ warning: beam was started here
\times 2/3 {b16
                [e, g} \times 2/3 {b16 gis e[} c8 f4. c8 b'
/tmp/ warning: stem doesn't fit in beam

ais4 gis16 f gis8 f16 e8.


Jay Hamilton, Sound and Silence wrote:

Thank you. The problem then, in this case, was that I never got a beam or any other mistake message/warning. In fact, when I couldn't solve the problem I gave up with the different time signatures in the problem (meaning hard to read) area and switched them both to 5/4. I still never got printing warnings. And I did do barline checks but as you discovered there is no information that is useful that can be gleaned from them in this kind of score. I just changed the bracket to the correct one *and* changed most of the time signatures back *and* put breaks where they needed to be (using the pdf output- which I believe is the only way to check for barline connections in this kind of score). With your help it's beautiful, playable, readable and closer to what I intended.

So is this a bug? Since I never received any printout/beam warnings of any kind?

Mats Bengtsson wrote:

My best hints for finding these kinds of errors is to
try to reduce the complex score into something simpler
that shows the same problem. In your case, I quickly
found out that the problem remained if I only kept \two
in the score (and even without the redefined \context
definitions). Then, I tried to insert some bar checks
to verify that the bar lines were at the correct places
(unfortunately the bar checks don't give any sensible
information when you have the full score with different
time signatures in the different staves).

With your score, the bar checks didn't show anything wrong
(maybe you had already tried it) so I got suspicious about
the warning printouts about beams. It turned out that the
culprit was a miswritten beam ending at line 81 in your file:
\times 2/3 {b16 [e, g} \times 2/3 {b16 gis e[} c8 f4. c8 b'
which should be
\times 2/3 {b16 [e, g} \times 2/3 {b16 gis e]}  c8 f4. c8 b'

I think what happened was that LilyPond will not introduce any
line breaks when there is a beam.


Jay Hamilton, Sound and Silence wrote:

I looked it up and think that as long as the
\break is at a barline it will produce a line break
however ...
I realize that this score is 'odd' but the \break (s) are at common barlines for the two staves however that doesn't seem to work so the pdf output doesn't really work either.
\version "2.6.0"
\header {
 title = "Jat 6"
 composer = "Jay Hamilton"
 subtitle = "suite for two alternating instruments"
 copyright = "CC some rights reserved Jay Hamilton 2005"

one =  \relative c'
\clef treble
\key c \major
\time 5/4
#(set-global-staff-size 19)
\tempo 4=90

e4 b' gis ais e b' ais b c e c2 b4 ais b c gis gis e2 c8 e f e gis e c f e4 r1 r4 e8 b' c b ais16 b c8 b e,4. ais4 ais gis ais b e, ais8 ais gis f e2 r1 r4
 %page 1
c'8 f, b c b e, c' b ais4 ais gis gis ais2 b4 e, f ais2 c8 e c e b e b e,4. f8 c' f, c' b4 e, c f8 c' f, c' b e, f c'4. f,8 c'4 e8 b gis e b' ais4 f8 f e f c8 b ais f'4. e8 e c e c4 ais gis' c,8 b b'4 c b ais gis2. r2 c4 b f2.
 %page 2
e8 gis4. ~ gis2. f8 gis4 b8 c4 e8 c e4 f2. r2 gis8 f16 e c2 gis'8 f16 e c b c8
 b16 ais gis e f gis f8 e16 f e8 f2
 f'16 e c b ~ b8 ais16 b ~ b8 f'16 e c b gis gis ais f8.
 f'16 e c b ~ b8 ais16 b ~ b8 f'16 e c b gis gis ais f8.
e16 f8 e16 gis4 e16 f8 e16 f4 ais f'16 e c b ~ b8 ais16 b ~ b8 f'16 e c b
 gis 16 gis ais f8. e16 f e c ~ c b c8 ~ c4 b16 c f ais gis e f c
 %page 3
 ais4 b16 c f e gis ais f e c' b e b gis4 f16 gis f ais f gis f e c f
ais16 gis c e b c ais4 gis16 f ais f b4 c16 b e c f e c b e,4 c2 f16 e f8 ~ f2
r1 r4 c' c c c r f, f f e2 r1 r4 b' b b e2
%page 4
r1 r4 f2 c ais8 gis ~ gis1 r4 c,8 e f4 r gis8 ais b4 r c2 f,8 ais4.
gis8. e16 f4 b, c2 r1 r4 \times 2/3 {f8 (e f)} \times 2/3 {ais8 (gis ais)} \times 2/3 {c,8 (b c)} \times 2/3 {b'8 (ais b ~ )} \times 2/3 {b8 (ais b)} \times 2/3 {c8 (b c)} \times 2/3 {ais8 (gis ais)} \times 2/3 {gis8 (f gis)}
\times 2/3 {f8 (e f)} \times 2/3 {e8 (c e)}
%page 5
\times 2/3 {e8 (c e)} \times 2/3 {f8 (b, f')} \times 2/3 {gis8 (c, ais')} b4 \fermata f' \fermata c1 ~ c4 f b c,2 f4 f b c e,2 e'4. c4. gis f8 ~ f2 \times 2/3 {e8 c e} c2 \times 2/3 {b8 (c b)} e,2 \times 2/3 {f8 (ais f)} gis8 [c f,] e8. f gis4 c,2
r1 r4 gis' f ais e b' c, b c'2. ais'4 \ppp gis f2.
\bar "||"
two = \relative c'
\clef treble
\key c \major
\time 3/4
c4 r2 ais4 r2 ais4 r2 e'4 r2 b4 r2 c4 r2 e4 c2 f4 r2 e4 c f e f c' b f e f ais4 b c c, f e f c' ais gis c f e c b c2 b,4 r2 ais4 r2 gis4 r2 b4 r2 ais4 r2
c4 r2 e4 r2 b4 r2 f4 r2 c'4. r4. c4 r2 ais4 r2 c4 r2
e2 c4 ais2 c4 b2 b4 ais gis c b ais e' c b f'2 ~ f4 gis8 ais gis [f] e c ais4 ~ ais b8 [c] e [f] gis [ais] e [f] c b ~ b2. c8 [e] c [b] c e f2 r4 r gis8 [ais] b ais
gis8 [ais] c [ais] gis e
f8 c f2 c16 e f gis ais gis ais b
c,16 b ais c b ais8 c16 ~ c8 ais16 f' e c e c
\time 1/4
b16 c e f16
\time 3/4
c16 b ais c b ais8 c16 ~ c8 ais16 f' e c e c b16 c e f16
f c16 e f ~ f [\times 2/3 {gis f e} f16] ~ f8 [e16 c] b ais8 ais16 ~ ais8. b32 e
%page 7 line 4
\times 2/3 {e8 gis b} e4 c16 b ais b c gis8 c16
f,4 \times 2/3 {e8 c g'} b4
%page 7 line 5
ais16 gis f gis ais c8. gis16 c e8 gis,16 b e8 \times 2/3 {ais, [c f]}
\times 2/3 {gis16 [f c} e8] ~ e
%page 8
\times 2/3 {ais16 gis f} b2 b,4 e e, \times 2/3 {c' (f, ais)} b gis e2 r2. c2 gis'4
\times 2/3 {f8 e c} e2 b gis'4
%page 8 line 3
\times 2/3 {b8 [ais gis]} \times 2/3 {c [b ais]} \times 2/3 {e' c b} gis e f4 \times 2/3 {ais8 [e gis]} \times 2/3 {b [e, gis]} \times 2/3 {b [e, gis]}
\times 2/3 {b16 [e, g} \times 2/3 {b16 gis e[} c8 f4. c8 b'
ais4 gis16 f gis8 f16 e8.
r2. \times 2/3 {ais16 [ais ais} c8] ais [\times 2/3 {gis16 gis gis]} f4
%page 9
\times 2/3 {e'16 [e e} c8] b [\times 2/3 {ais16 gis ais]} gis4 \times 2/3 {f16 [gis ais} c8] b [\times 2/3 {f'16 e c]} ais4 \times 2/3 {f16 ais c} \times 2/3 {e,16 ais c} b2 r2. \times 2/3 {ais16 ais ais} c ais e'4 ais, gis2. \times 2/3 {f16 f f } b16 f ais8 [c] e4 ~ e2 r4 \times 2/3 {f16 [e c} e8] b [\times 2/3 {c16 ais gis] } f4 \times 2/3 {e16 [f e} \times 2/3 {c b c]} \times 2/3 {e8 [f e] } c4 b16 c e8
\times 2/3 {c8 [e f]} \times 2/3 {gis [f e]} c4 b16 f'8 b,16 f' gis8.
\time 5/4
b,16 f'8 b,16 f' gis8. r2. \fermata
%page 10
ais32 ais ais gis gis8 ais32 ais b gis gis8 ais32 gis gis f f8 e16 f8 e16 c c8. ais'32 ais ais gis gis8 ais32 ais b gis gis8 ais32 gis gis f f8 e16 f8 e16 c c8.
\time 3/4
f'8 e16 c e e f e f8 e16 c b c b ais ais ais b ais c b ais gis ais ais b ais e'16 c b ais gis f gis f e e c e b c e ais g4 r2. r4 e' r c r b r ais r gis
r4 c8 e r4 b8 ais4.
%page 11
r4 gis8 [ais] b c r4 \times 2/3 {f,8 e f} e4 ~ e r e' r c r ais8 b c4 r gis8 f4. r4 e' r c r ais16 b f gis e4 e'16 e f e gis f e c r4 b8 c4. ais16 b c e c4 r a gis16 ais gis f e2 r4 gis16 ais gis f e c e f c8 b4. c16 e f gis ~ gis f e f gis
ais8. r4 b2 r4 f8. ais16 c8 [ais] \times 2/3 {b8 c e} c2.
%page 12
gis8. b16 c8 [b] \times 2/3 {ais8 f gis} e8 f4. r4 e'8. c16 b4 e c8. ais16 \times 2/3 {gis8 ais f} c4 r e8 f gis4 r e'8 c4. gis8 ais4. r4 f8 e4. ~ e4 r2.
\times 2/3 {e'8 [e e]} \times 2/3 {c [c c]} \times 2/3 {ais ais ais}
\times 2/3 {e'16 e e} \times 2/3 {c c c} \times 2/3 {b [b b} \times 2/3 {f' f e]}
\times 2/3 {b8 [b b]} c2. ais'8 [b ais] gis [f e] ~ e2. \bar "||"

\score {
\new Staff \one
\new Staff \two
\layout {
   \context { \Score \remove "Timing_engraver" }
   \context { \Staff \consists "Timing_engraver" }
\midi { \tempo 4=90 }

Childhood is a Journey not a race- Emma Sadinsky aged 8
Jay Hamilton
Sound and Silence

reply via email to

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