]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/glissando.ly
* lily/tuplet-bracket.cc (brew_molecule): call after_line_breaking
[lilypond.git] / input / regression / glissando.ly
1 #(ly:set-option 'old-relative)
2 \version "2.1.7"
3
4 \header{
5
6 texidoc=" Simple glissando lines between notes are supported.
7 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                 \property Voice.Glissando \override #'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