Am 2015-12-23 13:59, schrieb Chris Yate:
I think using a partial bar is more intuitive than "/set
Timing.measurePosition = #(ly:make-moment 6/8)". But there may be
situations where the latter is necessary.
This depends on whether you really have an upbeat (f.e. Scherzo ends
with full measure, Trio starts with upbeat) or an "incomplete" measure
(f.e. if you have bars of different length whithout explicitely changing
the time signature; see last of Rachmaninov's Etudes-Tableaux). Have a
look at the output of the following code. Three different solutions show
three different types of behaviour (look at bar lines and bar numbers).
\version "2.18.2"
{
\override Score.BarNumber.break-visibility = #'#(#t #t #t)
b4 b b b
b b b \set Timing.measurePosition = #(ly:make-moment 4/4)
\mark "missing barline"
b b b b
\break
b b b b
\set Timing.measureLength = #(ly:make-moment 3/4) b b b \unset
Timing.measureLength
\mark "everything ok (if it's an 'incomplete' measure)"
b b b b
\break
b b b b
\partial 4*3
b b b
\mark "m. 8 counts twice (ok if it's really an upbeat)"
b b b b
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user