Template:ZPI: Difference between revisions

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