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

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..."
 
ArrowHead294 (talk | contribs)
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}{{lua|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.
 
{{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}}
|}