Template:Harmonics in ED: Difference between revisions
From Xenharmonic Reference
No edit summary |
Tristanbay (talk | contribs) Updated documentation |
||
| Line 4: | Line 4: | ||
| nowiki = {{{3}}} | | nowiki = {{{3}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Takes an equal tuning and returns a table with approximations of its prime harmonics up to a given number. | Takes an equal tuning and returns a table with approximations of its prime harmonics up to a given number. | ||
==== Arguments ==== | |||
* '''edo:''' At the moment, only edos are supported, but more equal tunings should be supported in the future. | |||
* '''p_lim:''' The maximum harmonic to display if prime; otherwise, display the largest prime smaller than the value of this argument. | |||
* '''nowiki:''' Whether or not to ignore wiki formatting; 0 for ''false'', 1 for ''true''. | |||
=== Usage example === | === Usage example === | ||
<pre>{{Harmonics in ED|41|23}}</pre> | <pre>{{Harmonics in ED|41|23|0}}</pre> | ||
{{Harmonics in ED|41|23|0}} | {{Harmonics in ED|41|23|0}} | ||
</noinclude> | </noinclude> | ||
Revision as of 02:27, 17 December 2025
Takes an equal tuning and returns a table with approximations of its prime harmonics up to a given number.
Arguments
- edo: At the moment, only edos are supported, but more equal tunings should be supported in the future.
- p_lim: The maximum harmonic to display if prime; otherwise, display the largest prime smaller than the value of this argument.
- nowiki: Whether or not to ignore wiki formatting; 0 for false, 1 for true.
Usage example
{{Harmonics in ED|41|23|0}}
Lua error in Module:Harmonics_in_ED at line 70: attempt to concatenate local 'type' (a nil value).
