\version "2.22.1" % beamcountexample.ly %Shorthand for setting the beam count: bcLnone = \set stemLeftBeamCount = #0 bcRone = \set stemRightBeamCount = #1 bcLone = \set stemLeftBeamCount = #1 bcRtwo = \set stemRightBeamCount = #2 bcLtwo = \set stemLeftBeamCount = #2 \score { \new Staff { \relative c { \clef "treble_8" \time 4/4 \override TupletBracket.bracket-visibility = ##t \times 2/3 {f'16([ b, \bcRone f' ~} \bcLone f16 b,] ~ b16[ \bcRone f' ~ \bcLone f32-- b,16.] f'32[ b, ~ b8 f'16] ~ \times 4/6 {f16 b, \bcRone f' ~ \bcLone f b, f'] ~} | \times 2/3 {f16[ b, \bcRone f' ~} \bcLone f32 b, f' b,] f'32[ b,32 ~ b8]) r16 fis'32([ b, ~ b8 fis'16] ~ \times 4/6 { fis16[ b, \bcRone fis' ~ \bcLone fis b, fis'])} | } } }