Module:ET: Difference between revisions
Approximating with 0edo |
The "ratio" is a float... |
||
Line 107: | Line 107: | ||
towards = towards or 0 | towards = towards or 0 | ||
if et.size == 0 then | if et.size == 0 then | ||
return | return 0 | ||
end | end | ||
local exact = math.log(ratio) / math.log(rat.as_float(et.equave)) * et.size | local exact = math.log(ratio) / math.log(rat.as_float(et.equave)) * et.size |