Jump to content

Writing intermediate rests or notes in glissandi: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m New category
Tags: Mobile edit Mobile web edit
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Here's a way to add a ghost rest or headless note to a glissando with an unusual duration.
Here's a way to add a ghost rest or headless note to a glissando with an unusual duration.


<lilypond version="2.24.0">
<lilypond version="2.24">
%% http://lsr.di.unimi.it/LSR/Item?id=842
%% http://lsr.di.unimi.it/LSR/Item?id=842


Line 24: Line 24:
[[Category:Contemporary notation]]
[[Category:Contemporary notation]]
[[Category:Expressive marks]]
[[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
}