]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/glissando.ly
* scripts/lilypond-book.py (do_file): do not overwrite input file.
[lilypond.git] / input / regression / glissando.ly
1 #(ly:set-option 'old-relative)
2 \version "2.1.26"
3
4 \header{
5
6 texidoc=" Between notes, there may be simple glissando lines.
7 Here, the first two glissandi are not consecutive.
8
9 The engraver does no time-keeping, so it involves some trickery to get
10 << @{ s8 s8 s4 @} @{ c4 \\gliss d4 @} >> working correctly.
11
12 "
13 }
14
15 \score{
16         \context Staff=one \notes\relative c''{
17                      % gliss non gliss and 
18              c4 \glissando d e \glissando f \glissando \break
19              % consecutive 
20              c \glissando d, \glissando e'
21               << { \stemUp e8 \glissando g8 }
22                 \context Voice = VB {\stemDown \repeat unfold 4 d16 } >>
23                 \override Glissando  #'style = #'zigzag
24                 c4 \glissando c,, \glissando c' \glissando d
25     }
26     \paper{
27         linewidth = 50.\mm indent = 0
28         \translator{
29                \StaffContext
30                % makes for handier debugging
31                % \remove Clef_engraver
32         }
33     }
34 }
35