Template:Step vis: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Ganaram inukshuk (talk | contribs)
Added documentation
Ganaram inukshuk (talk | contribs)
Updated doc; template now supports size-0 steps
Line 13: Line 13:
{{Step vis|1=5 5 5 3 5 5 3}}
{{Step vis|1=5 5 5 3 5 5 3}}


== Limitations ==
Step patterns are drawn using the ASCII box drawing symbols ├, ┤, ─, and ┼. Step sizes of 0 are depicted using the symbol ╫.
 
Step sizes of 0 are currently not supported, and such step sizes will be the same as that of a step size of 1.


<pre>{{Step vis|5 5 5 0 5 5 0}}</pre>
<pre>{{Step vis|5 5 5 0 5 5 0}}</pre>
{{Step vis|5 5 5 0 5 5 0}}
{{Step vis|5 5 5 0 5 5 0}}
<pre>{{Step vis|5 5 5 1 5 5 1}}</pre>
{{Step vis|5 5 5 1 5 5 1}}
</noinclude>
</noinclude>

Revision as of 07:09, 11 December 2023

This template is used to visualize the step pattern of a scale given as a sequence of whole-number step sizes.

Usage

Step patterns are entered as shown below. The first parameter should contain the step pattern, with step sizes separated by spaces.

{{Step vis|5 5 5 3 5 5 3}}

Script error: The function "step_vis_frame" does not exist.

{{Step vis|1=5 5 5 3 5 5 3}}

Script error: The function "step_vis_frame" does not exist.

Step patterns are drawn using the ASCII box drawing symbols ├, ┤, ─, and ┼. Step sizes of 0 are depicted using the symbol ╫.

{{Step vis|5 5 5 0 5 5 0}}

Script error: The function "step_vis_frame" does not exist.