Template:MOS tuning spectrum/doc

From Xenharmonic Wiki
Revision as of 02:52, 5 October 2025 by Ganaram inukshuk (talk | contribs) (params for (unusual) use-cases, for completeness)
Jump to navigation Jump to search
This template is implemented by the Lua module Module:MOS tuning spectrum.
This template invokes the following functions: mos_tuning_spectrum from MOS tuning spectrum.

This template displays the tuning spectrum of a given MOS scale, showing various step ratios from 1:1 (equalised) to 1:0 (collapsed).

Parameters

Scale Signature
The scale (in terms of long and short intervals, e.g. 5L 2s).
Depth
The depth of the resulting scale tree.
Int Limit
Changes search behavior to find ratios whose numerator or denominator do not exceed the int limit. If used, Depth is ignored.
Todo: add documentation


L/s
A comment for the step ratio L/s step ratio, written as | L/s = . Note that comments for step ratios "outside" the depth or int limit are currently not displayed.
Initial Ratios
A list of ratios from which mediants are successively found. Ratios are denoted as L/s, and individual ratios are separated using semicolons. Ratios entered this way are automatically sorted in ascending order. If not used, mediants between 1:1 and 1:0, or 1/1; 1/0, are found.