Another possible approach, for the temporary time changes, is can you
display the new time signature without actually setting it? (Ie if the
piece is in 2/4, you display 3/4 but lilypond still thinks its a 2/4 bar
as before with no change.

Then just use \times 2/3 {} for that bar so the notation displays correctly.

Okay, that won't work for midi, but for scores it might be a good solution.

This can also be done without \times or \scaleDurations in a "semantically correct" way (assuming that the length of a quarter note should remain unchanged):

\version "2.19.80"

\relative {
  \time 3/4
  a b c
  \set Score.measureLength = #(ly:make-moment 5 4)
  d c d c b
  a b c d e
  \set Score.measureLength = #(ly:make-moment 3 4)
  a b c
  d e c
}

Best
Lukas

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to