Template:Q-odd-limit intervals/doc: Difference between revisions
ArrowHead294 (talk | contribs) No edit summary |
No edit summary |
||
| (17 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{dochead}} | |||
This template generates a table for | This template generates a table with the approximations of intervals for a given [[edo]] and [[odd limit]]. | ||
=== Usage === | === Usage === | ||
Use one unnamed argument for the edo number. | Use one unnamed argument for the edo number. | ||
Use a second unnamed argument for the [[odd limit]]. The default is 15, since [[low-complexity just intonation]] typically involves just the first 16 harmonics of the harmonic series. Currently, this template stores prime numbers up to | Use a second unnamed argument for the [[odd limit]]. The default is 15, since [[low-complexity just intonation]] typically involves just the first 16 harmonics of the harmonic series. Currently, this template stores prime numbers up to 61 and supports odd limits up to 65. | ||
The title is | Pass <code>header=none</code> to get rid of the description. | ||
To list only direct approximations, pass <code>apx=direct</code>. To list only val-based approximations, pass <code>apx=val</code>, and the header will be suffixed with <code>(approximated with val)</code>. Otherwise, both approximations will be provided. | |||
If <code>apx</code> is set to <code>direct</code>, the header will be suffixed with <code>(approximated directly)</code>. If <code>apx</code> is set to <code>val</code>, the header will be suffixed with <code>(approximated with val)</code>. Pass <code>tag=none</code> to remove this. | |||
A note can be added below the header by passing <code>note=</code> followed by the text to be displayed. | |||
The title is "[Limit]-odd-limit intervals by patent val mapping", but you can enter a custom title by <code>title = [your title]</code>. | |||
=== Examples === | === Examples === | ||
You type | ; You type | ||
< | <pre>{{Q-odd-limit intervals|19}}</pre> | ||
{{Q-odd-limit intervals|19}} | |||
</ | |||
You get | ; You get | ||
{{ | {{{{ROOTPAGENAME}}|19}} | ||