Module:Infobox regtemp: Difference between revisions
should be -arx if 3.5.(not 7) |
cotness should be number; also added equave support |
||
| Line 43: | Line 43: | ||
"Comma basis", | "Comma basis", | ||
basis | basis | ||
}) | }) | ||
| Line 75: | Line 60: | ||
end | end | ||
local cot = lowermap[1] | local equave = "o" | ||
local cot = tonumber(lowermap[1]) | |||
if tonumber(string.char(string.byte(subgroup, 1))) == 3 then | if tonumber(string.char(string.byte(subgroup, 1))) == 3 then | ||
local equave = "t" | |||
if tonumber(string.char(string.byte(subgroup, 3))) == 5 then | if tonumber(string.char(string.byte(subgroup, 3))) == 5 then | ||
if tonumber(string.char(string.byte(subgroup, 5))) == 7 then | if tonumber(string.char(string.byte(subgroup, 5))) == 7 then | ||
local cot = lowermap[2] | local cot = tonumber(lowermap[2]) | ||
end | end | ||
elseif tonumber(string.char(string.byte(subgroup, 3))) == 2 then -- edf | |||
local equave = "f" | |||
end | end | ||
end | end | ||
-- edo join | |||
table.insert(data, { | |||
"Edo join", | |||
"[[" .. edo_first .. "ed" .. equave .. "|" .. edo_first .. "]] & [[" .. edo_second .. "ed" .. equave .. "|" .. edo_second .. "]]" | |||
}) | |||
table.insert(data, { | |||
"Generator ([[" .. method .. "]])", | |||
"~" .. genfrac .. " = " .. tuning .. "c" | |||
}) | |||
table.insert(data, { | |||
"MOS scales", | |||
mos | |||
}) | |||
table.insert(data, { | table.insert(data, { | ||