Module:Infobox ET: Difference between revisions

Plumtree (talk | contribs)
m Bugfix
Plumtree (talk | contribs)
m Typo
Line 46: Line 46:
local step_size = i._backslash_ratio('1\\' .. tuning)
local step_size = i._backslash_ratio('1\\' .. tuning)
local fifth_error = i._to_cents(i._backslash_ratio(approximate(size, equave, 3/2) .. '\\' .. tuning)) - i._to_cents(3/2)
local fifth_error = i._to_cents(i._backslash_ratio(approximate(size, equave, 3/2) .. '\\' .. tuning)) - i._to_cents(3/2)
local dual_fifth = math.abs(fifth_error) > i._to_centes(step_size) / 3
local dual_fifth = math.abs(fifth_error) > i._to_cents(step_size) / 3


local infobox_data = {}
local infobox_data = {}