Template:Ups and downs sharpness: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
Tristanbay (talk | contribs)
added "sz" parameter for Stein-Zimmerman accidentals for EDOs with even sharpnesses
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#invoke: Ups_and_downs_sharpness | ud_sharpness
<includeonly>{{#invoke: Ups_and_downs_sharpness | ud_sharpness
| edo = {{#rmatch: {{{1|{{PAGENAMEE}}}}}|/(\d+)/|\1}}
| edo = {{#rmatch: {{{1|{{PAGENAME}}}}}|/(\d+)/|\1|24}}
| sz = {{{2|false}}}
| debug = {{lc: {{{debug|}}}}}
| debug = {{lc: {{{debug|}}}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>

Latest revision as of 22:35, 13 October 2025

Template documentation[view] [edit] [history] [purge]
This template is implemented by the Lua module Module:Ups and downs sharpness.
This template invokes the following functions: ud_sharpness from Ups and downs sharpness.
This template should not be substituted.

This template creates a table that displays the combinations of symbols for different amounts of steps from a natural note for a given edo in Kite's ups and downs notation.

Parameters

  • edo: Selects the edo to notate (if left blank, it will be in whatever edo the page is for, or 24edo if it is not an edo page).
  • sz: Controls whether or not the table uses Stein–Zimmerman accidentals for even-sharpness edos (true/false, defaults to false).
  • debug: Displays the Wikitext to be rendered.

Known issues: SZ accidentals don't display for sharp-2 edos

Examples

{{Ups and downs sharpness}}
Semitones 0 1⁄2 1 1 1⁄2 2 2 1⁄2
Sharp symbol   
  
  
  
  
Flat symbol
  
  
  
  


{{Ups and downs sharpness|41}}
Step offset 0 1 2 3 4 5 6 7 8 9
Sharp symbol   
  
  
  
  
  
  
  
Flat symbol
  
  
  
  
  
  
  


{{Ups and downs sharpness|72|true}}
Semitones 0 1⁄6 1⁄3 1⁄2 2⁄3 5⁄6 1 1 1⁄6 1 1⁄3 1 1⁄2 1 2⁄3 1 5⁄6 2 2 1⁄6
Sharp symbol   
  
  
  
  
  
  
  
  
  
  
  
  
Flat symbol
  
  
  
  
  
  
  
  
  
  
  
  


{{Ups and downs sharpness|311|true}}
Step offset 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
Sharp symbol   
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
Flat symbol