Template:Q-odd-limit intervals/doc: Difference between revisions

ArrowHead294 (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}
This template generates a table for JI approximation qualities in an [[edo]].
This template generates a table with the approximations of intervals for a given [[edo]] and [[odd limit]].


=== Usage ===
=== Usage ===
The template passes in the page's title as the number of step. Alternatively, pass in one unnamed argument for the edo number, or <code>steps=</code> followed by 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 31 and supports odd limits up to 35.
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.


Pass <code>header=none</code> to get rid of the description.
Pass <code>header=none</code> to get rid of the description.
Line 15: Line 15:
A note can be added below the header by passing <code>note=</code> followed by the text to be displayed.
A note can be added below the header by passing <code>note=</code> followed by the text to be displayed.


The title is by default "[Limit]-odd-limit intervals by patent val mapping". You can enter your custom title by <code>title = [your title]</code>.
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
<syntaxhighlight lang="text">
<pre>{{Q-odd-limit intervals|19}}</pre>
{{Q-odd-limit intervals|19}}
</syntaxhighlight>


You get
; You get
 
{{{{ROOTPAGENAME}}|19}}
: {{Q-odd-limit intervals|19}}
 
=== See also ===
* {{modlink}}