Writing intermediate rests or notes in glissandi: Difference between revisions
Appearance
Import snippet from LSR |
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
||
| 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 | <lilypond version="2.24"> | ||
%% http://lsr.di.unimi.it/LSR/Item?id=842 | %% http://lsr.di.unimi.it/LSR/Item?id=842 | ||
Revision as of 18:56, 16 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
}