Module:Infobox AFDO: Difference between revisions
CompactStar (talk | contribs) No edit summary |
CompactStar (talk | contribs) No edit summary |
||
| Line 17: | Line 17: | ||
table.insert(infobox_data, { | table.insert(infobox_data, { | ||
'Fifth', | 'Fifth', | ||
fifth .. '/' .. steps .. '(' .. math.floor(math. | fifth .. '/' .. steps .. '(' .. math.floor(math.log(fifth/steps)/math.log(2) * 1200 * 1000)/1000 .. 'c)' | ||
}) | }) | ||
if(dualfifth) then | if(dualfifth) then | ||
table.insert(infobox_data, { | table.insert(infobox_data, { | ||
'Dual sharp fifth', | 'Dual sharp fifth', | ||
fifth .. '/' .. steps .. '(' .. math.floor(math. | fifth .. '/' .. steps .. '(' .. math.floor(math.log(fifth)/math.log(2) * 1200 * 1000)/1000 .. 'c)' | ||
}) | }) | ||
table.insert(infobox_data, { | table.insert(infobox_data, { | ||
'Dual flat fifth', | 'Dual flat fifth', | ||
(fifth-1) .. '/' .. steps .. '(' .. math.floor(math. | (fifth-1) .. '/' .. steps .. '(' .. math.floor(math.log((fifth-1)/steps)/math.log(2) * 1200 * 1000)/1000 .. 'c)' | ||
}) | }) | ||
end | end | ||