Module:ED intro: Difference between revisions
m Removed equal link from "equal temperament" |
m Comments |
||
| Line 4: | Line 4: | ||
local p = {} | local p = {} | ||
-- | -- Module for creating an intro for an equal-division tuning. | ||
-- Supported types: edo, edt, edf, edh, edr, edc (for octave, tritave/twelfth, | |||
-- | -- fifth, arbitrary harmonic h, arbitrary ratio r, and arbitrary cents c). | ||
-- - | |||
-- | -- Notes: | ||
-- | -- - Edo and edt are technically edh's, and edf an edr; these are their own | ||
-- | -- types because their intros have specific wording. | ||
-- - | -- - Edh is a special case of edr, where the ratio is h/1. | ||
-- | -- - Under harmonotonic tuning, edc and edr are also called ASp and APSp | ||
-- | -- (ambitonal sequence and arithmetic pitch sequence, respectively). These | ||
-- were formerly called equal-step tunings but were reclassified as 1ed. | |||
-- - Equal divisions of irrational constants (such as pi and e) are not very | |||
-- common, but can be denoted as equal divisions of arbitrary cent values if | |||
-- needed. | |||
-- Parse ed function | -- Parse ed function | ||
| Line 131: | Line 135: | ||
end | end | ||
-- Produce a | -- Produce a table of key-value pairs of text to replace | ||
-- - ''k'': number of steps in ed | -- - ''k'': number of steps in ed | ||
-- - ''s'': size of a step | -- - ''s'': size of a step | ||