Jump to content

Graphic measure grouping indications for conductors: Difference between revisions

From LilyPond wiki
No edit summary
m New category
 
Line 26: Line 26:
[[Category:Contexts and engravers]]
[[Category:Contexts and engravers]]
[[Category:Contemporary notation]]
[[Category:Contemporary notation]]
[[Category:Automatic notation]][[Category:Snippet]]
[[Category:Automatic notation]]
[[Category:Snippet]]

Latest revision as of 23:37, 21 November 2025

In 20th century music, time signatures tend to change frequently and to be more complex. Therefore, printing graphic indications (such as brackets and triangles) above the top staff has become quite useful, if not essential, to conductors or even players. LilyPond is able to do that easily with its integrated Measure_grouping_engraver.

Beware: you can no longer use the \time command; use instead the #(set-time-signature x x '(x x) function, which is quite more powerful, especially for compound time signatures such as 5/8.

\version "2.24"

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

\new Staff \with {
    \consists "Measure_grouping_engraver"
  }

\relative c' {
  \time 2,2 2/4 
  c8 a'4 a8~
  \time 3,2 5/8 
  a8 bes4 r8 bes8->
  \time 2,2 2/4 
  c,8 g'4 g8~ 
  \time 3,2 5/8 
  g8 a4 g a4.->
}