]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/tablature-tie-behaviour.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / tablature-tie-behaviour.ly
diff --git a/input/regression/tablature-tie-behaviour.ly b/input/regression/tablature-tie-behaviour.ly
new file mode 100644 (file)
index 0000000..e3f5491
--- /dev/null
@@ -0,0 +1,63 @@
+\version "2.14.0"
+
+\header{ texidoc = "In tablature, notes that are tied to are invisible
+                     except after a line break or within a second volta;
+                    here, the fret number is displayed in parentheses.
+
+                    As an option, the notes that are tied to may become
+                    invisible completely, even after line breaks."
+        }
+
+firstpart = \relative c {
+  f2 ~ f4  e
+  g8 g ~ g g ~ g g~ g g ~
+  g1
+}
+
+secondpart = \relative c' {
+  c1 ~ \break c2 ~ c
+}
+
+thirdpart = \relative c' {
+    \repeat volta 2 {
+    < c\3 e\2 g\1 >4 < c\3 e\2 g\1 > ~ < c\3 e\2 g\1 >\laissezVibrer r
+    c4. d8 e2 ~
+   }
+   \alternative { { e2 r } { e2\repeatTie e2^\fermata } }
+ }
+
+\context StaffGroup <<
+  \context Staff {
+     \clef "G_8"
+    \override Voice.StringNumber #'transparent = ##t % remove circled string numbers
+    \firstpart
+    \secondpart
+    \thirdpart
+  }
+  \context TabStaff {
+    \firstpart
+    \secondpart
+    \thirdpart
+  }
+>>
+
+\context StaffGroup <<
+  \context Staff {
+    \clef "G_8"
+    \override Voice.StringNumber #'transparent = ##t % remove circled string numbers
+    \firstpart
+    \secondpart
+    \thirdpart
+    \secondpart
+    \thirdpart
+  }
+  \context TabStaff {
+    \hideSplitTiedTabNotes
+    \firstpart
+    \secondpart
+    \thirdpart
+    \showSplitTiedTabNotes
+    \secondpart
+    \thirdpart
+  }
+>>