Jump to content

Adding timing marks to long glissandi: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Skipped beats in very long glissandi are sometimes indicated by timing marks, often consisting of stems without noteheads. Such stems can also be used to carry intermediate expression markings.
Skipped beats in very long glissandi are sometimes indicated by timing marks consisting of stems without noteheads. Such stems can also be used to carry intermediate expression markings.


If the stems do not align well with the glissando, they may need to be repositioned slightly.
If the stems do not align well with the glissando, they may need to be repositioned slightly.


<lilypond version="2.24.0">
<lilypond version="2.24">
glissandoSkipOn = {
glissandoSkipOn = {
   \override NoteColumn.glissando-skip = ##t
   \override NoteColumn.glissando-skip = ##t
Line 17: Line 17:


\relative c'' {
\relative c'' {
   r8 f8\glissando
   r8 f8\glissando \glissandoSkipOn f4 g a |
  \glissandoSkipOn
  a8\noBeam \glissandoSkipOff a8
  f4 g a a8\noBeam
    r8 f8\glissando \glissandoSkipOn g4 a8 \glissandoSkipOff a8 |
  \glissandoSkipOff
   r4 f\glissando\< \glissandoSkipOn a4\f\> \glissandoSkipOff b8\! r |
  a8
 
  r8 f8\glissando
  \glissandoSkipOn
  g4 a8
  \glissandoSkipOff
  a8 |
 
   r4 f\glissando \<
  \glissandoSkipOn
  a4\f \>
  \glissandoSkipOff
  b8\! r |
}
}
</lilypond>
</lilypond>


[[Category:Included in the official documentation]]
[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Staff notation]]
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Latest revision as of 05:47, 11 January 2026

Skipped beats in very long glissandi are sometimes indicated by timing marks consisting of stems without noteheads. Such stems can also be used to carry intermediate expression markings.

If the stems do not align well with the glissando, they may need to be repositioned slightly.

\version "2.24"

glissandoSkipOn = {
  \override NoteColumn.glissando-skip = ##t
  \hide NoteHead
  \override NoteHead.no-ledgers = ##t
}

glissandoSkipOff = {
  \revert NoteColumn.glissando-skip
  \undo \hide NoteHead
  \revert NoteHead.no-ledgers
}

\relative c'' {
  r8 f8\glissando \glissandoSkipOn f4 g a |
  a8\noBeam \glissandoSkipOff a8
    r8 f8\glissando \glissandoSkipOn g4 a8 \glissandoSkipOff a8 |
  r4 f\glissando\< \glissandoSkipOn a4\f\> \glissandoSkipOff b8\! r |
}