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

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly>{{#invoke:15-odd-limit|odd_limit
<includeonly>{{#invoke:Odd-limit|odd_limit
| steps={{{1|{{{steps|12}}}}}}
| steps={{{1|{{{steps|12}}}}}}
| limit={{{2|{{{limit|15}}}}}}
| limit={{{2|{{{limit|15}}}}}}
Line 10: Line 10:


== See also ==
== See also ==
* [[Module:15-odd-limit]] – the module that actually implements the functionality.
* [[Module:Odd-limit]] – the module that actually implements the functionality.


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 18:19, 14 May 2024

This template generates a table with the approximations of intervals for a given edo and odd limit.

Documentation

This template generates a table with the approximations of intervals for a given edo and odd limit.

Usage

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 61 and supports odd limits up to 65.

Pass header=none to get rid of the description.

To list only direct approximations, pass apx=direct. To list only val-based approximations, pass apx=val, and the header will be suffixed with (approximated with val). Otherwise, both approximations will be provided.

If apx is set to direct, the header will be suffixed with (approximated directly). If apx is set to val, the header will be suffixed with (approximated with val). Pass tag=none to remove this.

A note can be added below the header by passing note= followed by the text to be displayed.

The title is "[Limit]-odd-limit intervals by patent val mapping", but you can enter a custom title by title = [your title].

Examples

You type
{{Q-odd-limit intervals|19}}
You get

Script error: No such module "Odd-limit".

See also