Template:Sharpness documentation: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
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{{#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|}}}
<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{{#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|}}}


{{#ifexpr: {{{1|1}}} > 0|
{{#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 />
{{(!}} class="wikitable center-all"
{{(!}} class="wikitable center-all"
! You type !! You get
! You type !! You get
Line 11: Line 15:
{{!}} <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}}}}
{{!}} <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;}}
| &#x2E;
{{#ifexpr: {{{1|1}}} >= 3|
}}
=== See also ===
|
}}
{{#ifexpr: {{{1|1}}} >= 3
| === See also ===
* [[Alternative symbols for ups and downs notation]]|}}
* [[Alternative symbols for ups and downs notation]]|}}
|}}</includeonly><noinclude>
|  
}}</includeonly><noinclude>
{{doc}}
{{doc}}


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

Revision as of 12:40, 12 July 2024