Jump to content

Contemporary glissando 2

From LilyPond wiki
Revision as of 22:47, 26 October 2025 by Jean Abou Samra (talk | contribs) (Import snippet from LSR)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A contemporary glissando without a final note can be typeset using a hidden note and duration scaling.

\version "2.24.0"

melody = \relative c'' {
  \time 3/4
  c4 c4
  % Scale Duration of notes with *1/2
  c4*1/2-\tweak style #'zigzag \glissando
  % Hide the terminating note for the glissando
  \single \hideNotes
  % Adjust placement of the hidden note if needed
  \tweak X-offset #2 \tweak X-extent #'( 0 . 0 )
  e,4*1/2 |
  
  c'4 c4 c4
}
  
\score {
  <<
	\new Staff { \melody }
  >>
}