Module:Infobox ET: Difference between revisions
Sharp & flat fifth added |
m Bugfix |
||
Line 45: | Line 45: | ||
end | end | ||
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 | 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_centes(step_size) / 3 | ||