Module:JI ratios: Difference between revisions
mNo edit summary |
m comments |
||
| Line 15: | Line 15: | ||
-- This is a successor/replacement for JI ratio finder. | -- This is a successor/replacement for JI ratio finder. | ||
-- | -- Module searches for ratios that are, at the minimum, up to an equave and are | ||
-- | -- up to some integer limit. Search hierarchy is as follows: | ||
-- | -- - Search by subgroup (includes non-integer and rational elements) | ||
-- - | -- - Then search by prime limit | ||
-- | -- - Then search by odd limit (to be implemented) | ||
-- - | -- - Then search by int limit | ||
-- | |||
-- | -- Optional args omit ratios that don't meet certain conditions, and are used | ||
-- - | -- to further limit the number of ratios found. Current options include: | ||
-- | -- - Tenney Height: omits ratios that exceed some max Tenney height. Has no | ||
-- - | -- effect if no Tenney height is passed in. | ||
-- | -- - Complements Only: omits ratios and their equave complements if either would | ||
-- be omitted by Tenney height, or if no Tenney height is entered, omits | |||
-- ratios whose complements are missing. | |||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 261: | Line 263: | ||
-- Function callable by other modules | -- Function callable by other modules | ||
-- | -- Ratios are returned as a table, for use with other modules | ||
function p._ji_ratios(args) | function p._ji_ratios(args) | ||
-- Args for ease of access | -- Args for ease of access | ||