Template:Sharpness documentation: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
m R
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifexpr: {{{1|1}}} = 0
<includeonly>{{#invoke: Sharpness_documentation | main
| This template is used for {{EDOs|7, 14, 21, 28, and 35}} [[EDO|equal divisions of the octave]]. Since these tunings temper out the Pythagorean apotome ([[2187/2048]]), the traditional sharps and flats have no effect on the pitch.
| input = {{{1|{{PAGENAME}}}}}
| This template is used for [[EDO]]s where a sharp {{#ifexpr: {{{1|1}}} < 0|lowers|raises}} by {{#expr: abs({{{1|1}}})}} step{{#ifexpr: abs({{{1|1}}}) = 1||s}}. {{#ifexpr: {{{1|1}}} >= 3|It is based on [[ups and downs notation]] notated using [[Helmholtz–Ellis notation|Helmholtz&ndash;Ellis]] {{#ifexpr: {{{1|1}}} mod 2||and [[24edo#Notation|quarter tone]]}} accidentals.}}
| note = {{trim|{{{note|}}}}}
}} {{{note|}}}
| auxnote = {{trim|{{{auxnote|}}}}}
 
| notation = {{trim|{{{notation|}}}}}
{{#ifexpr: {{{1|1}}} > 0
| debug = {{lc:{{{debug|}}}}}
| === Parameters ===
}}</includeonly><noinclude>
Passing <code>{{!}}{{#expr: {{{1|1}}} * 12}}{{))}}</code> will change '''Step Offset''' to '''Semitones''' in the case of [[{{#expr: {{{1|1}}} * 12}}edo]]{{#ifexpr: {{{1|1}}} >= 2|&#x2C; since {{#expr: {{{1|1}}} * 12}}edo is a direct extension of the [[12edo|standard 12 notes]]&#x3A;<br />
{{documentation}}
{{(!}} class="wikitable center-all"
{{!+}} style="font-size: 105%;" {{!}} Usage
{{!-}}
! You type !! You get
{{!-}}
{{!}} <code>{{((}}Sharpness-sharp{{{1|1}}}{{#if: {{{2|}}}|-{{{2|}}}|}}{{))}}</code> {{!!}} {{Sharpness-sharp{{{1|1}}}{{#if: {{{2|}}}|-{{{2|}}}|}}}}
{{!-}}
{{!}} <code>{{((}}Sharpness-sharp{{{1|1}}}{{#if: {{{2|}}}|-{{{2|}}}|}}{{pipe}}{{#expr: {{{1|1}}} * 12}}{{))}}</code> {{!!}} {{Sharpness-sharp{{{1|1}}}{{#if: {{{2|}}}|-{{{2|}}}|}}|{{#expr: {{{1|1}}} * 12}}}}
{{!)}}
| &#x2E;
}}
{{#ifexpr: {{{1|1}}} >= 3
| === See also ===
* [[Alternative symbols for ups and downs notation]]
|
}}
|
}}
</includeonly><noinclude>
{{doc}}


[[Category:Documentation templates]]
[[Category:Documentation templates]]
[[Category:Sharpness templates]]
</noinclude>
</noinclude>

Latest revision as of 16:06, 15 February 2025

Template documentation[view] [edit] [history] [purge]
This template automatically fills documentation for sharpness templates, which show how many steps a sharp raises by in a given tuning along with any microtonal accidentals needed in the case of EDOs where sharps raise (or lower) by multiple steps.