Jump to content

Score with variable measure lengths

From LilyPond wiki
Revision as of 22:46, 26 October 2025 by Jean Abou Samra (talk | contribs) (Import snippet from LSR)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.0"

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