Module:Infobox MOS: Difference between revisions
rewrite tamnams info section |
mNo edit summary |
||
| Line 186: | Line 186: | ||
-- a larger array. | -- a larger array. | ||
function p.tamnams_information(input_mos) | function p.tamnams_information(input_mos) | ||
local input_mos = input_mos or mos.new( | local input_mos = input_mos or mos.new(5,2) | ||
-- If a mos is octave-equivalent and has 10 or fewer steps, then it has a | -- If a mos is octave-equivalent and has 10 or fewer steps, then it has a | ||
-- tamnams name/prefix/abbrev. | -- tamnams name/prefix/abbrev. | ||
-- If a mos is octave-equivalent | -- If a mos is octave-equivalent and has more than 10 steps, then: | ||
-- periods, then | -- - If it has 5 periods or less, then its closest ancestor has a tamnams | ||
-- | -- name. | ||
-- If | -- - If it has more than 5 periods, then it relates to a root mos nL ns that | ||
-- has more than 10 steps and is outside the named range. | |||
-- If a mos is not octave-equivalent, then it may have a tamnams name (if | -- If a mos is not octave-equivalent, then it may have a tamnams name (if | ||
-- step count is 5 or less; currently unsupported) or not. | -- step count is 5 or less; currently unsupported) or not. | ||