<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://ja.xen.wiki/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3AMOS_modes</id>
	<title>モジュール:MOS modes - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://ja.xen.wiki/index.php?action=history&amp;feed=atom&amp;title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%3AMOS_modes"/>
	<link rel="alternate" type="text/html" href="https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:MOS_modes&amp;action=history"/>
	<updated>2026-07-21T20:39:56Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:MOS_modes&amp;diff=1360&amp;oldid=prev</id>
		<title>2026年4月1日 (水) 18:18にFurcht968による</title>
		<link rel="alternate" type="text/html" href="https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:MOS_modes&amp;diff=1360&amp;oldid=prev"/>
		<updated>2026-04-01T18:18:45Z</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;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2026年4月1日 (水) 18:18時点における版&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-l43&quot;&gt;43行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;43行目:&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;	-- Start of 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;	-- Start of table&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;	local result = &amp;quot;{| class=\&amp;quot;wikitable sortable center-2 center-3 mw-collapsible&amp;quot; .. (is_collapsed and &amp;quot; mw-collapsed\&amp;quot;\n&amp;quot; or &amp;quot;\&amp;quot;\n&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;	local result = &amp;quot;{| class=\&amp;quot;wikitable sortable center-2 center-3 mw-collapsible&amp;quot; .. (is_collapsed and &amp;quot; mw-collapsed\&amp;quot;\n&amp;quot; or &amp;quot;\&amp;quot;\n&amp;quot;)&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;		.. &quot;|+ style=\&quot;font-size: 105%; white-space: nowrap;\&quot; | &quot; .. string.format(&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Modes of &lt;/del&gt;%&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;s&lt;/del&gt;\n&quot;, scale_sig)&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;		.. &quot;|+ style=\&quot;font-size: 105%; white-space: nowrap;\&quot; | &quot; .. string.format(&quot;%&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;sの旋法&lt;/ins&gt;\n&quot;, scale_sig)&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;quot;|-\n&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;		.. &amp;quot;|-\n&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;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>Furcht968</name></author>
	</entry>
	<entry>
		<id>https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:MOS_modes&amp;diff=1359&amp;oldid=prev</id>
		<title>2026年4月1日 (水) 18:17にFurcht968による</title>
		<link rel="alternate" type="text/html" href="https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:MOS_modes&amp;diff=1359&amp;oldid=prev"/>
		<updated>2026-04-01T18:17:48Z</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;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2026年4月1日 (水) 18:17時点における版&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-l49&quot;&gt;49行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;49行目:&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;	result = result&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;	result = result&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;quot;! [[UDP]]&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;		.. &amp;quot;! [[UDP]]&amp;quot;&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;		.. &quot; !! &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Cyclic&amp;lt;br /&amp;gt;order&lt;/del&gt;&quot;&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;		.. &quot; !! &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;循環順序&lt;/ins&gt;&quot;&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;		.. &quot; !! &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Step&amp;lt;br /&amp;gt;pattern&lt;/del&gt;&quot;&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;		.. &quot; !! &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;パターン&lt;/ins&gt;&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;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;	-- Add header for mode names, if provided.&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;	-- Add header for mode names, if provided.&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;	if add_mode_names then&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;	if add_mode_names then&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;		result = result .. &quot; !! class=\&quot;unsortable\&quot; | &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Mode names&lt;/del&gt;&quot;&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;		result = result .. &quot; !! class=\&quot;unsortable\&quot; | &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;旋法名&lt;/ins&gt;&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;div&gt;	end&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;	end&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 colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l105&quot;&gt;105行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;105行目:&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;	if scale_sig == &amp;quot;5L 2s&amp;quot; then&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;	if scale_sig == &amp;quot;5L 2s&amp;quot; then&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;		mode_names = {  &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;		mode_names = {  &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;			&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Lydian&lt;/del&gt;&quot;,&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;			&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;リディアン&lt;/ins&gt;&quot;,&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;			&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Ionian &lt;/del&gt;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;major&lt;/del&gt;)&quot;,&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;			&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;イオニアン &lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;メジャー/長調&lt;/ins&gt;)&quot;,&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;			&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Mixolydian&lt;/del&gt;&quot;,&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;			&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ミクソリディアン&lt;/ins&gt;&quot;,&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;			&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Dorian&lt;/del&gt;&quot;,&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;			&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ドリアン&lt;/ins&gt;&quot;,&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;			&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Aeolian &lt;/del&gt;(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;minor&lt;/del&gt;)&quot;,&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;			&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;エオリアン &lt;/ins&gt;(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;マイナー/短調&lt;/ins&gt;)&quot;,&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;			&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Phrygian&lt;/del&gt;&quot;,&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;			&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;フリジアン&lt;/ins&gt;&quot;,&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;			&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Locrian&lt;/del&gt;&quot;&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;			&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ロクリアン&lt;/ins&gt;&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;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;	end&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;	end&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Furcht968</name></author>
	</entry>
	<entry>
		<id>https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:MOS_modes&amp;diff=1351&amp;oldid=prev</id>
		<title>Furcht968: ページの作成:「local p = {}  local mos = require(&quot;Module:MOS&quot;) local rat = require(&quot;Module:Rational&quot;) local tamnams = require(&quot;Module:TAMNAMS&quot;) local tip = require(&quot;Module:Template input parse&quot;) local utils = require(&quot;Module:Utils&quot;) local yesno = require(&quot;Module:Yesno&quot;)  -- TODO: -- - Add ability to autocollapse on large mos pages (say, more than 12 modes)  -- &quot;Main&quot; function -- To be called by wrapper function p._mos_modes(input_mos, mode_names, headers, entries, is_collapsed) 	l…」</title>
		<link rel="alternate" type="text/html" href="https://ja.xen.wiki/index.php?title=%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB:MOS_modes&amp;diff=1351&amp;oldid=prev"/>
		<updated>2026-04-01T17:35:49Z</updated>

		<summary type="html">&lt;p&gt;ページの作成:「local p = {}  local mos = require(&amp;quot;Module:MOS&amp;quot;) local rat = require(&amp;quot;Module:Rational&amp;quot;) local tamnams = require(&amp;quot;Module:TAMNAMS&amp;quot;) local tip = require(&amp;quot;Module:Template input parse&amp;quot;) local utils = require(&amp;quot;Module:Utils&amp;quot;) local yesno = require(&amp;quot;Module:Yesno&amp;quot;)  -- TODO: -- - Add ability to autocollapse on large mos pages (say, more than 12 modes)  -- &amp;quot;Main&amp;quot; function -- To be called by wrapper function p._mos_modes(input_mos, mode_names, headers, entries, is_collapsed) 	l…」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
local mos = require(&amp;quot;Module:MOS&amp;quot;)&lt;br /&gt;
local rat = require(&amp;quot;Module:Rational&amp;quot;)&lt;br /&gt;
local tamnams = require(&amp;quot;Module:TAMNAMS&amp;quot;)&lt;br /&gt;
local tip = require(&amp;quot;Module:Template input parse&amp;quot;)&lt;br /&gt;
local utils = require(&amp;quot;Module:Utils&amp;quot;)&lt;br /&gt;
local yesno = require(&amp;quot;Module:Yesno&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
-- TODO:&lt;br /&gt;
-- - Add ability to autocollapse on large mos pages (say, more than 12 modes)&lt;br /&gt;
&lt;br /&gt;
-- &amp;quot;Main&amp;quot; function&lt;br /&gt;
-- To be called by wrapper&lt;br /&gt;
function p._mos_modes(input_mos, mode_names, headers, entries, is_collapsed)&lt;br /&gt;
	local is_collapsed = true&lt;br /&gt;
	local input_mos = input_mos or mos.new(5,2)&lt;br /&gt;
	local mode_names = mode_names or {}&lt;br /&gt;
	local headers = headers or {}&lt;br /&gt;
	local entries = entries or {}&lt;br /&gt;
	&lt;br /&gt;
	-- Get UDPs and CPOs&lt;br /&gt;
	local udps = tamnams.mos_mode_udps(input_mos)&lt;br /&gt;
	local cpos = tamnams.mos_mode_cpos(input_mos)&lt;br /&gt;
	&lt;br /&gt;
	-- Get the mos&amp;#039;s modes&lt;br /&gt;
	local mos_modes = mos.modes_by_brightness(input_mos)&lt;br /&gt;
&lt;br /&gt;
	-- Check whether to add mode names&lt;br /&gt;
	local add_mode_names = #mode_names == #mos_modes&lt;br /&gt;
&lt;br /&gt;
	-- Check whether the number of headers times the number of modes equals the&lt;br /&gt;
	-- number of entries. Supplementary info can only be added if this condition&lt;br /&gt;
	-- is met. Limited to 3 columns of supplementary info.&lt;br /&gt;
	local add_columns = #headers &amp;gt; 0 and #entries &amp;gt; 0&lt;br /&gt;
	if add_columns then&lt;br /&gt;
		add_columns = add_columns and #mos_modes * #headers == #entries and #headers &amp;lt;= 3&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Table caption&lt;br /&gt;
	local scale_sig = mos.as_string(input_mos)&lt;br /&gt;
	&lt;br /&gt;
	-- Start of table&lt;br /&gt;
	local result = &amp;quot;{| class=\&amp;quot;wikitable sortable center-2 center-3 mw-collapsible&amp;quot; .. (is_collapsed and &amp;quot; mw-collapsed\&amp;quot;\n&amp;quot; or &amp;quot;\&amp;quot;\n&amp;quot;)&lt;br /&gt;
		.. &amp;quot;|+ style=\&amp;quot;font-size: 105%; white-space: nowrap;\&amp;quot; | &amp;quot; .. string.format(&amp;quot;Modes of %s\n&amp;quot;, scale_sig)&lt;br /&gt;
		.. &amp;quot;|-\n&amp;quot;&lt;br /&gt;
		&lt;br /&gt;
	-- Table headers&lt;br /&gt;
	result = result&lt;br /&gt;
		.. &amp;quot;! [[UDP]]&amp;quot;&lt;br /&gt;
		.. &amp;quot; !! Cyclic&amp;lt;br /&amp;gt;order&amp;quot;&lt;br /&gt;
		.. &amp;quot; !! Step&amp;lt;br /&amp;gt;pattern&amp;quot;&lt;br /&gt;
	&lt;br /&gt;
	-- Add header for mode names, if provided.&lt;br /&gt;
	if add_mode_names then&lt;br /&gt;
		result = result .. &amp;quot; !! class=\&amp;quot;unsortable\&amp;quot; | Mode names&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Add column headers for supplementary info, if provided.&lt;br /&gt;
	if add_columns then&lt;br /&gt;
		for i = 1, #headers do&lt;br /&gt;
			result = result .. string.format(&amp;quot; !! class=\&amp;quot;unsortable\&amp;quot; | %s&amp;quot;, headers[i])&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	result = result .. &amp;quot;\n&amp;quot;&lt;br /&gt;
	&lt;br /&gt;
	-- Enter each row&lt;br /&gt;
	for i = 1, #mos_modes do&lt;br /&gt;
		result = result .. &amp;quot;|-\n&amp;quot;&lt;br /&gt;
		&lt;br /&gt;
		-- Add the UDP, brightness order, and the mode&amp;#039;s step pattern&lt;br /&gt;
		result = result .. string.format(&amp;quot;| %s || %s || %s&amp;quot;,&lt;br /&gt;
			udps[i], cpos[i], mos_modes[i])&lt;br /&gt;
		&lt;br /&gt;
		-- Add the mode&amp;#039;s name, if given&lt;br /&gt;
		if add_mode_names  then&lt;br /&gt;
			result = result .. string.format(&amp;quot; || %s&amp;quot;, mode_names[i])&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		-- Add columns if given&lt;br /&gt;
		if add_columns then&lt;br /&gt;
			for j = 1, #headers do&lt;br /&gt;
				local index = (i - 1) * #headers + j&lt;br /&gt;
				result = result .. string.format(&amp;quot; || %s&amp;quot;, entries[index])&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		result = result .. &amp;quot;\n&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	result = result .. &amp;quot;|}&amp;quot;&lt;br /&gt;
	return result&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Wrapper function; to be called by template&lt;br /&gt;
function p.modes_table(frame)&lt;br /&gt;
	local scale_sig = frame.args[&amp;quot;Scale Signature&amp;quot;] or &amp;quot;5L 2s&amp;quot;&lt;br /&gt;
	local input_mos = mos.parse(scale_sig)&lt;br /&gt;
	&lt;br /&gt;
	-- Get the mos&amp;#039;s mode names, if given&lt;br /&gt;
	-- Mode names are entered as a semicolon-delimited list&lt;br /&gt;
	-- 5L 2s gets default names&lt;br /&gt;
	local mode_names = nil&lt;br /&gt;
	if scale_sig == &amp;quot;5L 2s&amp;quot; then&lt;br /&gt;
		mode_names = { &lt;br /&gt;
			&amp;quot;Lydian&amp;quot;,&lt;br /&gt;
			&amp;quot;Ionian (major)&amp;quot;,&lt;br /&gt;
			&amp;quot;Mixolydian&amp;quot;,&lt;br /&gt;
			&amp;quot;Dorian&amp;quot;,&lt;br /&gt;
			&amp;quot;Aeolian (minor)&amp;quot;,&lt;br /&gt;
			&amp;quot;Phrygian&amp;quot;,&lt;br /&gt;
			&amp;quot;Locrian&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Get mode names entered&lt;br /&gt;
	if #frame.args[&amp;quot;Mode Names&amp;quot;] ~= 0 then&lt;br /&gt;
		mode_names = tip.parse_entries(frame.args[&amp;quot;Mode Names&amp;quot;], &amp;quot;$&amp;quot;)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Get supplementary info&lt;br /&gt;
	local headers_unparsed = frame.args[&amp;quot;Table Headers&amp;quot;]&lt;br /&gt;
	local headers = tip.parse_entries(headers_unparsed, &amp;quot;$&amp;quot;)&lt;br /&gt;
	local entries_unparsed = frame.args[&amp;quot;Table Entries&amp;quot;]&lt;br /&gt;
	local entries = tip.parse_entries(entries_unparsed, &amp;quot;$&amp;quot;)&lt;br /&gt;
	local is_collapsed = yesno(frame.args[&amp;quot;Collapsed&amp;quot;], false)&lt;br /&gt;
	local debugg = yesno(frame.args[&amp;quot;debug&amp;quot;])&lt;br /&gt;
	local result = p._mos_modes(input_mos, mode_names, headers, entries, is_collapsed)&lt;br /&gt;
	&lt;br /&gt;
	-- Current means of adding entries is unmaintainable; to be deprecated.&lt;br /&gt;
	if headers_unparsed ~= &amp;quot;&amp;quot; and entries_unparsed ~= &amp;quot;&amp;quot; then&lt;br /&gt;
		result = result .. &amp;quot;[[Category:Pages with deprecated template parameters]]&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- Debugger option&lt;br /&gt;
	if debugg == true then&lt;br /&gt;
		result = &amp;quot;&amp;lt;syntaxhighlight lang=\&amp;quot;wikitext\&amp;quot;&amp;gt;&amp;quot; .. result .. &amp;quot;&amp;lt;/syntaxhighlight&amp;gt;&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return frame:preprocess(result)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Furcht968</name></author>
	</entry>
</feed>