Template:Harmonics in ED: Difference between revisions

From Xenharmonic Reference
Updated documentation
fix 1st argument point
Line 6: Line 6:
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 ====
==== Arguments ====
* '''edo:''' At the moment, only edos are supported, but more equal tunings should be supported in the future.
* '''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.
* '''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''.
* '''nowiki:''' Whether or not to ignore wiki formatting; 0 for ''false'', 1 for ''true''.

Revision as of 02:29, 17 December 2025

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).