Module:ED intro: Difference between revisions
Bugfixing abbrev for edc |
mNo edit summary |
||
| Line 113: | Line 113: | ||
intro_text = "'''1 equal division of ''p''/''q''''' (abbreviated '''1ed''p''/''q'''''), also called '''ambitonal sequence of ''p''/''q''''' ('''AS''p''/''q''''') or '''''p''/''q'' equal-step tuning''', is the [[non-octave]] [[tuning system]] where adjacent pitches are one interval of [[''p''/''q'']], or exactly/about ''s'' [[¢]], apart from each other." | intro_text = "'''1 equal division of ''p''/''q''''' (abbreviated '''1ed''p''/''q'''''), also called '''ambitonal sequence of ''p''/''q''''' ('''AS''p''/''q''''') or '''''p''/''q'' equal-step tuning''', is the [[non-octave]] [[tuning system]] where adjacent pitches are one interval of [[''p''/''q'']], or exactly/about ''s'' [[¢]], apart from each other." | ||
elseif ed_type == "edc" then | elseif ed_type == "edc" then | ||
intro_text = "'''1 equal division of '' | intro_text = "'''1 equal division of ''c''¢''' (abbreviated '''1ed''c''c'''), also called '''arithmetic pitch sequence of ''c''c''' ('''APS''c''c'''), is the [[non-octave]] [[tuning system]] where adjacent pitches are exactly/about ''s'' [[¢]] apart from each other." | ||
end | end | ||
else | else | ||
| Line 127: | Line 127: | ||
intro_text = "'''''k'' equal divisions of ''p''/''q''''' (abbreviated '''''k''ed''p''/''q''''') is the [[non-octave]] [[tuning system]] that divides the interval [[''p''/''q'']] into ''k'' [[equal]] pieces of exactly/about ''s'' [[¢]] each. Each step of ''k''ed''p''/''q'' represents the [[frequency ratio]] of (''p''/''q'')<sup>1/''k''</sup>, or the ''kth'' root of ''p''/''q''." | intro_text = "'''''k'' equal divisions of ''p''/''q''''' (abbreviated '''''k''ed''p''/''q''''') is the [[non-octave]] [[tuning system]] that divides the interval [[''p''/''q'']] into ''k'' [[equal]] pieces of exactly/about ''s'' [[¢]] each. Each step of ''k''ed''p''/''q'' represents the [[frequency ratio]] of (''p''/''q'')<sup>1/''k''</sup>, or the ''kth'' root of ''p''/''q''." | ||
elseif ed_type == "edc" then | elseif ed_type == "edc" then | ||
intro_text = "'''''k'' equal divisions of '' | intro_text = "'''''k'' equal divisions of ''c''¢''' (abbreviated '''''k''ed''c''c''') is the [[non-octave]] [[tuning system]] that divides interval of ''c''¢ is divided into ''k'' [[equal]] pieces of exactly/about ''s'' [[¢]] each." | ||
end | end | ||
end | end | ||
| Line 136: | Line 136: | ||
-- - ''p''/''q'': equave as a ratio | -- - ''p''/''q'': equave as a ratio | ||
-- - ''h'': equave as a harmonic | -- - ''h'': equave as a harmonic | ||
-- - '' | -- - ''c'': equave as a cent value | ||
-- - ''hth'': harmonic as an ordinal | -- - ''hth'': harmonic as an ordinal | ||
-- - ''kth'': step count as an ordinal | -- - ''kth'': step count as an ordinal | ||
| Line 143: | Line 143: | ||
["''k''"] = parsed_ed['steps'], | ["''k''"] = parsed_ed['steps'], | ||
["''s''"] = utils._round_dec(step_size, 3), | ["''s''"] = utils._round_dec(step_size, 3), | ||
["'' | ["''c''"] = utils._round_dec(parsed_ed['cents'], 3), | ||
["''p''/''q''"] = parsed_ed['ratio'], | ["''p''/''q''"] = parsed_ed['ratio'], | ||
["''h''"] = parsed_ed['equave'], | ["''h''"] = parsed_ed['equave'], | ||