Template:Ups and downs sharpness/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Tristanbay (talk | contribs)
Created documentation page for template
 
Tristanbay (talk | contribs)
Showcased default value of 24
Line 1: Line 1:
{{dochead}}{{substitute|no}}{{lua}}
{{dochead}}{{substitute|no}}{{lua}}
This template creates a table that displays the combinations of symbols for different amounts of steps from a natural note for a given [[EDO|edo]] in [[Kite's ups and downs notation]]. It only takes the edo as a parameter.
This template creates a table that displays the combinations of symbols for different amounts of steps from a natural note for a given [[EDO|edo]] in [[Kite's ups and downs notation]]. It only takes the edo as a parameter, and it assumes [[24edo]] by default.


'''Note:''' It currently breaks for [[12edo]] and non-diatonic edos with a perfect fifth flatter than 4\[[7edo|7]].
'''Note:''' It currently breaks for [[12edo]] and non-diatonic edos with a perfect fifth flatter than 4\[[7edo|7]].


===Examples===
===Examples===
<pre>{{Ups and downs sharpness|24}}</pre>
<pre>{{Ups and downs sharpness}}</pre>
{{Ups and downs sharpness|24}}
{{Ups and downs sharpness}}


<pre>{{Ups and downs sharpness|41}}</pre>
<pre>{{Ups and downs sharpness|41}}</pre>

Revision as of 19:30, 23 September 2025

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. It only takes the edo as a parameter, and it assumes 24edo by default.

Note: It currently breaks for 12edo and non-diatonic edos with a perfect fifth flatter than 4\7.

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|87}}
Step offset 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Sharp symbol   
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
Flat symbol
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
{{Ups and downs sharpness|311}}
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