Module:MOS intro: Difference between revisions

Ganaram inukshuk (talk | contribs)
m a cent symbol
Ganaram inukshuk (talk | contribs)
Added link to ancestral scale
Line 94: Line 94:
local descendant_type = ""
local descendant_type = ""
if generations == 1 then
if generations == 1 then
descendant_type = string.format("%s is a '''chromatic scale of %s'''.", mos.as_string(input_mos), mos.as_string(ancestor_mos))
descendant_type = string.format("%s is a '''chromatic scale of [[%s''']].", mos.as_string(input_mos), mos.as_string(ancestor_mos))
elseif generations == 2 then
elseif generations == 2 then
descendant_type = string.format("%s is an '''enharmonic scale of %s'''.", mos.as_string(input_mos), mos.as_string(ancestor_mos))
descendant_type = string.format("%s is an '''enharmonic scale of [[%s''']].", mos.as_string(input_mos), mos.as_string(ancestor_mos))
else
else
descendant_type = string.format("%s is a descendant scale of %s.", mos.as_string(input_mos), mos.as_string(ancestor_mos))
descendant_type = string.format("%s is a descendant scale of [[%s]].", mos.as_string(input_mos), mos.as_string(ancestor_mos))
end
end