Template:Harmonics in equal/doc: Difference between revisions

ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
Line 35: Line 35:
</syntaxhighlight>
</syntaxhighlight>


; steps
; <code>steps</code>
: Number of steps. This parameter can also be given without the parameter name. Default: 12.
: Number of steps. This parameter can also be given without the parameter name. Default: 12.
; num
; <code>num</code>
: Numerator of the interval that is divided equally. Can be used without parameter name. Default: 2.
: Numerator of the interval that is divided equally. Can be used without parameter name. Default: 2.
; denom
; <code>denom</code>
: Denominator of the interval that is divided equally. Can be used without parameter name. Default: 1.
: Denominator of the interval that is divided equally. Can be used without parameter name. Default: 1.
; columns
; </code>columns</code>
: Number of intervals to include. Default: 10.  
: Number of intervals to include. Default: 10.  
; start
; <code>start</code>
: Default is 1 (which means the prime 2), set to 2 to skip the octave.
: Default is 1 (which means the prime 2), set to 2 to skip the octave.
; prec
; <code>prec</code>
: Precision of absolute error (digits after the decimal point), default is estimated according to the step size.
: Precision of absolute error (digits after the decimal point), default is estimated according to the step size.
; title
; <code>title</code>
: Default is: "Approximations of harmonics in ''name''". By default, the names for divisions of 2/1, 3/1 and 3/2 will be displayed as 'edo', 'edt' and 'edf' respectively. When the denominator is 1, it will not be displayed.
: Default is: "Approximations of harmonics in ''name''". By default, the names for divisions of 2/1, 3/1 and 3/2 will be displayed as 'edo', 'edt' and 'edf' respectively. When the denominator is 1, it will not be displayed.
; intervals
; <code>intervals</code>
: Can be <code>prime</code> for primes, <code>odd</code> for odd harmonics and <code>integer</code> for integer harmonics. By default, edos get primes if they are consistent for the odd harmonics up to 21, otherwise they get odds. Everything that is not an edo gets integers.
: Can be <code>prime</code> for primes, <code>odd</code> for odd harmonics and <code>integer</code> for integer harmonics. By default, edos get primes if they are consistent for the odd harmonics up to 21, otherwise they get odds. Everything that is not an edo gets integers.
; collapsed
; <code>collapsed</code>
: Anything here to collapse the table.  
: Anything here to collapse the table.


=== Examples ===
=== Examples ===