Template:Harmonics in ED: Difference between revisions

From Xenharmonic Reference
fix 1st argument point
mNo edit summary
Line 1: Line 1:
<includeonly>{{#invoke: Harmonics_in_ED | table  
<includeonly>{{#invoke: Harmonics_in_ED | table  
| et = {{{1}}}
| et = {{{1}}}
| p_lim = {{{2}}}
| p_lim = {{{2|31}}}
| nowiki = {{{3}}}
| nowiki = {{{3}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>

Revision as of 18:03, 16 February 2026

Takes an equal tuning and returns a table with approximations of its prime harmonics up to a given number.

Arguments

  • et: The edo to display the table for. 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).