|
|
(25 intermediate revisions by the same user not shown) |
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|raises|lowers}} by {{{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–Ellis]] {{#ifexpr: {{{1|1}}} mod 2|| and [[24edo#Notation|quarter tone]]}} accidentals.}}}} {{{note|}}} | | <includeonly>{{#invoke: Sharpness_documentation | main |
| | | input = {{{1|{{PAGENAME}}}}} |
| | | note = {{trim|{{{note|}}}}} |
| | | auxnote = {{trim|{{{auxnote|}}}}} |
| | | notation = {{trim|{{{notation|}}}}} |
| | | debug = {{lc:{{{debug|}}}}} |
| | }}</includeonly><noinclude> |
| | {{documentation}} |
|
| |
|
| === Parameters ===
| | [[Category:Documentation templates]] |
| 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|:<br />
| |
| {{(!}} class="wikitable center-all"
| |
| ! 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: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.