<?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=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel</id>
	<title>Mozart’s Musikalisches Würfelspiel - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.lilypond.community/index.php?action=history&amp;feed=atom&amp;title=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel"/>
	<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&amp;action=history"/>
	<updated>2026-05-01T08:46:32Z</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=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&amp;diff=6280&amp;oldid=prev</id>
		<title>Jean Abou Samra: Don&#039;t use q across different measures since it doesn&#039;t work after reordering</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&amp;diff=6280&amp;oldid=prev"/>
		<updated>2026-01-30T12:55:21Z</updated>

		<summary type="html">&lt;p&gt;Don&amp;#039;t use q across different measures since it doesn&amp;#039;t work after reordering&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 12:55, 30 January 2026&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-l248&quot;&gt;Line 248:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 248:&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;   | &amp;lt;e g&amp;gt;4 r8&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;   | &amp;lt;e g&amp;gt;4 r8&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;   | &amp;lt;b d&amp;gt;4 r8&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;   | &amp;lt;b d&amp;gt;4 r8&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;   | &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;q4 &lt;/del&gt;r8&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;   | &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;b d&amp;gt;4 &lt;/ins&gt;r8&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;   | &amp;lt;c g&amp;#039;&amp;gt;4 &amp;lt;c e&amp;gt;8&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;   | &amp;lt;c g&amp;#039;&amp;gt;4 &amp;lt;c e&amp;gt;8&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;   | &amp;lt;c e&amp;gt;16 g&amp;#039; q g q g&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;   | &amp;lt;c e&amp;gt;16 g&amp;#039; q g q g&lt;/div&gt;&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-l259&quot;&gt;Line 259:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 259:&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;   | &amp;lt;g g&amp;#039;&amp;gt;4 g&amp;#039;8&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;   | &amp;lt;g g&amp;#039;&amp;gt;4 g&amp;#039;8&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;   | &amp;lt;c, e&amp;gt;16 g&amp;#039; q g q g&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;   | &amp;lt;c, e&amp;gt;16 g&amp;#039; q g q g&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;   | &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;q16 &lt;/del&gt;g q g q g&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;   | &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;c, e&amp;gt;16 &lt;/ins&gt;g&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039; &lt;/ins&gt;q g q g&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;   | &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;q16 &lt;/del&gt;g q g q g&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;   | &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;c, e&amp;gt;16 &lt;/ins&gt;g&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039; &lt;/ins&gt;q g q g&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;   | &amp;lt;c, e&amp;gt;4 r8&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;   | &amp;lt;c, e&amp;gt;4 r8&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;   | &amp;lt;e g&amp;gt;4 r8&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;   | &amp;lt;e g&amp;gt;4 r8&lt;/div&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=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&amp;diff=6275&amp;oldid=prev</id>
		<title>Gabriel Ellsworth: Gabriel Ellsworth moved page Mozart&#039;s Musikalisches Würfelspiel to Mozart’s Musikalisches Würfelspiel: Misspelled title: I changed the apostrophe in “Mozart’s” to curly (typographical) punctuation.</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&amp;diff=6275&amp;oldid=prev"/>
		<updated>2026-01-30T11:10:13Z</updated>

		<summary type="html">&lt;p&gt;Gabriel Ellsworth moved page &lt;a href=&quot;/wiki/Mozart%27s_Musikalisches_W%C3%BCrfelspiel&quot; class=&quot;mw-redirect&quot; title=&quot;Mozart&amp;#039;s Musikalisches Würfelspiel&quot;&gt;Mozart&amp;#039;s Musikalisches Würfelspiel&lt;/a&gt; to &lt;a href=&quot;/wiki/Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&quot; title=&quot;Mozart’s Musikalisches Würfelspiel&quot;&gt;Mozart’s Musikalisches Würfelspiel&lt;/a&gt;: Misspelled title: I changed the apostrophe in “Mozart’s” to curly (typographical) punctuation.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:10, 30 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Gabriel Ellsworth</name></author>
	</entry>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&amp;diff=6272&amp;oldid=prev</id>
		<title>Gabriel Ellsworth: I changed the apostrophe in “Mozart’s” to curly (typographical) punctuation.</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&amp;diff=6272&amp;oldid=prev"/>
		<updated>2026-01-30T10:39:20Z</updated>

		<summary type="html">&lt;p&gt;I changed the apostrophe in “Mozart’s” to curly (typographical) punctuation.&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 10:39, 30 January 2026&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Mozart&#039;s &lt;/del&gt;[https://en.wikipedia.org/wiki/Musikalisches_W%C3%BCrfelspiel Musikalisches Würfelspiel] (score [https://imslp.org/wiki/Musikalisches_W%C3%BCrfelspiel,_K.516f_(Mozart,_Wolfgang_Amadeus) available on IMSLP]) is a system to create a waltz by choosing each measure from a list of possibilities, with 759,499,667,166,482 possible waltzes in total. This is an implementation of the Würfelspiel using a bit of Scheme code to select the measures at random, producing a different waltz at each compilation. The code is an instructive example of creating music functions and manipulating music in Scheme.&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Mozart’s &lt;/ins&gt;[https://en.wikipedia.org/wiki/Musikalisches_W%C3%BCrfelspiel Musikalisches Würfelspiel] (score [https://imslp.org/wiki/Musikalisches_W%C3%BCrfelspiel,_K.516f_(Mozart,_Wolfgang_Amadeus) available on IMSLP]) is a system to create a waltz by choosing each measure from a list of possibilities, with 759,499,667,166,482 possible waltzes in total. This is an implementation of the Würfelspiel using a bit of Scheme code to select the measures at random, producing a different waltz at each compilation. The code is an instructive example of creating music functions and manipulating music in Scheme.&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;&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;&amp;lt;lilypond version=&amp;quot;2.24&amp;quot;&amp;gt;&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;&amp;lt;lilypond version=&amp;quot;2.24&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Gabriel Ellsworth</name></author>
	</entry>
	<entry>
		<id>https://wiki.lilypond.community/index.php?title=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&amp;diff=6101&amp;oldid=prev</id>
		<title>Jean Abou Samra: Make it work in 2.25</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&amp;diff=6101&amp;oldid=prev"/>
		<updated>2026-01-07T19:33:51Z</updated>

		<summary type="html">&lt;p&gt;Make it work in 2.25&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 19:33, 7 January 2026&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-l414&quot;&gt;Line 414:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 414:&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;         ((null? elts)&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;         ((null? elts)&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;          (list-&amp;gt;vector measures))&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;          (list-&amp;gt;vector measures))&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;         ((music-is-of-type? (car elts) &#039;bar-check)&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;         (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;(or &lt;/ins&gt;(music-is-of-type? (car elts) &#039;bar-check) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;;; until 2.25.5&lt;/ins&gt;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;             (music-is-of-type? (car elts) &#039;bar-check-event)) ;; since 2.25.6&lt;/ins&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;          (let ((measure-music (make-sequential-music measure)))&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;          (let ((measure-music (make-sequential-music measure)))&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;            (loop (cdr elts) &amp;#039;() (cons measure-music measures))))&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;            (loop (cdr elts) &amp;#039;() (cons measure-music measures))))&lt;/div&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=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&amp;diff=6097&amp;oldid=prev</id>
		<title>Jean Abou Samra at 15:26, 7 January 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&amp;diff=6097&amp;oldid=prev"/>
		<updated>2026-01-07T15:26:11Z</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 15:26, 7 January 2026&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-l18&quot;&gt;Line 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&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;   }&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;   }&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;   \tag table {&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;   \tag table {&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;     &amp;lt;&amp;lt; { g,&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8_&lt;/del&gt;&quot;Volta &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1&lt;/del&gt;&quot; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;g&lt;/del&gt;&#039;16 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f! &lt;/del&gt;e &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;d &lt;/del&gt;} \\ { g,&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8^&lt;/del&gt;&quot;Volta &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2&lt;/del&gt;&quot; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;b&lt;/del&gt;&#039;16 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;g fis &lt;/del&gt;e } &amp;gt;&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;&amp;lt; { g,&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8^&lt;/ins&gt;&quot;Volta &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;2&lt;/ins&gt;&quot; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;b&lt;/ins&gt;&#039;16 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;g fis &lt;/ins&gt;e } \\ { g,&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8_&lt;/ins&gt;&quot;Volta &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1&lt;/ins&gt;&quot; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;g&lt;/ins&gt;&#039;16 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f! &lt;/ins&gt;e &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;d &lt;/ins&gt;} &amp;gt;&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;   }&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;   }&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;}&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;}&lt;/div&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=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&amp;diff=6096&amp;oldid=prev</id>
		<title>Jean Abou Samra: Fix volte being swapped around, thanks Werner</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&amp;diff=6096&amp;oldid=prev"/>
		<updated>2026-01-07T15:24:23Z</updated>

		<summary type="html">&lt;p&gt;Fix volte being swapped around, thanks Werner&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 15:24, 7 January 2026&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-l14&quot;&gt;Line 14:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 14:&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;lhMeasureEight = \relative {&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;lhMeasureEight = \relative {&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;   \tag generation \alternative {&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;   \tag generation \alternative {&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;     \volta 1 { g,8 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;b&lt;/del&gt;&#039;16 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;g fis &lt;/del&gt;e }&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;     \volta 1 { g,8 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;g&lt;/ins&gt;&#039;16 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f! &lt;/ins&gt;e &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;d &lt;/ins&gt;}&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;     \volta 2 { g,8 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;g&lt;/del&gt;&#039;16 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f! &lt;/del&gt;e &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;d &lt;/del&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;     \volta 2 { g,8 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;b&lt;/ins&gt;&#039;16 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;g fis &lt;/ins&gt;e }&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;   }&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;   }&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;   \tag table {&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;   \tag table {&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;     &amp;lt;&amp;lt; { g,&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8^&lt;/del&gt;&quot;Volta 1&quot; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;b&lt;/del&gt;&#039;16 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;g fis &lt;/del&gt;e } \\ { g,&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8_&lt;/del&gt;&quot;Volta 2&quot; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;g&lt;/del&gt;&#039;16 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f! &lt;/del&gt;e &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;d &lt;/del&gt;} &amp;gt;&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;&amp;lt; { g,&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8_&lt;/ins&gt;&quot;Volta 1&quot; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;g&lt;/ins&gt;&#039;16 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f! &lt;/ins&gt;e &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;d &lt;/ins&gt;} \\ { g,&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;8^&lt;/ins&gt;&quot;Volta 2&quot; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;b&lt;/ins&gt;&#039;16 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;g fis &lt;/ins&gt;e } &amp;gt;&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;   }&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;   }&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;}&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;}&lt;/div&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=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&amp;diff=6094&amp;oldid=prev</id>
		<title>Jean Abou Samra: Create</title>
		<link rel="alternate" type="text/html" href="https://wiki.lilypond.community/index.php?title=Mozart%E2%80%99s_Musikalisches_W%C3%BCrfelspiel&amp;diff=6094&amp;oldid=prev"/>
		<updated>2026-01-07T14:46:38Z</updated>

		<summary type="html">&lt;p&gt;Create&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Mozart&amp;#039;s [https://en.wikipedia.org/wiki/Musikalisches_W%C3%BCrfelspiel Musikalisches Würfelspiel] (score [https://imslp.org/wiki/Musikalisches_W%C3%BCrfelspiel,_K.516f_(Mozart,_Wolfgang_Amadeus) available on IMSLP]) is a system to create a waltz by choosing each measure from a list of possibilities, with 759,499,667,166,482 possible waltzes in total. This is an implementation of the Würfelspiel using a bit of Scheme code to select the measures at random, producing a different waltz at each compilation. The code is an instructive example of creating music functions and manipulating music in Scheme.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lilypond version=&amp;quot;2.24&amp;quot;&amp;gt;&lt;br /&gt;
rhMeasureEight = \relative {&lt;br /&gt;
  \tag generation \alternative {&lt;br /&gt;
    \volta 1 { &amp;lt;g&amp;#039; b d g&amp;gt;4 r8 }&lt;br /&gt;
    \volta 2 { &amp;lt;g b d g&amp;gt;4 r8 }&lt;br /&gt;
  }&lt;br /&gt;
  \tag table {&lt;br /&gt;
    &amp;lt;g b d g&amp;gt;4 r8&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
lhMeasureEight = \relative {&lt;br /&gt;
  \tag generation \alternative {&lt;br /&gt;
    \volta 1 { g,8 b&amp;#039;16 g fis e }&lt;br /&gt;
    \volta 2 { g,8 g&amp;#039;16 f! e d }&lt;br /&gt;
  }&lt;br /&gt;
  \tag table {&lt;br /&gt;
    &amp;lt;&amp;lt; { g,8^&amp;quot;Volta 1&amp;quot; b&amp;#039;16 g fis e } \\ { g,8_&amp;quot;Volta 2&amp;quot; g&amp;#039;16 f! e d } &amp;gt;&amp;gt;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
rhData = \relative {&lt;br /&gt;
  | f&amp;#039;&amp;#039;8 d g&lt;br /&gt;
  | a,8 fis16 g b g&amp;#039;&lt;br /&gt;
  | g8 c, e&lt;br /&gt;
  | g8 d4\trill&lt;br /&gt;
  | \rhMeasureEight&lt;br /&gt;
  | g,8 c e&lt;br /&gt;
  | e16 c e g c g&lt;br /&gt;
  | c,4 r8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;8 &amp;lt;b d&amp;gt; r8&lt;br /&gt;
  | b16 a b c d b&lt;br /&gt;
  | e16 c b a g fis&lt;br /&gt;
  | &amp;lt;e c&amp;#039;&amp;gt;8 8 8&lt;br /&gt;
  | c&amp;#039;8( g e)&lt;br /&gt;
  | c&amp;#039;4 r8&lt;br /&gt;
  | e8 g16 e c8&lt;br /&gt;
  | a&amp;#039;8( fis d)&lt;br /&gt;
  | c16 g c e g, c&lt;br /&gt;
  | g8( c e)&lt;br /&gt;
  | e16 c e8 g&lt;br /&gt;
  | g8 b16 d d,8&lt;br /&gt;
  | c16 e g d a fis&amp;#039;&lt;br /&gt;
  | e8 c g&lt;br /&gt;
  | f&amp;#039;16 e d e f g&lt;br /&gt;
  | \rhMeasureEight&lt;br /&gt;
  | d,16 fis a d fis a&lt;br /&gt;
  | &amp;lt;c, e&amp;gt;8 8 8&lt;br /&gt;
  | f16 e f d c b&lt;br /&gt;
  | fis&amp;#039;16 d a a&amp;#039; fis d&lt;br /&gt;
  | b16 d g d b8&lt;br /&gt;
  | \rhMeasureEight&lt;br /&gt;
  | e16[ c g8] e&amp;#039;&lt;br /&gt;
  | g,8 c e&lt;br /&gt;
  | \rhMeasureEight&lt;br /&gt;
  | e16 c d b g8&lt;br /&gt;
  | a8 d fis&lt;br /&gt;
  | a,16 e&amp;#039; d g fis a&lt;br /&gt;
  | g16 b g d b8&lt;br /&gt;
  | c8 g e&amp;#039;&lt;br /&gt;
  | g8 g, g&lt;br /&gt;
  | c16 b c e g, c&lt;br /&gt;
  | c16 b c e g,8&lt;br /&gt;
  | b16 c d b a g&lt;br /&gt;
  | g&amp;#039;8 f16 e d c&lt;br /&gt;
  | a8 f&amp;#039;16 d a b&lt;br /&gt;
  | c16 b c g e c&lt;br /&gt;
  | g&amp;#039;&amp;#039;8 b16 g d b&lt;br /&gt;
  | g&amp;#039;8 g16 d b&amp;#039;8&lt;br /&gt;
  | e,8 c16 e g c&lt;br /&gt;
  | e,8( c g)&lt;br /&gt;
  | c8 e16 c g8&lt;br /&gt;
  | c16 g e&amp;#039; c g&amp;#039; e&lt;br /&gt;
  | d16( cis) d f g, b&lt;br /&gt;
  | &amp;lt;c e&amp;gt;8 16 &amp;lt;d f&amp;gt; &amp;lt;e g&amp;gt;8&lt;br /&gt;
  | &amp;lt;e, c&amp;#039;&amp;gt;8 8 8&lt;br /&gt;
  | g&amp;#039;8 b d,&lt;br /&gt;
  | d16 b g8 r8&lt;br /&gt;
  | e&amp;#039;8 c g&lt;br /&gt;
  | g&amp;#039;8 e c&lt;br /&gt;
  | g&amp;#039;8 c, e&lt;br /&gt;
  | g8 f16 e d c&lt;br /&gt;
  | c8 e16 c g&amp;#039;8&lt;br /&gt;
  | e16 c b g a fis&lt;br /&gt;
  | e&amp;#039;16 c b c g8&lt;br /&gt;
  | e&amp;#039;16 g c g e c&lt;br /&gt;
  | d16 a d8 fis&lt;br /&gt;
  | fis8 a fis&lt;br /&gt;
  | c16 b c e g, c&lt;br /&gt;
  | g&amp;#039;8 b16 g d g&lt;br /&gt;
  | g8( e c)&lt;br /&gt;
  | fis8 a16 fis d fis&lt;br /&gt;
  | g16 b d b g8&lt;br /&gt;
  | f16 e d c b d&lt;br /&gt;
  | g8 e c&lt;br /&gt;
  | c&amp;#039;16 b c g e c&lt;br /&gt;
  | &amp;lt;d fis&amp;gt;8 8 8&lt;br /&gt;
  | c&amp;#039;16 b c g e c&lt;br /&gt;
  | g&amp;#039;16 b g8 d&lt;br /&gt;
  | c8 c, r&lt;br /&gt;
  | c&amp;#039;4 r8&lt;br /&gt;
  | d8 a\turn fis&amp;#039;&lt;br /&gt;
  | \rhMeasureEight&lt;br /&gt;
  | d16[ b g8] g&amp;#039;&lt;br /&gt;
  | c,4 r8&lt;br /&gt;
  | c16 g e&amp;#039; c g&amp;#039; e&lt;br /&gt;
  | c8 e g,&lt;br /&gt;
  | d&amp;#039;8 d16 g b8&lt;br /&gt;
  | g8 c, e&lt;br /&gt;
  | g16 d g b g d&lt;br /&gt;
  | f16 e d8 g&lt;br /&gt;
  | fis16 a d a fis a&lt;br /&gt;
  | \rhMeasureEight&lt;br /&gt;
  | &amp;lt;b, d&amp;gt;8 g&amp;#039;16 b d,8&lt;br /&gt;
  | c4 r8&lt;br /&gt;
  | \rhMeasureEight&lt;br /&gt;
  | g&amp;#039;8 e c&lt;br /&gt;
  | e8 c g&lt;br /&gt;
  | g&amp;#039;16 fis g d b g&lt;br /&gt;
  | c8 g e&amp;#039;&lt;br /&gt;
  | fis8 a d,&lt;br /&gt;
  | \rhMeasureEight&lt;br /&gt;
  | e16 d e g c g&lt;br /&gt;
  | fis16 d a8 fis&amp;#039;&lt;br /&gt;
  | c16 e c g e8&lt;br /&gt;
  | e&amp;#039;16 d e g c g&lt;br /&gt;
  | fis8 a16 fis d fis&lt;br /&gt;
  | a,8 d16 c b a&lt;br /&gt;
  | \rhMeasureEight&lt;br /&gt;
  | e&amp;#039;8( g c)&lt;br /&gt;
  | d,16 f d f b, d&lt;br /&gt;
  | &amp;lt;b d&amp;gt;16( &amp;lt;a c&amp;gt;) q( &amp;lt;g b&amp;gt;) q( &amp;lt;fis a&amp;gt;)&lt;br /&gt;
  | c&amp;#039;4 r8&lt;br /&gt;
  | e8 c g&lt;br /&gt;
  | f&amp;#039;8 d b&lt;br /&gt;
  | &amp;lt;b d&amp;gt;8 q q&lt;br /&gt;
  | c16 g e&amp;#039; c g&amp;#039; e&lt;br /&gt;
  | d16 f a f d b&lt;br /&gt;
  | d16 a d fis a fis&lt;br /&gt;
  | e16 a g b fis a&lt;br /&gt;
  | e16 c g&amp;#039; e c&amp;#039; g&lt;br /&gt;
  | d&amp;#039;8 a16 fis d a&lt;br /&gt;
  | g&amp;#039;8 b16 g d8&lt;br /&gt;
  | g16 fis g b d,8&lt;br /&gt;
  | \rhMeasureEight&lt;br /&gt;
  | &amp;lt;e, c&amp;#039;&amp;gt;8 8 8&lt;br /&gt;
  | g&amp;#039;16 e d b g8&lt;br /&gt;
  | c16 g c e g &amp;lt;c, e&amp;gt;&lt;br /&gt;
  | \rhMeasureEight&lt;br /&gt;
  | b8 d g&lt;br /&gt;
  | a16 g fis g d8&lt;br /&gt;
  | &amp;lt;e, c&amp;#039;&amp;gt;8 8 8&lt;br /&gt;
  | c&amp;#039;4 r8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;8 &amp;lt;b d&amp;gt;16 &amp;lt;g b&amp;gt; g8&lt;br /&gt;
  | d&amp;#039;8 g16 d b d&lt;br /&gt;
  | a16 e&amp;#039; &amp;lt;b d&amp;gt; &amp;lt;a c&amp;gt; &amp;lt;g b&amp;gt; &amp;lt;fis a&amp;gt;&lt;br /&gt;
  | fis&amp;#039;8 fis16 d a&amp;#039;8&lt;br /&gt;
  | c16 b c g e c&lt;br /&gt;
  | c8 g e&amp;#039;&lt;br /&gt;
  | &amp;lt;a, d fis&amp;gt;8 fis&amp;#039;4\trill&lt;br /&gt;
  | g16 b g b d,8&lt;br /&gt;
  | a8 a16 d fis8&lt;br /&gt;
  | d16 e f d c b&lt;br /&gt;
  | c8 g e&amp;#039;&lt;br /&gt;
  | g8 d16 b g8&lt;br /&gt;
  | g&amp;#039;8 c, e&lt;br /&gt;
  | d16 f a, d b d&lt;br /&gt;
  | &amp;lt;fis, d&amp;#039;&amp;gt;8 &amp;lt;d&amp;#039; fis&amp;gt; &amp;lt;fis a&amp;gt;&lt;br /&gt;
  | e16 c&amp;#039; b g a fis&lt;br /&gt;
  | c&amp;#039;16 b c g e c&lt;br /&gt;
  | f16 d a8 b&lt;br /&gt;
  | &amp;lt;g c e&amp;gt;8 e&amp;#039;4\trill&lt;br /&gt;
  | c4 r8&lt;br /&gt;
  | g&amp;#039;8 f16 e d c&lt;br /&gt;
  | d16 a fis&amp;#039; d a&amp;#039; fis&lt;br /&gt;
  | d16 cis d fis a fis&lt;br /&gt;
  | g16 b g d b g&lt;br /&gt;
  | c16 g e&amp;#039; c g&amp;#039;8&lt;br /&gt;
  | e16 d e g c g&lt;br /&gt;
  | b,8 d16 b a g&lt;br /&gt;
  | e&amp;#039;16 g d c b a&lt;br /&gt;
  | c16 b c e g, c&lt;br /&gt;
  | &amp;lt;fis, d&amp;#039;&amp;gt;8 8 8&lt;br /&gt;
  | e&amp;#039;16 d e g c g&lt;br /&gt;
  | g16 fis g d b g&lt;br /&gt;
  | d&amp;#039;8 g,4&lt;br /&gt;
  | d&amp;#039;8( b g)&lt;br /&gt;
  | d&amp;#039;16 b&amp;#039; g d b8&lt;br /&gt;
  | c8 c16 d e8&lt;br /&gt;
  | g8 f16 e d c&lt;br /&gt;
  | e16 g d g a, fis&amp;#039;&lt;br /&gt;
  | c4 r8&lt;br /&gt;
  | b16 c d e f d&lt;br /&gt;
  | c4 r8&lt;br /&gt;
  | f16 a a,8 b16 d&lt;br /&gt;
  | g,8 c e&lt;br /&gt;
  | e16 c b d g8&lt;br /&gt;
  | a16 g b g d g&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
lhData = \relative {&lt;br /&gt;
  | f8 d g&lt;br /&gt;
  | &amp;lt;b, g&amp;#039;&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;4 r8&lt;br /&gt;
  | g16 b g&amp;#039;8 b,&lt;br /&gt;
  | \lhMeasureEight&lt;br /&gt;
  | &amp;lt;c e&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;c g&amp;#039;&amp;gt;4 r8&lt;br /&gt;
  | c8 g c,&lt;br /&gt;
  | g&amp;#039;&amp;#039;4 g,8&lt;br /&gt;
  | g&amp;#039;4 r8&lt;br /&gt;
  | c,8 d d,&lt;br /&gt;
  | c&amp;#039;8 8 8&lt;br /&gt;
  | &amp;lt;e g&amp;gt;4 8&lt;br /&gt;
  | c8 g c,&lt;br /&gt;
  | &amp;lt;c&amp;#039; g&amp;#039;&amp;gt;4 &amp;lt;c e&amp;gt;8&lt;br /&gt;
  | &amp;lt;d fis&amp;gt;4 &amp;lt;c fis&amp;gt;8&lt;br /&gt;
  | &amp;lt;e g&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;4 &amp;lt;c g&amp;#039;&amp;gt;8&lt;br /&gt;
  | &amp;lt;c g&amp;#039;&amp;gt;4 &amp;lt;c e&amp;gt;8&lt;br /&gt;
  | b4 r8&lt;br /&gt;
  | c8 d d,&lt;br /&gt;
  | c&amp;#039;4 r8&lt;br /&gt;
  | f16 e d e f g&lt;br /&gt;
  | \lhMeasureEight&lt;br /&gt;
  | d4 c8&lt;br /&gt;
  | c16 e g e c&amp;#039; c,&lt;br /&gt;
  | &amp;lt;g&amp;#039; b&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;c, a&amp;#039;&amp;gt;4 r8&lt;br /&gt;
  | g&amp;#039;4 g,8&lt;br /&gt;
  | \lhMeasureEight&lt;br /&gt;
  | &amp;lt;c g&amp;#039;&amp;gt;4 8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;4 r8&lt;br /&gt;
  | \lhMeasureEight&lt;br /&gt;
  | g&amp;#039;4 r8&lt;br /&gt;
  | &amp;lt;d fis&amp;gt;4 &amp;lt;c a&amp;#039;&amp;gt;8&lt;br /&gt;
  | c8 d d,&lt;br /&gt;
  | &amp;lt;b&amp;#039; d&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;16 g&amp;#039; q g q g&lt;br /&gt;
  | b,16 d g d b g&lt;br /&gt;
  | &amp;lt;c e&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;4 r8&lt;br /&gt;
  | g4 r8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;4 r8&lt;br /&gt;
  | f4 g8&lt;br /&gt;
  | &amp;lt;e g&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;b d&amp;gt;4 r8&lt;br /&gt;
  | q4 r8&lt;br /&gt;
  | &amp;lt;c g&amp;#039;&amp;gt;4 &amp;lt;c e&amp;gt;8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;16 g&amp;#039; q g q g&lt;br /&gt;
  | &amp;lt;e g&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;4 r8&lt;br /&gt;
  | f4 g8&lt;br /&gt;
  | c,4 r8&lt;br /&gt;
  | c8 8 8&lt;br /&gt;
  | &amp;lt;b d&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;g g&amp;#039;&amp;gt;4 g&amp;#039;8&lt;br /&gt;
  | &amp;lt;c, e&amp;gt;16 g&amp;#039; q g q g&lt;br /&gt;
  | q16 g q g q g&lt;br /&gt;
  | q16 g q g q g&lt;br /&gt;
  | &amp;lt;c, e&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;e g&amp;gt;4 r8&lt;br /&gt;
  | c8 d d,&lt;br /&gt;
  | c&amp;#039;4 r8&lt;br /&gt;
  | &amp;lt;c g&amp;#039;&amp;gt;4 8&lt;br /&gt;
  | &amp;lt;d fis&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;&amp;lt; { a&amp;#039;8 fis d } \\ { d8 d c } &amp;gt;&amp;gt;&lt;br /&gt;
  | &amp;lt;c e&amp;gt;4 &amp;lt;e g&amp;gt;8&lt;br /&gt;
  | b4 r8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;4 r8&lt;br /&gt;
  | d4 c8&lt;br /&gt;
  | &amp;lt;b d&amp;gt;4 8&lt;br /&gt;
  | f&amp;#039;4 g8&lt;br /&gt;
  | &amp;lt;c, e&amp;gt;16 g&amp;#039; q g q g&lt;br /&gt;
  | &amp;lt;c, e&amp;gt;4 r8&lt;br /&gt;
  | c8 8 8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;4 &amp;lt;c g&amp;#039;&amp;gt;8&lt;br /&gt;
  | &amp;lt;b d&amp;gt;4 &amp;lt;b g&amp;#039;&amp;gt;8&lt;br /&gt;
  | c4 c,8&lt;br /&gt;
  | c&amp;#039;8 g c,&lt;br /&gt;
  | c&amp;#039;4 r8&lt;br /&gt;
  | \lhMeasureEight&lt;br /&gt;
  | &amp;lt;b g&amp;#039;&amp;gt;4 &amp;lt;b d&amp;gt;8&lt;br /&gt;
  | c8 g c,&lt;br /&gt;
  | &amp;lt;c&amp;#039; e&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;e g&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;b g&amp;#039;&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;4 &amp;lt;c g&amp;#039;&amp;gt;8&lt;br /&gt;
  | &amp;lt;b d&amp;gt;4 8&lt;br /&gt;
  | f&amp;#039;16 e d8 g&lt;br /&gt;
  | &amp;lt;c, a&amp;#039;&amp;gt;4 8&lt;br /&gt;
  | \lhMeasureEight&lt;br /&gt;
  | &amp;lt;g g&amp;#039;&amp;gt;4 g&amp;#039;8&lt;br /&gt;
  | c,8 g c,&lt;br /&gt;
  | \lhMeasureEight&lt;br /&gt;
  | &amp;lt;c&amp;#039; e&amp;gt;4 r8&lt;br /&gt;
  | c4 r8&lt;br /&gt;
  | &amp;lt;b d&amp;gt;4 &amp;lt;b g&amp;#039;&amp;gt;8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;16 g&amp;#039; q g q g&lt;br /&gt;
  | &amp;lt;c, a&amp;#039;&amp;gt;4 8&lt;br /&gt;
  | \lhMeasureEight&lt;br /&gt;
  | &amp;lt;c g&amp;#039;&amp;gt;4 &amp;lt;c e&amp;gt;8&lt;br /&gt;
  | &amp;lt;c a&amp;#039;&amp;gt;4 8&lt;br /&gt;
  | &amp;lt;e g&amp;gt;4 r8&lt;br /&gt;
  | c4 r8&lt;br /&gt;
  | c4 r8&lt;br /&gt;
  | c8 d d,&lt;br /&gt;
  | \lhMeasureEight&lt;br /&gt;
  | &amp;lt;c&amp;#039; g&amp;#039;&amp;gt;4 &amp;lt;c e&amp;gt;8&lt;br /&gt;
  | &amp;lt;f a&amp;gt;4 &amp;lt;g d&amp;#039;&amp;gt;8&lt;br /&gt;
  | c,8 d d,&lt;br /&gt;
  | c&amp;#039;8 g c,&lt;br /&gt;
  | &amp;lt;c&amp;#039; e&amp;gt;16 g&amp;#039; q g q g&lt;br /&gt;
  | &amp;lt;g b&amp;gt;4 r8&lt;br /&gt;
  | g8 8 8&lt;br /&gt;
  | &amp;lt;c, e&amp;gt;4 r8&lt;br /&gt;
  | f4 g8&lt;br /&gt;
  | &amp;lt;d fis&amp;gt;4 r8&lt;br /&gt;
  | c8 d d,&lt;br /&gt;
  | &amp;lt;c&amp;#039; e&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;d fis&amp;gt;4 &amp;lt;c fis&amp;gt;8&lt;br /&gt;
  | &amp;lt;b g&amp;#039;&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;b d&amp;gt;8 8 &amp;lt;b g&amp;#039;&amp;gt;&lt;br /&gt;
  | \lhMeasureEight&lt;br /&gt;
  | c8 8 8&lt;br /&gt;
  | g&amp;#039;8 g, r&lt;br /&gt;
  | e&amp;#039;4 e16 c&lt;br /&gt;
  | \lhMeasureEight&lt;br /&gt;
  | g4 r8&lt;br /&gt;
  | &amp;lt;b d&amp;gt;8 8 &amp;lt;b g&amp;#039;&amp;gt;&lt;br /&gt;
  | c8 8 8&lt;br /&gt;
  | c8 g c,&lt;br /&gt;
  | g&amp;#039;&amp;#039;8 g, r8&lt;br /&gt;
  | &amp;lt;b g&amp;#039;&amp;gt;4 r8&lt;br /&gt;
  | c8 d d,&lt;br /&gt;
  | &amp;lt;&amp;lt; { d&amp;#039;8 d d } \\ { c8 c c } &amp;gt;&amp;gt;&lt;br /&gt;
  | &amp;lt;&amp;lt; e4 \\ c4 &amp;gt;&amp;gt; r8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;16 g&amp;#039; q g q g&lt;br /&gt;
  | d,16 d&amp;#039; cis d c d&lt;br /&gt;
  | b4 r8&lt;br /&gt;
  | &amp;lt;c fis&amp;gt;8 8 &amp;lt;c a&amp;#039;&amp;gt;&lt;br /&gt;
  | &amp;lt;b g&amp;#039;&amp;gt;4 g8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;b d&amp;gt;4 8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;16 g&amp;#039; q g q g&lt;br /&gt;
  | f4 g8&lt;br /&gt;
  | c,8 8 8&lt;br /&gt;
  | c8 d d,&lt;br /&gt;
  | &amp;lt;c&amp;#039; e&amp;gt;4 r8&lt;br /&gt;
  | f4 g8&lt;br /&gt;
  | c,16 b c d e fis&lt;br /&gt;
  | c8 g c,&lt;br /&gt;
  | &amp;lt;c&amp;#039; e&amp;gt;4 r8&lt;br /&gt;
  | c4 r8&lt;br /&gt;
  | c4 r8&lt;br /&gt;
  | &amp;lt;b d&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;e g&amp;gt;4 r8&lt;br /&gt;
  | c4 r8&lt;br /&gt;
  | g4 r8&lt;br /&gt;
  | c8 d d,&lt;br /&gt;
  | &amp;lt;c&amp;#039; e&amp;gt;4 8&lt;br /&gt;
  | c8 8 8&lt;br /&gt;
  | &amp;lt;c g&amp;#039;&amp;gt;4 &amp;lt;c e&amp;gt;8&lt;br /&gt;
  | &amp;lt;b d&amp;gt;4 r8&lt;br /&gt;
  | g&amp;#039;16 fis g d b g&lt;br /&gt;
  | b4 r8&lt;br /&gt;
  | &amp;lt;g&amp;#039; b&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;c, e&amp;gt;4 r8&lt;br /&gt;
  | &amp;lt;c e&amp;gt;4 &amp;lt;e g&amp;gt;8&lt;br /&gt;
  | c8 d d,&lt;br /&gt;
  | c&amp;#039;8 g c,&lt;br /&gt;
  | &amp;lt;g&amp;#039; g&amp;#039;&amp;gt;4 &amp;lt;b g&amp;#039;&amp;gt;8&lt;br /&gt;
  | c8 g c,&lt;br /&gt;
  | f&amp;#039;4 g8&lt;br /&gt;
  | &amp;lt;c, e&amp;gt;16 g&amp;#039; q g q g&lt;br /&gt;
  | g8 g, r8&lt;br /&gt;
  | &amp;lt;b d&amp;gt;4 8&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
table = #&amp;#039;(&lt;br /&gt;
#(96 32 69 40 148 104 152 119 98 3 54)&lt;br /&gt;
#(22 6 95 17 74 157 60 84 142 87 130)&lt;br /&gt;
#(141 128 158 113 163 27 171 114 42 165 10)&lt;br /&gt;
#(41 63 13 85 45 167 53 50 156 61 103)&lt;br /&gt;
#(105 146 153 161 80 154 99 140 75 135 28)&lt;br /&gt;
#(122 46 55 2 97 68 133 86 129 47 37)&lt;br /&gt;
#(11 134 110 159 36 118 21 169 62 147 106)&lt;br /&gt;
#(30 81 24 100 107 91 127 94 123 33 5)&lt;br /&gt;
#(70 117 66 90 25 138 16 120 65 102 35)&lt;br /&gt;
#(121 39 139 176 143 71 155 88 77 4 20)&lt;br /&gt;
#(26 126 15 7 64 150 57 48 19 31 108)&lt;br /&gt;
#(9 56 132 34 125 29 175 166 82 164 92)&lt;br /&gt;
#(112 174 73 67 76 101 43 51 137 144 12)&lt;br /&gt;
#(49 18 58 160 136 162 168 115 38 59 124)&lt;br /&gt;
#(109 116 145 52 1 23 89 72 149 173 44)&lt;br /&gt;
#(14 83 79 170 93 151 172 111 8 78 131)&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
#(define choices&lt;br /&gt;
   (map (lambda (possibilities)&lt;br /&gt;
          (1- (vector-ref possibilities (random 11))))&lt;br /&gt;
        table))&lt;br /&gt;
&lt;br /&gt;
#(define (split-measures music)&lt;br /&gt;
   (let ((elements (ly:music-property&lt;br /&gt;
                     (ly:music-property music &amp;#039;element)&lt;br /&gt;
                     &amp;#039;elements)))&lt;br /&gt;
     (let loop ((elts (reverse elements))&lt;br /&gt;
                (measure &amp;#039;())&lt;br /&gt;
                (measures &amp;#039;()))&lt;br /&gt;
       (cond&lt;br /&gt;
        ((null? elts)&lt;br /&gt;
         (list-&amp;gt;vector measures))&lt;br /&gt;
        ((music-is-of-type? (car elts) &amp;#039;bar-check)&lt;br /&gt;
         (let ((measure-music (make-sequential-music measure)))&lt;br /&gt;
           (loop (cdr elts) &amp;#039;() (cons measure-music measures))))&lt;br /&gt;
        (else&lt;br /&gt;
         (loop (cdr elts) (cons (car elts) measure) measures))))))&lt;br /&gt;
&lt;br /&gt;
applyChoices =&lt;br /&gt;
#(define-music-function (music) (ly:music?)&lt;br /&gt;
   (let* ((measures (split-measures music))&lt;br /&gt;
          (chosen-measures&lt;br /&gt;
           (map (lambda (i) (vector-ref measures i))&lt;br /&gt;
                choices))&lt;br /&gt;
          (first-part (make-sequential-music (take chosen-measures 8)))&lt;br /&gt;
          (second-part (make-sequential-music (drop chosen-measures 8))))&lt;br /&gt;
     #{&lt;br /&gt;
       \repeat volta 2 { #first-part }&lt;br /&gt;
       \repeat volta 2 { #second-part }&lt;br /&gt;
     #}))&lt;br /&gt;
&lt;br /&gt;
\header {&lt;br /&gt;
  title = &amp;quot;Valse&amp;quot;&lt;br /&gt;
  composer = &amp;quot;Mozart&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
randomWaltz =&lt;br /&gt;
\keepWithTag generation&lt;br /&gt;
\new PianoStaff &amp;lt;&amp;lt;&lt;br /&gt;
  \new Staff {&lt;br /&gt;
    \time 3/8&lt;br /&gt;
    \applyChoices \rhData&lt;br /&gt;
  }&lt;br /&gt;
  \new Staff {&lt;br /&gt;
    \clef bass&lt;br /&gt;
    \applyChoices \lhData&lt;br /&gt;
  }&lt;br /&gt;
&amp;gt;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\score {&lt;br /&gt;
  \layout { }&lt;br /&gt;
  \randomWaltz&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
\score {&lt;br /&gt;
  \midi { }&lt;br /&gt;
  \unfoldRepeats \randomWaltz&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
% Uncomment to display the table of all possible measures (&amp;quot;Notentafel&amp;quot;)&lt;br /&gt;
%{&lt;br /&gt;
\score {&lt;br /&gt;
  \layout {&lt;br /&gt;
    \context {&lt;br /&gt;
      \Score&lt;br /&gt;
      barNumberVisibility = #all-bar-numbers-visible&lt;br /&gt;
      \override BarNumber.break-visibility = #end-of-line-invisible&lt;br /&gt;
      centerBarNumbers = ##t&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
  \keepWithTag table &amp;lt;&amp;lt;&lt;br /&gt;
    \new Staff {&lt;br /&gt;
      \time 3/8&lt;br /&gt;
      \rhData&lt;br /&gt;
    }&lt;br /&gt;
    \new Staff {&lt;br /&gt;
      \clef bass&lt;br /&gt;
      \lhData&lt;br /&gt;
    }&lt;br /&gt;
  &amp;gt;&amp;gt;&lt;br /&gt;
}&lt;br /&gt;
%}&lt;br /&gt;
&amp;lt;/lilypond&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jean Abou Samra</name></author>
	</entry>
</feed>