Template:Interval edo approximation: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Manual revert |
No edit summary |
||
| Line 13: | Line 13: | ||
{{Interval_Edo_Approximation|3/2}} | {{Interval_Edo_Approximation|3/2}} | ||
</pre> | </pre> | ||
if the name of the page is the interval you're trying to create a table of, use | |||
<pre> | |||
{{Interval_Edo_Approximation | {{PAGENAME}}}} | |||
</pre> | |||
=== With named parameter === | === With named parameter === | ||
<pre> | <pre> | ||
Revision as of 09:20, 3 November 2025
Usage
This template generates EDO approximation tables for just intervals. | source code here
Basic syntax
{{Interval_Edo_Approximation|3/2}}
if the name of the page is the interval you're trying to create a table of, use
{{Interval_Edo_Approximation | {{PAGENAME}}}}
With named parameter
{{Interval_Edo_Approximation|interval=5/4}}
With custom parameters
{{Interval_Edo_Approximation|interval=7/6|tolerance=10|min_edo=12|max_edo=72}}
Parameters
- interval (or first unnamed parameter) - The just interval ratio (required). Format: "numerator/denominator" (e.g., "3/2", "5/4", "7/6")
- tolerance - Relative error tolerance in percent (optional, default: 9)
- min_edo - Minimum EDO to check (optional, default: 5)
- max_edo - Maximum EDO to check (optional, default: 60)
Examples
Perfect fifth (3/2)
Script error: No such module "Interval_Edo_Approximation".
Major third (5/4) with custom tolerance (20%)
Script error: No such module "Interval_Edo_Approximation".
Septimal minor third (7/6) with extended range (up to 80EDO)
Script error: No such module "Interval_Edo_Approximation".