Module:MOS gamut: Difference between revisions

Ganaram inukshuk (talk | contribs)
mNo edit summary
Ganaram inukshuk (talk | contribs)
mNo edit summary
Line 347: Line 347:
-- Create the first row; this needs an edo for the header, followed by the
-- Create the first row; this needs an edo for the header, followed by the
-- steps
-- steps
local steps_in_et = input_mos.nL * step_ratio[1] + input_mos.ns + step_ratio[2]
local steps_in_et = input_mos.nL * step_ratio[1] + input_mos.ns * step_ratio[2]
local et_for_mos = et.new(steps_in_et, input_mos.equave)
local et_for_mos = et.new(steps_in_et, input_mos.equave)
local result = result .. "! Steps of " .. et.as_string(et_for_mos) .. "\n"
local result = result .. "! Steps of " .. et.as_string(et_for_mos) .. "\n"