X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=input%2Fregression%2Fglissando.ly;h=bdb5124483b4100baafbde788795ec5b1498c139;hb=74bd453cc3da31d047b2611aad5669395fc71447;hp=0241445b72130cc42b53d4abf3a7a8c7c5f6b41b;hpb=3db08de4502e30616808fc348b054d32822e5cc4;p=lilypond.git diff --git a/input/regression/glissando.ly b/input/regression/glissando.ly index 0241445b72..bdb5124483 100644 --- a/input/regression/glissando.ly +++ b/input/regression/glissando.ly @@ -1,34 +1,33 @@ -\version "1.7.22" +\version "2.17.6" \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. +<< @{ s8 s8 s4 @} @{ c4 \\gliss d4 @} >> working correctly. " } -\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 } +