Template:Infobox interval: Difference between revisions

Fredg999 (talk | contribs)
m Link to module
Update and some clarifications
Line 23: Line 23:


The template will add the page to the categories when appropriate:
The template will add the page to the categories when appropriate:
* [[:Category:Rational intervals]] and [[:Category:Irrational intervals]];
* [[:Category: Rational intervals]] and [[:Category: Irrational intervals]];
* [[:Category:2-limit]], [[:Category:3-limit]], ...;
* [[:Category: 2-limit intervals]], [[:Category: 3-limit intervals]], ;
* [[:Category:Unnoticeable commas]], [[:Category:Small commas]], [[:Category:Medium commas]], [[:Category:Large commas]];
* [[:Category: Unnoticeable commas]], [[:Category: Small commas]], [[:Category: Medium commas]], [[:Category: Large commas]];
* [[:Category:Superparticular]];
* [[:Category: Superparticular ratios]];
* [[:Category:Harmonics]], [[:Category:Octave-reduced harmonics]], [[:Category:Subharmonics]], [[:Category:Octave-reduced subharmonics]];
* [[:Category: Harmonics]], [[:Category: Octave-reduced harmonics]], [[:Category: Subharmonics]], [[:Category: Octave-reduced subharmonics]];
* [[:Category:Pages with internal sound examples]];
* [[:Category: Pages with internal sound examples]];
* [[:Category:Todo:add interval ratio]], [[:Category:Todo:add interval name]], [[:Category:Todo:add color name]], [[:Category:Todo:remove explicit ket notation]], [[:Category:Todo:remove explicit cents]], [[:Category:Todo:initialise interval]], [[:Category:Todo:replace sup and sub with LaTeX]], [[:Category:Todo:remove manual line breaks]].
* [[:Category: Todo:add interval ratio]], [[:Category: Todo:add interval name]], [[:Category: Todo:add color name]], [[:Category: Todo:remove explicit ket notation]], [[:Category: Todo:remove explicit cents]], [[:Category: Todo:initialise interval]], [[:Category: Todo:replace sup and sub with LaTeX]], [[:Category: Todo:remove manual line breaks]].


The template supports the following parameters:
The template supports the following parameters:
Line 48: Line 48:
| [[Monzo]]
| [[Monzo]]
| Ket, Monzo
| Ket, Monzo
| Coefficients of the [[Monzo]] notation, separated by whitespaces. Derived from '''Ratio''' or specified or omitted for irrational intervals. If you specify one for an irrational interval, [[Template:Monzo]] with the provided argument will be printed.
| Coefficients of the [[monzo]] notation, separated by whitespaces. Derived from '''Ratio''' or specified or omitted for irrational intervals. If you specify one for an irrational interval, [[Template: Monzo]] with the provided argument will be printed.
|-
|-
| [[Smonzos and svals|Subgroup monzo]]
| [[Smonzos and svals|Subgroup monzo]]
|
|
| Shown instead of '''Factorization''' and '''Monzo''' when there is a sequence of 4+ zeros in ket notation. Derived either from '''Ratio''' or '''Monzo''' or omitted for irrational intervals.
| Shown instead of '''Factorization''' and '''Monzo''' when there is a sequence of 4 or more zeros in ket notation. Derived either from '''Ratio''' or '''Monzo''' or omitted for irrational intervals.
|-
|-
| [[Cent]]s
| [[Cent]]s
| Cents
| Cents
| Size in [[cent]]s. Either derived from '''Ratio''' or '''Monzo''' or specified for irrational intervals.
| Size in [[cent]]s. Either derived from '''Ratio''' or '''Monzo''' or specified for irrational intervals.
|-
| [[Comma|Comma size]]
| Comma
| Pass a non-empty string (for example, <code>yes</code> or <code>1</code>) to enable this entry. For specific values of '''Cents''', an interval is considered a comma. <math>(0; 3.5] \to</math> unnoticeable, <math>(3.5; 30] \to</math> small, <math>(30; 100] \to</math> medium, <math>(100; +∞) \to</math> large. If the interval is rational and is an integer power of another rational number, the entry is omitted.
|-
| [[Square superparticular|S-expression]]s
|
| For a rational '''Comma''', a search for S-expressions of specific forms is done.
|-
|-
| Name
| Name
Line 90: Line 82:
| Derived from '''Ratio''' or omitted.
| Derived from '''Ratio''' or omitted.
|-
|-
| [[Benedetti height]]
| [[Wilson height]]
|
|
| Derived from '''Ratio''', if the result is small, or omitted.
| Derived from '''Ratio''', or omitted.
|-
|-
| [[Harmonic entropy]]
| [[Harmonic entropy]]
|
|
| Harmonic entropy approximation (Shannon, <math>\sqrt{n\cdot d}</math> weights, <math>200\text{-integer limit}\cap\{x\mid\left|\left|x\right|\right|\leq 100\}</math>). Derived from '''Ratio''', '''Monzo''' or '''Cents'''.
| Harmonic entropy approximation (Shannon, <math>\sqrt{n\cdot d}</math> weights, <math>200\text{-integer limit}\cap\{x\mid\left|\left|x\right|\right|\leq 100\}</math>). Derived from '''Ratio''', '''Monzo''' or '''Cents'''.
|-
| [[Comma|Comma size]]
| Comma
| Pass a non-empty string (for example, <code>yes</code> or <code>1</code>) to enable this entry. For specific values of '''Cents''', an interval is considered a comma. <math>(0; 3.5] \to</math> unnoticeable, <math>(3.5; 30] \to</math> small, <math>(30; 100] \to</math> medium, <math>(100; +∞) \to</math> large. If the interval is rational and is an integer power of another rational number, the entry is omitted.
|-
| [[Square superparticular|S-expression]]s
|
| For a rational '''Comma''', a search for S-expressions of specific forms is done.
|-
|-
| Sound
| Sound
Line 149: Line 149:


== See also ==
== See also ==
* [[Module:Infobox Interval]]
* [[Module: Infobox Interval]]
* [[Template:Infobox ET]]
* [[Template: Infobox ET]]
* [[xen-calc]] – the according page of that tool gets linked automatically for rational intervals
* [[xen-calc]] – the according page of that tool gets linked automatically for rational intervals