]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/tablature-tie-behaviour.ly
Imported Upstream version 2.18.0
[lilypond.git] / input / regression / tablature-tie-behaviour.ly
1 \version "2.17.30"
2
3 \header{ texidoc = "In tablature, notes that are tied to are invisible
4                      except after a line break or within a second volta;
5                     here, the fret number is displayed in parentheses.
6
7                     As an option, the notes that are tied to may become
8                     invisible completely, even after line breaks."
9         }
10
11 firstpart = \relative c {
12   f2 ~ f4  e
13   g8 g ~ g g ~ g g~ g g ~
14   g1
15 }
16
17 secondpart = \relative c' {
18   c1 ~ \break c2 ~ c
19 }
20
21 thirdpart = \relative c' {
22     \repeat volta 2 {
23     < c\3 e\2 g\1 >4 < c\3 e\2 g\1 > ~ < c\3 e\2 g\1 >\laissezVibrer r
24     c4. d8 e2 ~
25    }
26    \alternative { { e2 r } { e2\repeatTie e2^\fermata } }
27  }
28
29 \context StaffGroup <<
30   \context Staff {
31      \clef "G_8"
32     \hide Voice.StringNumber % remove circled string numbers
33     \firstpart
34     \secondpart
35     \thirdpart
36   }
37   \context TabStaff {
38     \firstpart
39     \secondpart
40     \thirdpart
41   }
42 >>
43
44 \context StaffGroup <<
45   \context Staff {
46     \clef "G_8"
47     \hide Voice.StringNumber % remove circled string numbers
48     \firstpart
49     \secondpart
50     \thirdpart
51     \secondpart
52     \thirdpart
53   }
54   \context TabStaff {
55     \hideSplitTiedTabNotes
56     \firstpart
57     \secondpart
58     \thirdpart
59     \showSplitTiedTabNotes
60     \secondpart
61     \thirdpart
62   }
63 >>