Jump to content

Contemporary glissando (2): Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Lemzwerg moved page Contemporary glissando 2 to Contemporary glissando (2) without leaving a redirect
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A contemporary glissando without a final note can be typeset using a hidden note and duration scaling.
A contemporary glissando without a final note can be typeset using a hidden note and duration scaling.


<lilypond version="2.24.0">
<lilypond version="2.24">
melody = \relative c'' {
melody = \relative c'' {
   \time 3/4
   \time 3/4
Line 25: Line 25:
[[Category:Contemporary notation]]
[[Category:Contemporary notation]]
[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Snippet]]

Latest revision as of 13:42, 3 December 2025

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

\version "2.24"

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