Jump to content

Damping sign using a glissando: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m New category
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
With breakable glissando.
With breakable glissando.


<lilypond version="2.24.0" full>
<lilypond version="2.24" full>
%%http://lsr.di.unimi.it/LSR/Item?id=1095
%%http://lsr.di.unimi.it/LSR/Item?id=1095


Line 37: Line 37:
[[Category:Symbols and glyphs]]
[[Category:Symbols and glyphs]]
[[Category:Specific notation]]
[[Category:Specific notation]]
[[Category:Snippet]]

Latest revision as of 23:21, 21 November 2025

With breakable glissando.

\version "2.24"

%%http://lsr.di.unimi.it/LSR/Item?id=1095

% For version "2.19" and higher: dam = #(define-event-function () () etc.

\paper { tagline = ##f }

dam = #(define-event-function () ()
  #{  
     -\tweak bound-details.right-broken.text ##f
     -\tweak bound-details.right.text 
        #(markup #:translate (cons .7 -1) #:line (#:null #:musicglyph "pedal.*")) 
     \glissando 
  #})

{ 
 << { s1 R1 } \\ { a1 \dam\once\hideNotes e } >>
}

{ 
  << 
    { s1 R1 } \\
    {
      \once\override Glissando.breakable = ##t
      \once\override Glissando.after-line-breaking = ##t
      a1 \dam\once\hideNotes\break e 
    }
  >>
}