Module:Infobox MOS: Difference between revisions
No edit summary |
No edit summary |
||
| Line 102: | Line 102: | ||
local next_s = '[[' .. mos.nL .. 'L ' .. (mos.ns + 1) .. 's' .. equave_link .. '|↓' .. mos.nL .. 'L' .. (mos.ns + 1) .. 's' .. equave_disp .. '\n]]' | local next_s = '[[' .. mos.nL .. 'L ' .. (mos.ns + 1) .. 's' .. equave_link .. '|↓' .. mos.nL .. 'L' .. (mos.ns + 1) .. 's' .. equave_disp .. '\n]]' | ||
local paucitonic_et = mos.nL | local paucitonic_et = ET.new(mos.nL) | ||
local paucitonic_bright_steps = frame.args['paucitonic_bright_steps'] | local paucitonic_bright_steps = frame.args['paucitonic_bright_steps'] | ||
local paucitonic_dark_steps = | local paucitonic_dark_steps = mos.nL - paucitonic_bright_steps | ||
local equalized_et = mos.nL + mos.ns | local equalized_et = mos.nL + ET.new(mos.ns) | ||
local equalized_bright_steps = frame.args['equalized_bright_steps'] | local equalized_bright_steps = frame.args['equalized_bright_steps'] | ||
local equalized_dark_steps = | local equalized_dark_steps = mos.nL + mos.ns - equalized_bright_steps | ||
equave = 2 | equave = 2 | ||
| Line 123: | Line 123: | ||
'Range for [[bright]] [[generator]]', | 'Range for [[bright]] [[generator]]', | ||
display_range(paucitonic_bright_steps/paucitonic_et, equalized_bright_steps/equalized_et, | display_range(paucitonic_bright_steps/paucitonic_et, equalized_bright_steps/equalized_et, | ||
paucitonic_bright_steps .. | paucitonic_bright_steps .. ET.backslash_modifier(paucitonic_et) .. ' (' .. round(ET.cents(paucitonic_et, paucitonic_bright_steps), 1) .. '¢)', | ||
equalized_bright_steps .. | equalized_bright_steps .. ET.backslash_modifier(equalized_et) .. ' (' .. round(ET.cents(equalized_et, equalized_bright_steps), 1) .. '¢)' | ||
) | ) | ||
}) | }) | ||
| Line 130: | Line 130: | ||
'Range for [[dark]] [[generator]]', | 'Range for [[dark]] [[generator]]', | ||
display_range(paucitonic_dark_steps/paucitonic_et, equalized_dark_steps/equalized_et, | display_range(paucitonic_dark_steps/paucitonic_et, equalized_dark_steps/equalized_et, | ||
paucitonic_dark_steps .. '\\' .. paucitonic_et .. ' (' .. round(ET.cents | paucitonic_dark_steps .. '\\' .. ET.backslash_modifier(paucitonic_et) .. ' (' .. round(ET.cents(paucitonic_et, paucitonic_dark_steps), 1) .. '¢)', | ||
equalized_dark_steps .. '\\' .. equalized_et .. ' (' .. round(ET.cents | equalized_dark_steps .. '\\' .. ET.backslash_modifier(equalized_et) .. ' (' .. round(ET.cents(equalized_et, equalized_dark_steps), 1) .. '¢)' | ||
) | ) | ||
}) | }) | ||