Template:Uniform map/doc

From Xenharmonic Wiki
Revision as of 17:20, 29 March 2025 by Sintel (talk | contribs) (update docs)
Jump to navigation Jump to search
This template is implemented by the Lua module Module:Uniform map.
This template invokes the following functions: print_table from Uniform map.

The Uniform map templates creates a table of p-limit uniform maps between two size boundaries.

Usage

This template accepts the following named arguments:

  1. edo: The central EDO for the range.
  2. min: Minimum size, given as 1\size (write only the decimal number).
  3. max: Maximum size, given as 1\size (write only the decimal number).
  4. limit: Prime limit (write only the prime number); defaults to 13-limit.

If no min/max are provided, the range wil be edo +/- 0.2 (see first example below).

Examples

Preferably, stick to just providing the EDO for the page:

{{Uniform map|edo=7}}

gives:

13-limit uniform maps between 6.8 and 7.2
Min. size Max. size Wart notation Map
6.7930 6.8911 7df 7 11 16 19 24 25]
6.8911 6.9460 7d 7 11 16 19 24 26]
6.9460 7.0821 7 7 11 16 20 24 26]
7.0821 7.1062 7e 7 11 16 20 25 26]
7.1062 7.1613 7ce 7 11 17 20 25 26]
7.1613 7.2557 7ceff 7 11 17 20 25 27]

You can customize the table by providing more arguments:

{{Uniform map|min=6.5|max=7.5|limit=5}}

gives:

5-limit uniform maps between 6.5 and 7.5
Min. size Max. size Wart notation Map
6.5000 6.6248 7bbcc 7 10 15]
6.6248 6.6755 7cc 7 11 15]
6.6755 7.1062 7 7 11 16]
7.1062 7.2557 7c 7 11 17]
7.2557 7.5000 7bc 7 12 17]