Jump to content

Graphical and text woodwind diagrams: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
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

Revision as of 18:52, 16 November 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)))
    }
}