Template:Step vis/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) No edit summary |
||
Line 24: | Line 24: | ||
{{{{ROOTPAGENAME}}|5 2 5 0 4 5 0 5 3 1 4 0 5}} | {{{{ROOTPAGENAME}}|5 2 5 0 4 5 0 5 3 1 4 0 5}} | ||
<pre>{{Step vis|0 0 5 2 5 0 0 0 4 5 0 5 3 0 0 1 4 0 5 0 0 0}}</pre> | <pre>{{Step vis|0 0 5 2 5 0 0 0 4 5 0 5 3 0 0 1 4 0 5 3 2 0 0 0}}</pre> | ||
{{{{ROOTPAGENAME}}|0 0 5 2 5 0 0 0 4 5 0 5 3 0 0 1 4 0 5 0 0 0}} | {{{{ROOTPAGENAME}}|0 0 5 2 5 0 0 0 4 5 0 5 3 0 0 1 4 0 5 3 2 0 0 0}} |
Revision as of 12:03, 28 February 2025
![]() |
This template uses Lua: |
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.
For example, you can use these
{{Step vis|4 4 2 4 4 4 2}}
{{Step vis|4 1 4 1 4 1 4 1 4}}
to illustrate the 5L 2s and 5L 4s scales in 24edo:
├───┼───┼─┼───┼───┼───┼─┤
├───┼┼───┼┼───┼┼───┼┼───┤
Step patterns are drawn using the Unicode box-drawing symbols ├ (U+251C
), ┤ (U+2524
), ─ (U+2500
), and ┼ (U+253C
).
Regarding step sizes of 0
Step sizes of 0 are depicted using the symbol ╫ (U+256B
), ╢ (U+2562
), or ╟ (U+255F
), depending on the location.
{{Step vis|5 2 5 0 4 5 0 5 3 1 4 0 5}}
├────┼─┼────╫───┼────╫────┼──┼┼───╫────┤
{{Step vis|0 0 5 2 5 0 0 0 4 5 0 5 3 0 0 1 4 0 5 3 2 0 0 0}}
╟────┼─┼────╫───┼────╫────┼──╫┼───╫────┼──┼─╢