Jump to content

Analysis brackets

From LilyPond wiki
Revision as of 18:47, 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)

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"

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