Jump to content

Alternating beam directions: Difference between revisions

From LilyPond wiki
No edit summary
m New category
 
Line 25: Line 25:
[[Category:Connecting notes]]
[[Category:Connecting notes]]
[[Category:Specific notation]]
[[Category:Specific notation]]
[[Category:Really cool]][[Category:Snippet]]
[[Category:Really cool]]
[[Category:Snippet]]

Latest revision as of 23:13, 21 November 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"

%% 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] 
  } 
>>