]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/tablature-string-tunings.ly
Change stringTunings from list of semitones to list of pitches
[lilypond.git] / input / regression / tablature-string-tunings.ly
index 2fdd185aaf3b7e120e00ebc4297ac8c8153c00ef..893c3c2c1d5a43f5d990dcc093cdc8f1b16ea2d9 100644 (file)
@@ -1,17 +1,20 @@
+\version "2.13.46"
+
 \header {
 
-    texidoc = "For other tunings, it is sufficient to set
+  texidoc = "For other tunings, it is sufficient to set
     @code{stringTunings}. The number of staff lines is adjusted
     accordingly."
 
 }
 
-\version "2.3.22"
 
-\score  {
-     \new TabStaff {
-       \set TabStaff.stringTunings = #'(5  10 15 20)
-       \relative c''  { c4 d e f }
-       }
+\new TabStaff {
+  \set TabStaff.stringTunings = #`(,(ly:make-pitch 0 3 0)
+                                  ,(ly:make-pitch 0 5 SHARP)
+                                  ,(ly:make-pitch 1 1 SHARP)
+                                  ,(ly:make-pitch 1 4 SHARP))
+  \relative c''  { c4 d e f }
 }
+
+