Module:Infobox ET: Difference between revisions
Fixes for 0edo Tag: Reverted |
+1 Tag: Reverted |
||
| Line 118: | Line 118: | ||
local fifth = -octave + twelfth -- 3/2 = [-1 1> | local fifth = -octave + twelfth -- 3/2 = [-1 1> | ||
local fifth_error = ET.cents(et, fifth) - rat.cents(rat.new(3, 2)) | local fifth_error = (step_size and ET.cents(et, fifth) or 0) - rat.cents(rat.new(3, 2)) | ||
local is_dual_fifth = step_size and math.abs(fifth_error) > step_size / 3 or false | local is_dual_fifth = step_size and math.abs(fifth_error) > step_size / 3 or false | ||