X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fglissando.ly;h=fb780e1d27d0212f22ff83c4b43ba7a053b7dc8b;hb=ee0488f3aa19e0060b6e17c46a4d88cb9d57c489;hp=3aa4da93d2a48070436a1af890d816856f20cb4c;hpb=70048d99398924e7ca0eb481925145ec243700c5;p=lilypond.git diff --git a/input/regression/glissando.ly b/input/regression/glissando.ly index 3aa4da93d2..fb780e1d27 100644 --- a/input/regression/glissando.ly +++ b/input/regression/glissando.ly @@ -1,10 +1,9 @@ -#(ly:set-option 'old-relative) -\version "1.9.4" +\version "2.12.0" \header{ -texidoc=" Simple glissando lines between notes are supported. -The first two glissandi are not consecutive. + texidoc=" Between notes, there may be simple glissando lines. +Here, the first two glissandi are not consecutive. The engraver does no time-keeping, so it involves some trickery to get << @{ s8 s8 s4 @} @{ c4 \\gliss d4 @} >> working correctly. @@ -12,24 +11,23 @@ The engraver does no time-keeping, so it involves some trickery to get " } -\score{ - \context Staff=one \notes\relative c''{ - % gliss non gliss and - c4 \glissando d e \glissando f \glissando \break - % consecutive - c \glissando d, \glissando e' - << { \stemUp e8 \glissando g8 } - \context Voice = VB {\stemDown \repeat unfold 4 d16 } >> - \property Voice.Glissando \override #'style = #'zigzag - c4 \glissando c,, \glissando c' \glissando d - } - \paper{ - linewidth = 50.\mm indent = 0 - \translator{ - \StaffContext - % makes for handier debugging - % \remove Clef_engraver - } - } + +\layout{ + line-width = 50.\mm + indent = 0 +} + +\new Staff \relative c''{ + \override Glissando #'breakable = ##t + + %% gliss non gliss and + c4 \glissando d e \glissando f \glissando \break + %% consecutive + c \glissando d, \glissando e' + << { e8 \glissando g8 } \\ + { \repeat unfold 4 d16 } >> + \override Glissando #'style = #'zigzag + c4 \glissando c,, \glissando c' \glissando d } +