Jump to content

Graphical and text woodwind diagrams: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
In many cases, the keys other than the central column can be displayed by key name as well as by graphical means.
In many cases, the keys other than the central column can be displayed by key name as well as by graphical means.


<lilypond version="2.24.0">
<lilypond version="2.24">
\relative c'' {
\relative c'' {
   \textLengthOn
   \textLengthOn
   c1^\markup
   c1^\markup
     \woodwind-diagram
     \woodwind-diagram #'piccolo
      #'piccolo
                      #'((cc . (one three))
      #'((cc . (one three))
                        (lh . (gis))
        (lh . (gis))
                        (rh . (ees)))
        (rh . (ees)))


   c^\markup
   c^\markup
     \override #'(graphical . #f) {
     \override #'(graphical . #f)
       \woodwind-diagram
       \woodwind-diagram #'piccolo
        #'piccolo
                        #'((cc . (one three))
        #'((cc . (one three))
                          (lh . (gis))
          (lh . (gis))
                          (rh . (ees)))
          (rh . (ees)))
    }
}
}
</lilypond>
</lilypond>
Line 24: Line 21:
[[Category:Winds]]
[[Category:Winds]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]

Latest revision as of 11:07, 15 December 2025

In many cases, the keys other than the central column can be displayed by key name as well as by graphical means.

\version "2.24"

\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)))
}