Module:Infobox ET: Difference between revisions

CompactStar (talk | contribs)
fixing code
CompactStar (talk | contribs)
I tried to edit the major third display code but it keeps complaining about a syntax error, will remove it until the error stops
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), 4)


local infobox_data = {}
local infobox_data = {}
Line 150: Line 151:
end
end
table.insert(infobox_data, {
'major 3rd',
u._round(ET.cents(et, major_third), 4)
})
local consistency = tonumber(frame.args['Consistency'])
local consistency = tonumber(frame.args['Consistency'])