Jump to content

Score with variable measure lengths: Difference between revisions

From LilyPond wiki
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
No edit summary
Line 24: Line 24:
</lilypond>
</lilypond>


[[Category:Rhythms]]
[[Category:Rhythms]][[Category:Snippet]]

Revision as of 22:59, 21 November 2025

LilyPond determines the measure length from the time signature, so to implement variable measure lengths, one has to set the time signature for every measure, but suppress the display of the time signature change by setting its stencil to ##f.

\version "2.24"

%% http://lsr.di.unimi.it/LSR/Item?id=731

% LSR modified by P.P.Schneider on Feb.2014

\new Staff \with { \omit TimeSignature } {
  \relative c'' {
    \time 3/4
    c4 c c
    \time 2/4
    c4 c
    \time 3/4
    c4 c c
    \time 2/4
    c4 c
    \time 5/4
    c4 c c c c
    \time 2/4
    c4 c
  }
}