Template:Ups and downs note name/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
Created page with "{{dochead}} === Arguments === * <code>tuning</code> (set to page name by default) * <code>fifth</code> (set to patent val fifth by default): number of steps in the fifth * <co..."
 
Ganaram inukshuk (talk | contribs)
No edit summary
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}
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.
{{shortcut|udnote}}
=== Arguments ===
=== Arguments ===
* <code>tuning</code> (set to page name by default)
; <code>tuning</code>
* <code>fifth</code> (set to patent val fifth by default): number of steps in the fifth
* (Set to page name by default)
* <code>step</code>: number of steps in the interval


=== Example ===
; <code>fifth</code>
; You type
* (Set to patent val fifth by default): number of steps in the fifth
<nowiki>{{Ups and downs note name|tuning=24edo|step=7}}</nowiki>
<nowiki>{{Ups and downs note name|tuning=9edo|step=3}}</nowiki>


; You get
; <code>step</code>
: {{Ups and downs note name|tuning=24edo|step=7}}
* Number of steps in the interval
: {{Ups and downs note name|tuning=9edo|step=3}}


=== See also ===
=== Example ===
* [[Module: Ups and downs notation]] &ndash; The Lua module that implements the functionality.
{| class="wikitable center-all"
|-
! You type !! You get
|-
| <code><nowiki>{{Ups and downs note name|tuning=24edo|step=7}}</nowiki></code>
| {{{{ROOTPAGENAME}}|tuning=24edo|step=7}}
|-
| <code><nowiki>{{Ups and downs note name|tuning=9edo|step=3}}</nowiki></code>
| {{{{ROOTPAGENAME}}|tuning=9edo|step=3}}
|}

Latest revision as of 06:36, 31 October 2025

This template invokes the following functions: ups_and_downs_note_name from Ups and downs notation.

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