Template:Sharpness documentation: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly>{{#ifexpr: {{{1|1}}} = 0|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.|This template is used for [[EDO]]s where a sharp {{#ifexpr: {{{1|1}}} < 0|lowers|raises}} by {{#expr: abs({{{1|1}}})}} step{{#ifeq: {{{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|}}}
<includeonly>{{#ifexpr: {{{1|1}}} = 0|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.|This template is used for [[EDO]]s where a sharp {{#ifexpr: {{{1|1}}} < 0|lowers|raises}} by {{#expr: abs({{{1|1}}})}} step{{#ifeq: {{{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|}}}


{{#ifexpr: {{{1|1}}} > 0|
=== Parameters ===
=== Parameters ===
Passing <code>{{!}}{{#expr: {{{1|1}}} * 12}}{{))}}</code> will change '''Step Offset''' to '''Semitones''' in the case of [[{{#expr: {{{1|1}}} * 12}}edo]], since {{#expr: {{{1|1}}} * 12}}edo is a direct extension of the [[12edo|standard 12 notes]]{{#ifexpr: {{{1|1}}} >= 2|&#x3A;<br />
Passing <code>{{!}}{{#expr: {{{1|1}}} * 12}}{{))}}</code> will change '''Step Offset''' to '''Semitones''' in the case of [[{{#expr: {{{1|1}}} * 12}}edo]], since {{#expr: {{{1|1}}} * 12}}edo is a direct extension of the [[12edo|standard 12 notes]]{{#ifexpr: {{{1|1}}} >= 2|&#x3A;<br />
Line 12: Line 13:
|&#x2E;}}
|&#x2E;}}
{{#ifexpr: {{{1|1}}} >= 3|=== See also ===
{{#ifexpr: {{{1|1}}} >= 3|=== See also ===
* [[Alternative symbols for ups and downs notation]]|}}</includeonly><noinclude>
* [[Alternative symbols for ups and downs notation]]|}}
|}}</includeonly><noinclude>
{{doc}}
{{doc}}


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