<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.lilypond.community/index.php?action=history&amp;feed=atom&amp;title=Automatically_adding_fingering_diagrams_for_tin_whistle</id>
	<title>Automatically adding fingering diagrams for tin whistle - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.lilypond.community/index.php?action=history&amp;feed=atom&amp;title=Automatically_adding_fingering_diagrams_for_tin_whistle"/>
	<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Automatically_adding_fingering_diagrams_for_tin_whistle&amp;action=history"/>
	<updated>2026-05-04T22:49:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Automatically_adding_fingering_diagrams_for_tin_whistle&amp;diff=4172&amp;oldid=prev</id>
		<title>Lemzwerg: New category</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Automatically_adding_fingering_diagrams_for_tin_whistle&amp;diff=4172&amp;oldid=prev"/>
		<updated>2025-11-21T23:15:53Z</updated>

		<summary type="html">&lt;p&gt;New category&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:15, 21 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l382&quot;&gt;Line 382:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 382:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Winds]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Winds]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Automatic notation]][[Category:Snippet]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Automatic notation]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Snippet]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lemzwerg</name></author>
	</entry>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Automatically_adding_fingering_diagrams_for_tin_whistle&amp;diff=3206&amp;oldid=prev</id>
		<title>Lemzwerg at 22:47, 21 November 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Automatically_adding_fingering_diagrams_for_tin_whistle&amp;diff=3206&amp;oldid=prev"/>
		<updated>2025-11-21T22:47:49Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 22:47, 21 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l382&quot;&gt;Line 382:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 382:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Winds]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Winds]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Automatic notation]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Automatic notation&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]][[Category:Snippet&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lemzwerg</name></author>
	</entry>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Automatically_adding_fingering_diagrams_for_tin_whistle&amp;diff=2496&amp;oldid=prev</id>
		<title>Jean Abou Samra: Replace version=&quot;2.24.0&quot; with version=&quot;2.24&quot; now that the LilyWiki extension supports auto-selecting the latest release in a stable series</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Automatically_adding_fingering_diagrams_for_tin_whistle&amp;diff=2496&amp;oldid=prev"/>
		<updated>2025-11-16T18:51:59Z</updated>

		<summary type="html">&lt;p&gt;Replace version=&amp;quot;2.24.0&amp;quot; with version=&amp;quot;2.24&amp;quot; now that the LilyWiki extension supports auto-selecting the latest release in a stable series&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:51, 16 November 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l7&quot;&gt;Line 7:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 7:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Typically I use this code in combination with the tiedNoteToSkip function from http://lsr.di.unimi.it/LSR/Item?id=760 to avoid having the note name printed again for a tied note. Simply use each function as described in their descriptions, and (so far, at least) they work just fine with each other.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Typically I use this code in combination with the tiedNoteToSkip function from http://lsr.di.unimi.it/LSR/Item?id=760 to avoid having the note name printed again for a tied note. Simply use each function as described in their descriptions, and (so far, at least) they work just fine with each other.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;lilypond version=&quot;2.24&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.0&lt;/del&gt;&quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;lilypond version=&quot;2.24&quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;\language &amp;quot;english&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;\language &amp;quot;english&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jean Abou Samra</name></author>
	</entry>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Automatically_adding_fingering_diagrams_for_tin_whistle&amp;diff=534&amp;oldid=prev</id>
		<title>Jean Abou Samra: Import snippet from LSR</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Automatically_adding_fingering_diagrams_for_tin_whistle&amp;diff=534&amp;oldid=prev"/>
		<updated>2025-10-26T22:43:41Z</updated>

		<summary type="html">&lt;p&gt;Import snippet from LSR&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;These functions may be used to automatically add fingering diagrams and reformatted note names to tin whistle music, with the whistle referred to being the common D whistle.&lt;br /&gt;
&lt;br /&gt;
The fingering diagram function makes no attempt to deal with alternate fingerings. It is strictly one diagram per note, doing a fairly simple, straight forward one to one substitution.&lt;br /&gt;
&lt;br /&gt;
The reformatted note names are in line with what I&amp;#039;m told the local tin whistle players expect - the lower octave being printed in upper case, and the upper octave printed in lower case with a plus sign underneath the note name, with the topmost D getting 2 plus signs.&lt;br /&gt;
&lt;br /&gt;
Typically I use this code in combination with the tiedNoteToSkip function from http://lsr.di.unimi.it/LSR/Item?id=760 to avoid having the note name printed again for a tied note. Simply use each function as described in their descriptions, and (so far, at least) they work just fine with each other.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lilypond version=&amp;quot;2.24.0&amp;quot;&amp;gt;&lt;br /&gt;
\language &amp;quot;english&amp;quot;&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
%&lt;br /&gt;
% Usage example:&lt;br /&gt;
%&lt;br /&gt;
%  \new NoteNames {&lt;br /&gt;
%    %#(define myFingSize 0.75)  % this line would override the size of the diagram produced&lt;br /&gt;
%    %#(define myFingThickness  0.25)  % this line would override the thickness of the lines used to draw the diagrams&lt;br /&gt;
%    \set noteNameFunction = #myTWFingerings&lt;br /&gt;
%    \music&lt;br /&gt;
%  }&lt;br /&gt;
%&lt;br /&gt;
%  \new NoteNames {&lt;br /&gt;
%    \set noteNameFunction = #myTWNoteNames&lt;br /&gt;
%    \music&lt;br /&gt;
%  }&lt;br /&gt;
%&lt;br /&gt;
% Both can be used to put the note name under (or over, if you prefer) the fingering diagram.&lt;br /&gt;
% Just put one after the other in the prefered order. Just make sure to enclose them in&lt;br /&gt;
% a set of angle brackets for simultaneous music (i.e. put them in a &amp;lt;&amp;lt; &amp;gt;&amp;gt; set).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#(define myFingSize  0.65)  %  Overall size of the fingering diagram&lt;br /&gt;
#(define myFingThickness  0.25)  %  How thick the lines used to draw the diagram are&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
myTWFingerings =           &lt;br /&gt;
#(lambda (pitch ctx)&lt;br /&gt;
   (cond&lt;br /&gt;
    ((&amp;lt;= (ly:pitch-semitones pitch)&lt;br /&gt;
         1)  ; Note too low&lt;br /&gt;
     (markup #:sans &amp;quot;U&amp;quot;))&lt;br /&gt;
    ((&amp;gt;= (ly:pitch-semitones pitch)&lt;br /&gt;
         27)  ;  Note too high&lt;br /&gt;
     (markup #:sans &amp;quot;O&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
    ; D4&lt;br /&gt;
    ((= (ly:pitch-semitones pitch)&lt;br /&gt;
        2)&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc &amp;#039;one &amp;#039;two &amp;#039;three &amp;#039;four &amp;#039;five &amp;#039;six)&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    ; D#/Eb4 or 5&lt;br /&gt;
    ((or (= (ly:pitch-semitones pitch)&lt;br /&gt;
            3)&lt;br /&gt;
         (= (ly:pitch-semitones pitch)&lt;br /&gt;
            15))&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc &amp;#039;one &amp;#039;two &amp;#039;three &amp;#039;four &amp;#039;five &amp;#039;six1h)&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    ; E4 or 5&lt;br /&gt;
    ((or (= (ly:pitch-semitones pitch)&lt;br /&gt;
            4)&lt;br /&gt;
         (= (ly:pitch-semitones pitch)&lt;br /&gt;
            16))&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc &amp;#039;one &amp;#039;two &amp;#039;three &amp;#039;four &amp;#039;five)&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    ; F4 or 5&lt;br /&gt;
    ((or (= (ly:pitch-semitones pitch)&lt;br /&gt;
            5)&lt;br /&gt;
         (= (ly:pitch-semitones pitch)&lt;br /&gt;
            17))&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc &amp;#039;one &amp;#039;two &amp;#039;three &amp;#039;four &amp;#039;five1h)&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    ; F# or Gb4 or 5&lt;br /&gt;
    ((or (= (ly:pitch-semitones pitch)&lt;br /&gt;
            6)&lt;br /&gt;
         (= (ly:pitch-semitones pitch)&lt;br /&gt;
            18))&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc &amp;#039;one &amp;#039;two &amp;#039;three &amp;#039;four)&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    ; G4 or 5&lt;br /&gt;
    ((or (= (ly:pitch-semitones pitch)&lt;br /&gt;
            7)&lt;br /&gt;
         (= (ly:pitch-semitones pitch)&lt;br /&gt;
            19))&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc &amp;#039;one &amp;#039;two &amp;#039;three)&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    ; G# or Ab4&lt;br /&gt;
    ((= (ly:pitch-semitones pitch)&lt;br /&gt;
        8)&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc &amp;#039;one &amp;#039;two &amp;#039;three1h)&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    ; G# or Ab5&lt;br /&gt;
    ((= (ly:pitch-semitones pitch)&lt;br /&gt;
        20)&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc &amp;#039;one &amp;#039;two &amp;#039;four &amp;#039;five)&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    ; A4 or 5&lt;br /&gt;
    ((or (= (ly:pitch-semitones pitch)&lt;br /&gt;
            9)&lt;br /&gt;
         (= (ly:pitch-semitones pitch)&lt;br /&gt;
            21))&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc &amp;#039;one &amp;#039;two)&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    ; A# or Bb4&lt;br /&gt;
    ((= (ly:pitch-semitones pitch)&lt;br /&gt;
        10)&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc &amp;#039;one &amp;#039;two1h)&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    ; A# or Bb5&lt;br /&gt;
    ((= (ly:pitch-semitones pitch)&lt;br /&gt;
        22)&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc &amp;#039;one &amp;#039;two1h)&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    ; B4 or 5&lt;br /&gt;
    ((or (= (ly:pitch-semitones pitch)&lt;br /&gt;
            11)&lt;br /&gt;
         (= (ly:pitch-semitones pitch)&lt;br /&gt;
            23))&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc &amp;#039;one)&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    ; C5 or D6&lt;br /&gt;
    ((or (= (ly:pitch-semitones pitch)&lt;br /&gt;
            12)&lt;br /&gt;
         (= (ly:pitch-semitones pitch)&lt;br /&gt;
            26))&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc &amp;#039;two &amp;#039;three)&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    ; C# or Db5 or 6&lt;br /&gt;
    ((or (= (ly:pitch-semitones pitch)&lt;br /&gt;
            13)&lt;br /&gt;
         (= (ly:pitch-semitones pitch)&lt;br /&gt;
            25))&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc )&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    ; C6&lt;br /&gt;
    ((= (ly:pitch-semitones pitch)&lt;br /&gt;
        24)&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc &amp;#039;one1h)&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    ; D5&lt;br /&gt;
    ((= (ly:pitch-semitones pitch)&lt;br /&gt;
        14)&lt;br /&gt;
     (markup&lt;br /&gt;
      (#:override `(size . ,myFingSize)&lt;br /&gt;
                  (#:override `(thickness . ,myFingThickness)&lt;br /&gt;
                              (#:center-column&lt;br /&gt;
                               (#:pad-around&lt;br /&gt;
                                0.15&lt;br /&gt;
                                #:woodwind-diagram&lt;br /&gt;
                                &amp;#039;tin-whistle&lt;br /&gt;
                                (list (list &amp;#039;cc &amp;#039;two &amp;#039;three &amp;#039;four &amp;#039;five &amp;#039;six)&lt;br /&gt;
                                      (list &amp;#039;lh)&lt;br /&gt;
                                      (list &amp;#039;rh))))))))&lt;br /&gt;
&lt;br /&gt;
    (else  ;  Failover - should never get here&lt;br /&gt;
           (markup #:sans &amp;quot;X&amp;quot;))&lt;br /&gt;
&lt;br /&gt;
    )&lt;br /&gt;
   )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
myTWNoteNames = &lt;br /&gt;
#(lambda (pitch ctx)&lt;br /&gt;
   (cond&lt;br /&gt;
    ((&amp;lt;= (ly:pitch-semitones pitch)&lt;br /&gt;
         1) ; Note too low&lt;br /&gt;
     (markup #:sans &amp;quot;U&amp;quot;))&lt;br /&gt;
    ((&amp;gt;= (ly:pitch-semitones pitch)&lt;br /&gt;
         27) ; Note too high&lt;br /&gt;
     (markup #:sans &amp;quot;O&amp;quot;))&lt;br /&gt;
    ((= (ly:pitch-semitones pitch)&lt;br /&gt;
        26) ; D6&lt;br /&gt;
     (markup #:sans (#:center-column&lt;br /&gt;
                     (#:pad-around 0.6&lt;br /&gt;
                                   (note-name-&amp;gt;markup pitch #t)&lt;br /&gt;
                                   &amp;quot;++&amp;quot;))))&lt;br /&gt;
    (else&lt;br /&gt;
     (if (&amp;lt;= (ly:pitch-semitones pitch)&lt;br /&gt;
             13)&lt;br /&gt;
         (markup #:sans (note-name-&amp;gt;markup pitch #f))&lt;br /&gt;
         (markup #:sans (#:center-column&lt;br /&gt;
                         (#:pad-around 0.6&lt;br /&gt;
                                       (note-name-&amp;gt;markup pitch #t)&lt;br /&gt;
                                       &amp;quot;+&amp;quot;)))&lt;br /&gt;
         )&lt;br /&gt;
     )&lt;br /&gt;
    )&lt;br /&gt;
   )&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
%&lt;br /&gt;
% Example code begins&lt;br /&gt;
%&lt;br /&gt;
&lt;br /&gt;
music = {&lt;br /&gt;
  \key d \major&lt;br /&gt;
  cs&amp;#039;4 d&amp;#039; e&amp;#039; f&amp;#039; fs&amp;#039; g&amp;#039; a&amp;#039; b&amp;#039; c&amp;#039;&amp;#039; cs&amp;#039;&amp;#039; d&amp;#039;&amp;#039; e&amp;#039;&amp;#039;&lt;br /&gt;
  f&amp;#039;&amp;#039; fs&amp;#039;&amp;#039; g&amp;#039;&amp;#039; a&amp;#039;&amp;#039; b&amp;#039;&amp;#039; c&amp;#039;&amp;#039;&amp;#039; cs&amp;#039;&amp;#039;&amp;#039; d&amp;#039;&amp;#039;&amp;#039; e&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
\score {&lt;br /&gt;
  &amp;lt;&amp;lt;&lt;br /&gt;
    &lt;br /&gt;
    \new Staff {&lt;br /&gt;
      \new Voice {&lt;br /&gt;
        \music&lt;br /&gt;
      }&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
    % First NoteNames context used to produce the fingering diagrams&lt;br /&gt;
    \new NoteNames {&lt;br /&gt;
      %#(define myFingSize 0.75)  % this line would override the size of the diagram produced&lt;br /&gt;
      %#(define myFingThickness  0.25)  % this line would override the thickness of the lines used to draw the diagrams&lt;br /&gt;
      \set noteNameFunction = #myTWFingerings&lt;br /&gt;
      \music&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
    % Second NoteNames context used to put the note names&lt;br /&gt;
    % below the fingering diagrams&lt;br /&gt;
    \new NoteNames {&lt;br /&gt;
      \set noteNameFunction = #myTWNoteNames&lt;br /&gt;
      \music&lt;br /&gt;
    }&lt;br /&gt;
  &lt;br /&gt;
  &amp;gt;&amp;gt;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lilypond&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Winds]]&lt;br /&gt;
[[Category:Automatic notation]]&lt;/div&gt;</summary>
		<author><name>Jean Abou Samra</name></author>
	</entry>
</feed>