X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fglissando.ly;h=4b352ebe580f91cb067cc0038ea84ccc63cc0f91;hb=8ddd20baf6dd3b1e12364f46722740aa71147a8b;hp=2d981f7d5db74ce4e1948ad0f2b3d100148c448f;hpb=8b88bf025331c789167734067001a3d79501b433;p=lilypond.git diff --git a/input/regression/glissando.ly b/input/regression/glissando.ly index 2d981f7d5d..4b352ebe58 100644 --- a/input/regression/glissando.ly +++ b/input/regression/glissando.ly @@ -1,31 +1,33 @@ +\version "2.14.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. +<< @{ 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 } > - - } - \paper{ - linewidth = 70.\mm; - \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 } + +