Template:ZPI: Difference between revisions

ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
m Removed substitution directories; this isn't supposed to be substituted and they were only for testing
 
(50 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|-
|-
! colspan="3" | Tuning
! colspan="3" | Tuning
! colspan="4" | Strength
! colspan="{{#if: {{{tempered height|}}}{{{pure height|}}}|4|3}}" | Strength
! colspan="2" | Closest edo
! colspan={{#if: {{{edo|}}}|"3" {{!}} Closest edo|"2" {{!}} Octave (cents)}}
! colspan="2" | Integer limit
! colspan="2" | Integer limit
|-
|-
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} ZPI
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Steps<br>per 8ve
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Step size<br>([[cent]]s)
! {{#if: {{{tempered height|}}}{{{pure height|}}}|colspan{{=}}"2" {{!}}|{{#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Height
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Integral
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Gap
{{#if: {{{edo|}}}
| ! rowspan{{=}}"2" {{!}} Edo
! colspan{{=}}"2" {{!}} Octave (cents)
|}}{{#if: {{{tempered height|}}}{{{pure height|}}}|{{#if: {{{edo|}}}||
! rowspan{{=}}"2" {{!}} Size}}}}
{{#if: {{{tempered height|}}}{{{pure height|}}}|{{#if: {{{edo|}}}||
! rowspan{{=}}"2" {{!}} Stretch}}}}
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Consistent
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Distinct
|-
|-
! rowspan="2" | ZPI
{{#if: {{{edo|}}}
! rowspan="2" | Steps per octave
| ! Size
! rowspan="2" | Step size (cents)
! Stretch
! colspan="2" | Height
|}}
! rowspan="2" | Integral
{{#if: {{{tempered height|}}}{{{pure height|}}}
! rowspan="2" | Gap
| ! Tempered
! rowspan="2" | Edo
! Pure
! rowspan="2" | Octave (cents)
|}}
! rowspan="2" | Consistent
! rowspan="2" | Distinct
|-
|-
! Tempered<br />octave
| {{#if: {{{zpi|}}}|[[{{#rmatch: {{{zpi}}}|/(\d+)/|\1}}zpi]]|}}
! Pure<br />octave
| {{#expr: {{{steps}}} round 6 }}
|-
| {{#expr: {{{step size}}} round 6 }}
| [[{{{zpi}}}zpi]]
{{#if: {{{tempered height|}}}{{{pure height|}}}
| {{{steps}}}
| {{!}} {{#expr: {{{tempered height}}} round 6 }}
| {{{step size}}}
{{!}} {{#expr: {{{pure height}}} round 6 }}
| {{{TO height}}}
| {{!}} {{#expr: {{{height}}} round 6 }}
| {{{PO height}}}
}}
| {{{integral}}}
| {{#expr: {{{integral}}} round 6 }}
| {{{gap}}}
| {{#expr: {{{gap}}} round 6 }}
| {{{edo|{{ED title}}}}}
{{#if: {{{edo|}}}|{{!}} {{{edo}}}|}}
| {{{octave}}}
| {{#expr: {{{octave}}} round 6}}
| {{#replace: {{#expr: {{{octave}}} - 1200 round 6}}|-|−}}
| {{{consistent}}}
| {{{consistent}}}
| {{{distinct}}}
| {{{distinct}}}