Module:MOS tunings: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 115: | Line 115: | ||
-- 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. | local tolerance = (rat.cents(input_mos.equave) / steps_in_et) * 0.30 | ||
-- Calculate the cent values for each interval in the modal union | -- Calculate the cent values for each interval in the modal union | ||
| Line 134: | Line 134: | ||
local mos_abbrev = mos_abbrev or "m" | local mos_abbrev = mos_abbrev or "m" | ||
local step_ratios = step_ratios or { {2,1}, {3,1}, {3,2} } | local step_ratios = step_ratios or { {2,1}, {3,1}, {3,2} } | ||
local search_params = {["Int Limit"] = | local search_params = {["Int Limit"] = 20, ["Tenney Height"] = 9, ["Prime Limit"] = 17} | ||
local modal_union = mos.modal_union(input_mos) | local modal_union = mos.modal_union(input_mos) | ||