Template:Ups and downs sharpness

From Xenharmonic Wiki
Jump to navigation Jump to search
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