Jump to content

Connecting groups of beamed notes with a single beam

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

Groups of beamed notes can be connected with a settable number of beams using the stemRightBeamCount and stemLeftBeamCount properties.

\version "2.24"

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

\relative c'' {
  c32[ c c  
  \set stemRightBeamCount = #1
  c32
  \set stemLeftBeamCount = #1
  c32 c c c]
}