]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/context-string-tuning.ly
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / context-string-tuning.ly
diff --git a/input/regression/context-string-tuning.ly b/input/regression/context-string-tuning.ly
new file mode 100644 (file)
index 0000000..5ff69ea
--- /dev/null
@@ -0,0 +1,25 @@
+\version "2.16.0"
+
+\header {
+  texidoc="
+Using \contextStringTuning does not break compiling.
+"
+}
+
+mynotes = {
+  c'4 e' g' c'' |
+  e''4 g'' b'' c'''
+}
+
+<<
+  \new Staff {
+    \clef treble
+    \mynotes
+  }
+  \new TabStaff {
+    #(define custom-tuning #{ \stringTuning <c' g' d'' a''> #})
+    \set Staff.stringTunings = #custom-tuning
+    \mynotes
+  }
+>>
+