lilypond-devel
[Top][All Lists]
Advanced

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

Re: Changing autobeaming for 4/4 time


From: Carl Sorensen
Subject: Re: Changing autobeaming for 4/4 time
Date: Mon, 10 Aug 2009 16:25:38 -0600

OK, I've found a setting that works *pretty well*, with one bad case:

\relative c'' {
  \overrideBeamSettings #'Score #'(4 . 4) #'end
#'((* . (1 1 1 1))
   ((1 . 8) . (4 4)))
  a8 a a a a a a a |  % OK
\break
  a16 a a8 a a
  a a16 a a8 a |  % OK now, was wrong, should be ...
  a16[ a a8] a a
  a[ a16 a] a8 a |
\break
  a8 a a16 a a8
  a a a a16 a | % wrong, should be ...
  a8 a a16[ a a8]
  a a a[ a16 a] |
\break
  a8 a16 a a8 a16 a
  a8 a16 a a8 a16 a | % OK now, was wrong, should be ...
  a8[ a16 a] a8 a16 a
  a8[ a16 a] a8 a16 a |
\break
  a32 a a16 a a a a32 a a16 a
  a a a32 a a16 a a a a32 a | % OK now, was wrong, should be ...
  a32[ a a16 a a] a[ a32 a a16 a]
  a[ a a32 a a16] a a a a32 a
}


I think I can fix this by tweaking with the START rule; it appears to me
that what fails in measure 4 above is that the beam should be broken at the
final beat because the beaming in the final beat contains a 1/16 beam, so
the 1/8 rule shouldn't apply.  But we don't check for that at the start of
the final beat; we only get that check at the end of the final beat.

I'll do some investigation and see if I can fix that.

But for now, I think this beaming rule for 4/4 time is the best I've seen
yet.  What do you think?

Thanks,

Carl





reply via email to

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