Module:Infobox MOS: Difference between revisions
m Fixed error in null-large/null-small code (10L and/or 10s is not null-large/small) |
m Fixed errors with related scales |
||
| Line 187: | Line 187: | ||
local input_mos = input_mos or mos.new(5, 2) | local input_mos = input_mos or mos.new(5, 2) | ||
local parent_mos = mos.new(math.min(input_mos.nL, input_mos.ns), input_mos.nL - input_mos.ns, input_mos.equave) | local parent_mos = mos.new(math.min(input_mos.nL, input_mos.ns), math.abs(input_mos.nL-input_mos.ns), input_mos.equave) | ||
local soft_child_mos = mos.new(input_mos.nL+input_mos.ns, | local soft_child_mos = mos.new(input_mos.nL+input_mos.ns, input_mos.nL, input_mos.equave) | ||
local hard_child_mos = mos.new | local hard_child_mos = mos.new(input_mos.nL, input_mos.nL+input_mos.ns, input_mos.equave) | ||
local sister_mos = mos.new(input_mos.ns, input_mos.nL, input_mos.equave) | local sister_mos = mos.new(input_mos.ns, input_mos.nL, input_mos.equave) | ||