Jump to content

Graphical and text woodwind diagrams: Difference between revisions

From LilyPond wiki
m New category
Tags: Mobile edit Mobile web edit
mNo edit summary
 
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>

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