]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/new/graphical-and-text-woodwind-diagrams.ly
resolve merge
[lilypond.git] / Documentation / snippets / new / graphical-and-text-woodwind-diagrams.ly
diff --git a/Documentation/snippets/new/graphical-and-text-woodwind-diagrams.ly b/Documentation/snippets/new/graphical-and-text-woodwind-diagrams.ly
new file mode 100644 (file)
index 0000000..6b77f0a
--- /dev/null
@@ -0,0 +1,30 @@
+\version "2.14.0"
+
+\header {
+  lsrtags="winds"
+  texidoc="
+In may cases, the keys other than the central column can be
+displayed by key name as well as by graphical means.
+"
+
+  doctitle = "Graphical and text woodwind diagrams"
+}
+
+\relative c'' {
+  \textLengthOn
+  c1^\markup
+    \woodwind-diagram
+      #'piccolo
+      #'((cc . (one three))
+         (lh . (gis))
+         (rh . (ees)))
+
+  c^\markup
+    \override #'(graphical . #f) {
+      \woodwind-diagram
+        #'piccolo
+        #'((cc . (one three))
+           (lh . (gis))
+           (rh . (ees)))
+    }
+}