Module:MOS intro: Difference between revisions

Ganaram inukshuk (talk | contribs)
Fixed logic for step ratio range names
Ganaram inukshuk (talk | contribs)
chromatic/enharmonic -> (great)(grand)child/descendant, per discussions with fredg999 regarding use of the term "chromatic"
Line 167: Line 167:
local descendant_text = ""
local descendant_text = ""
if generations == 1 then
if generations == 1 then
descendant_text = string.format("%s is a '''chromatic scale''' of [[%s]]", mos.as_string(input_mos), mos.as_string(ancestor_mos))
descendant_text = string.format("%s is a child scale of [[%s]]", mos.as_string(input_mos), mos.as_string(ancestor_mos))
elseif generations == 2 then
elseif generations == 2 then
descendant_text = string.format("%s is an '''enharmonic scale''' of [[%s]]", mos.as_string(input_mos), mos.as_string(ancestor_mos))
descendant_text = string.format("%s is a grandchild scale of [[%s]]", mos.as_string(input_mos), mos.as_string(ancestor_mos))
elseif generations == 3 then
descendant_text = string.format("%s is a great-grandchild scale of [[%s]]", mos.as_string(input_mos), mos.as_string(ancestor_mos))
else
else
descendant_text = string.format("%s is a descendant scale of [[%s]]", mos.as_string(input_mos), mos.as_string(ancestor_mos))
descendant_text = string.format("%s is a descendant scale of [[%s]]", mos.as_string(input_mos), mos.as_string(ancestor_mos))