<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://xenreference.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AADIN</id>
	<title>Module:ADIN - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://xenreference.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3AADIN"/>
	<link rel="alternate" type="text/html" href="https://xenreference.com/wiki/index.php?title=Module:ADIN&amp;action=history"/>
	<updated>2026-04-07T03:44:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://xenreference.com/wiki/index.php?title=Module:ADIN&amp;diff=1705&amp;oldid=prev</id>
		<title>Vector: Created page with &quot;local p = {}  -- WIP -- WIP -- WIP  function p.findClosest(edo,cents) return math.floor((edo*cents/1200)+0.5) end  function p.findSmallestAbove(edo,cents) return math.ceil((edo*cents/1200)) end  function p.findSmallestBelow(edo,cents) return math.floor((edo*cents/1200)) end  function p.ADIN(step,edo) gen = (math.log(3/2)/math.log(2))*1200 dgen = 1200-gen third = (((gen*4)%1200) + ((gen*-3)%1200))/2 sixth = 1200-third second = dgen-third seventh = 1200-second fifth = gen-...&quot;</title>
		<link rel="alternate" type="text/html" href="https://xenreference.com/wiki/index.php?title=Module:ADIN&amp;diff=1705&amp;oldid=prev"/>
		<updated>2025-12-26T04:32:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {}  -- WIP -- WIP -- WIP  function p.findClosest(edo,cents) return math.floor((edo*cents/1200)+0.5) end  function p.findSmallestAbove(edo,cents) return math.ceil((edo*cents/1200)) end  function p.findSmallestBelow(edo,cents) return math.floor((edo*cents/1200)) end  function p.ADIN(step,edo) gen = (math.log(3/2)/math.log(2))*1200 dgen = 1200-gen third = (((gen*4)%1200) + ((gen*-3)%1200))/2 sixth = 1200-third second = dgen-third seventh = 1200-second fifth = gen-...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
-- WIP&lt;br /&gt;
-- WIP&lt;br /&gt;
-- WIP&lt;br /&gt;
&lt;br /&gt;
function p.findClosest(edo,cents)&lt;br /&gt;
return math.floor((edo*cents/1200)+0.5)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.findSmallestAbove(edo,cents)&lt;br /&gt;
return math.ceil((edo*cents/1200))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.findSmallestBelow(edo,cents)&lt;br /&gt;
return math.floor((edo*cents/1200))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.ADIN(step,edo)&lt;br /&gt;
gen = (math.log(3/2)/math.log(2))*1200&lt;br /&gt;
dgen = 1200-gen&lt;br /&gt;
third = (((gen*4)%1200) + ((gen*-3)%1200))/2&lt;br /&gt;
sixth = 1200-third&lt;br /&gt;
second = dgen-third&lt;br /&gt;
seventh = 1200-second&lt;br /&gt;
fifth = gen-((gen*7)%1200)/2&lt;br /&gt;
fourth = 1200-fifth&lt;br /&gt;
names = {}&lt;br /&gt;
sthird = p.findClosest(edo,third)&lt;br /&gt;
names[p.findClosest(edo,third)] = &amp;quot;neutral third&amp;quot;&lt;br /&gt;
names[p.findClosest(edo,sixth)] = &amp;quot;neutral sixth&amp;quot;&lt;br /&gt;
names[p.findClosest(edo,second)] = &amp;quot;neutral second&amp;quot;&lt;br /&gt;
names[p.findClosest(edo,seventh)] = &amp;quot;neutral seventh&amp;quot;&lt;br /&gt;
names[p.findClosest(edo,fourth)] = &amp;quot;neutral fourth&amp;quot;&lt;br /&gt;
names[p.findClosest(edo,fifth)] = &amp;quot;neutral fifth&amp;quot;&lt;br /&gt;
names[edo] = &amp;quot;octave&amp;quot;&lt;br /&gt;
&lt;br /&gt;
return fifth&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- module disabled for now cuz this is WIP&lt;br /&gt;
&lt;br /&gt;
-- return p&lt;/div&gt;</summary>
		<author><name>Vector</name></author>
	</entry>
</feed>