|
|
(10 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–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|, since {{#expr: {{{1|1}}} * 12}}edo is a direct extension of the [[12edo|standard 12 notes]]:<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}}}}
| |
| {{!)}}
| |
| | .
| |
| }}
| |
| {{#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> |
 |
This template uses Lua:
|
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.