Jump to content

Graphical and text woodwind diagrams: Difference between revisions

From LilyPond wiki
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
   \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>


[[Category:Winds]]
[[Category:Winds]]
[[Category:Included in the official documentation]][[Category:Snippet]]
[[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)))
}