Jump to content

Alternating beam directions: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
(No difference)

Latest revision as of 22:36, 26 October 2025

The eighth notes may be seemingly attached to different beams, and the corresponding notes connected by ties. Such a situation may occur, for example, in the cello suites.

\version "2.24.0"

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

wipeNote = {
  \once \override NoteHead.transparent = ##t
  \once \override Stem.transparent = ##t 
}

\layout { raggedright = ##t }

\relative c''<< 
  {
    c8[~ \wipeNote c c~ \wipeNote c c]~ \wipeNote c\noBeam
  } \\ { 
    s8 c[ s c s c] 
  } 
>>