Module:MOS tunings: Difference between revisions
mNo edit summary |
Undo revision 153573 by Ganaram inukshuk (talk) Tag: Undo |
||
| Line 115: | Line 115: | ||
-- 30% of the small step size, and maxes out at 30 cents. | -- 30% of the small step size, and maxes out at 30 cents. | ||
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 = math.min((mos.equave_to_cents(input_mos) / steps_in_et) * 0. | local tolerance = math.min((mos.equave_to_cents(input_mos) / steps_in_et) * 0.30, 30) | ||
-- Calculate the cent values for each interval in the modal union | -- Calculate the cent values for each interval in the modal union | ||