Jump to content

Adding timing marks to long glissandi: Difference between revisions

From LilyPond wiki
mNo edit summary
mNo edit summary
 
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.
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>

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