Module:Infobox ET: Difference between revisions
CompactStar (talk | contribs) No edit summary |
Undo. See Talk: Template: Infobox ET Tag: Undo |
||
Line 94: | Line 94: | ||
local fifth_error = ET.cents(et, fifth) - i._to_cents(3/2) | local fifth_error = ET.cents(et, fifth) - i._to_cents(3/2) | ||
local dual_fifth = math.abs(fifth_error) > step_size / 3 | local dual_fifth = math.abs(fifth_error) > step_size / 3 | ||
local A1 = -11 * octave + 7 * twelfth -- 2187/2048 = [-11 7> | local A1 = -11 * octave + 7 * twelfth -- 2187/2048 = [-11 7> | ||
Line 100: | Line 99: | ||
local A1_cents = u._round(ET.cents(et, A1), 4) | local A1_cents = u._round(ET.cents(et, A1), 4) | ||
local m2_cents = u._round(ET.cents(et, m2), 4) | local m2_cents = u._round(ET.cents(et, m2), 4) | ||
local infobox_data = {} | local infobox_data = {} | ||
Line 150: | Line 146: | ||
}) | }) | ||
end | end | ||
local consistency = tonumber(frame.args['Consistency']) | local consistency = tonumber(frame.args['Consistency']) | ||
if consistency == nil then | if consistency == nil then |