Woodwind diagrams key lists: Difference between revisions
Appearance
mNo edit summary |
m Mark some text for not being included in official documentation |
||
| Line 1: | Line 1: | ||
The snippet below produces a list of all possible keys and key settings for woodwind diagrams as defined in <code>scm/define-woodwind-diagrams.scm</code>. The list gets written to stderr but is not shown in the music (which means that the output displayed here in the Wiki is meaningless – you have to execute the code manually). If output to stdout is wanted instead, omit the code <code>(current-error-port)</code> from the commands. | The snippet below produces a list of all possible keys and key settings for woodwind diagrams as defined in <code>scm/define-woodwind-diagrams.scm</code>. The list gets written to stderr but is not shown in the music<span class="nodoc"> (which means that the output displayed here in the Wiki is meaningless – you have to execute the code manually)</span>. If output to stdout is wanted instead, omit the code <code>(current-error-port)</code> from the commands. | ||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
Latest revision as of 07:20, 25 December 2025
The snippet below produces a list of all possible keys and key settings for woodwind diagrams as defined in scm/define-woodwind-diagrams.scm. The list gets written to stderr but is not shown in the music (which means that the output displayed here in the Wiki is meaningless – you have to execute the code manually). If output to stdout is wanted instead, omit the code (current-error-port) from the commands.
\version "2.24"
#(print-keys-verbose 'piccolo (current-error-port))
#(print-keys-verbose 'flute (current-error-port))
#(print-keys-verbose 'flute-b-extension (current-error-port))
#(print-keys-verbose 'tin-whistle (current-error-port))
#(print-keys-verbose 'oboe (current-error-port))
#(print-keys-verbose 'clarinet (current-error-port))
#(print-keys-verbose 'bass-clarinet (current-error-port))
#(print-keys-verbose 'low-bass-clarinet (current-error-port))
#(print-keys-verbose 'saxophone (current-error-port))
#(print-keys-verbose 'soprano-saxophone (current-error-port))
#(print-keys-verbose 'alto-saxophone (current-error-port))
#(print-keys-verbose 'tenor-saxophone (current-error-port))
#(print-keys-verbose 'baritone-saxophone (current-error-port))
#(print-keys-verbose 'bassoon (current-error-port))
#(print-keys-verbose 'contrabassoon (current-error-port))
\score {c''1}