Jump to content

Writing intermediate rests or notes in glissandi: Difference between revisions

From LilyPond wiki
No edit summary
m New category
Tags: Mobile edit Mobile web edit
 
Line 23: Line 23:


[[Category:Contemporary notation]]
[[Category:Contemporary notation]]
[[Category:Expressive marks]][[Category:Snippet]]
[[Category:Expressive marks]]
[[Category:Snippet]]

Latest revision as of 23:29, 21 November 2025

Here's a way to add a ghost rest or headless note to a glissando with an unusual duration.

\version "2.24"

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

\relative c' {
  c4 d e g\glissando
  
  \once\override NoteColumn.glissando-skip = ##t
  \once \override Parentheses.font-size = #2
  
  \parenthesize r8 c'4. r2
  c,,4 d e g\glissando
  
  \once\override NoteColumn.glissando-skip = ##t
  \once \override NoteHead.transparent = ##t
  % If the stem doesn't align well with the glissando, it may need repositioning. e.g.:
  \once \override NoteHead.stem-attachment = #'(1 . 0)
  
  f'8 c'4. r2
}