Module:Infobox ET: Difference between revisions
CompactStar (talk | contribs) No edit summary |
CompactStar (talk | contribs) No edit summary |
||
| Line 102: | Line 102: | ||
local major_third = -(6 * octave) + 4 * twelfth | local major_third = -(6 * octave) + 4 * twelfth | ||
local major_third_cents = u._round(ET.cents(et, major_third), | local major_third_cents = u._round(ET.cents(et, major_third), 6) | ||
local infobox_data = {} | local infobox_data = {} | ||
| Line 150: | Line 150: | ||
}) | }) | ||
end | end | ||
table.insert(infobox_data, { | |||
'Major 3rd', | |||
major_third .. '\\' .. tuning .. ' (' .. major_third_cents .. '¢)' | |||
}) | |||
local consistency = tonumber(frame.args['Consistency']) | local consistency = tonumber(frame.args['Consistency']) | ||
if consistency == nil then | if consistency == nil then | ||