Module:MOS tunings: Difference between revisions

Ganaram inukshuk (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
No edit summary
Line 172: Line 172:
-- from an et-step. (ET may be a non-integer value.)
-- from an et-step. (ET may be a non-integer value.)
local steps_in_et = input_mos.nL * avg_step_ratio[1] + input_mos.ns * avg_step_ratio[2]
local steps_in_et = input_mos.nL * avg_step_ratio[1] + input_mos.ns * avg_step_ratio[2]
local tolerance = (rat.cents(input_mos.equave) / steps_in_et) * 0.15
local tolerance = (rat.cents(input_mos.equave) / steps_in_et) * 0.2
-- Calculate the cent values for each interval in the modal union
-- Calculate the cent values for each interval in the modal union