Template:Harmonics in equal/doc: Difference between revisions

Sintel (talk | contribs)
No edit summary
m →Advanced: fix and formatting
Line 25: Line 25:


<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
{{primes in edo
{{primes in equal
| steps = <number of steps>
| steps = <number of steps>
| num = <numerator>
| num = <numerator>
Line 36: Line 36:
</syntaxhighlight>
</syntaxhighlight>


* steps: Number of steps. This parameter can also be given without the parameter name.  
; steps
* num: Numerator of the interval that is divided equally. Can be used without parameter name. Default: 2.
: Number of steps. This parameter can also be given without the parameter name.  
* denom: Denominator of the interval that is divided equally. Can be used without parameter name. Default: 1.
; num
* columns: number of primes to include, the default (8) means 2, 3, 5, 7, 11, 13, 17, 19
: Numerator of the interval that is divided equally. Can be used without parameter name. Default: 2.
* start: Default is 1 (which means the prime 2), set to 2 to skip the octave.
; denom
* prec: Precision of absolute error (digits after the decimal point), default is estimated according to the step size.
: Denominator of the interval that is divided equally. Can be used without parameter name. Default: 1.
* title: Default is: "Approximations of prime intervals 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.
; columns
: number of primes to include, the default (8) means 2, 3, 5, 7, 11, 13, 17, 19
; start
: Default is 1 (which means the prime 2), set to 2 to skip the octave.
; prec
: Precision of absolute error (digits after the decimal point), default is estimated according to the step size.
; title
: Default is: "Approximations of prime intervals 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.


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