Jump to content

Score with variable measure lengths

From LilyPond wiki
Revision as of 18:50, 16 November 2025 by Jean Abou Samra (talk | contribs) (Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series)

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
  }
}