Template:Ups and downs note name: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
CompactStar (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(34 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#invoke:Ups_and_downs_notation|ups_and_downs_note_name|tuning={{{tuning|{{PAGENAME}}}}}|fifth={{{fifth|}}}|step={{{step|}}} }}
<includeonly>{{#invoke: Ups_and_downs_notation | ups_and_downs_note_name
<noinclude>
| tuning = {{{tuning|{{PAGENAME}}}}}
Gets note name of an EDO interval in ups and down notation. Mostly works, but mavila fifths are currently not supported, and it will often add not commonly used enharmonics.
| fifth = {{{fifth|}}}
Arguments:
| step = {{{step|}}}
* tuning (set to page name by default)
| debug = {{lc:{{{debug|}}}}}
* fifth (set to patent val fifth by default)
}}</includeonly><noinclude>
* step (number of steps in the interval)
{{documentation}}
For example:
 
<nowiki><pre>{{Ups and downs note name|tuning=24edo|step=7}}</pre></nowiki> = {{Ups and downs note name|tuning=24edo|step=7}}
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 13:23, 1 June 2025

Template documentation[view] [edit] [history] [purge]

The ups and downs note name template gets the note name of an edo interval in ups and downs notation. Note names start from D. If you use a mavila fifth (fifth flatter than 4\7), sharp will still raise and flat will still lower.

Note: You can use {{udnote}} as a shortcut.

Arguments

tuning
  • (Set to page name by default)
fifth
  • (Set to patent val fifth by default): number of steps in the fifth
step
  • Number of steps in the interval

Example

You type You get
{{Ups and downs note name|tuning=24edo|step=7}} ^F, vG♭
{{Ups and downs note name|tuning=9edo|step=3}} F