Jump to content

Analysis brackets: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Remove LSR link
 
Line 4: Line 4:


<lilypond version="2.24.0">
<lilypond version="2.24.0">
%% http://lsr.di.unimi.it/LSR/Item?id=426
\layout {
\layout {
   \context {
   \context {

Latest revision as of 21:17, 2 November 2025

Brackets can be used in musical analysis to indicate the structure of the pieces.

As demonstrated in the second measure, such analysis brackets can be nested.

\version "2.24.0"

\layout {
  \context {
    \Voice
    \consists "Horizontal_bracket_engraver"
  }
}
\relative c'' {
  c4\startGroup\startGroup
  d4\stopGroup
  e4\startGroup
  d4\stopGroup\stopGroup
}