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
 
(21 intermediate revisions by 2 users not shown)
Line 6: Line 6:
! colspan="2" | Integer limit
! colspan="2" | Integer limit
|-
|-
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}}} ZPI
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} ZPI
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}}} | Steps per octave
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Steps<br>per 8ve
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}}} | Step size ([[cent]]s)
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Step size<br>([[cent]]s)
! {{#if: {{{edo|}}}||{{#if: {{{tempered height|}}}{{{pure height|}}}|col|row}}span{{=}}"2" {{!}}}} Height
! {{#if: {{{tempered height|}}}{{{pure height|}}}|colspan{{=}}"2" {{!}}|{{#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Height
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}}} | Integral
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Integral
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}}} | Gap
! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Gap
{{#if: {{{edo|}}}
{{#if: {{{edo|}}}
| ! {{#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}}} Edo
| ! rowspan{{=}}"2" {{!}} Edo
! colspan{{=}}"2" {{!}} Octave (cents)
! 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: {{{edo|}}}||rowspan{{=}}"2" {{!}}}}}} Size
! {{#if: {{{tempered height|}}}{{{pure height|}}}|{{#if: {{{edo|}}}||rowspan{{=}}"2" {{!}}}}}} Stretch
! {{#if: {{{tempered height|}}}{{{pure height|}}}|{{#if: {{{edo|}}}||rowspan{{=}}"2" {{!}}}}}} Consistent
! {{#if: {{{tempered height|}}}{{{pure height|}}}|{{#if: {{{edo|}}}||rowspan{{=}}"2" {{!}}}}}} Distinct
|-
{{#if: {{{tempered height|}}}{{{pure height|}}}
{{#if: {{{tempered height|}}}{{{pure height|}}}
| ! Tempered
| ! Tempered
Line 26: Line 31:
|}}
|}}
|-
|-
| {{#if: {{{zpi|}}}|[[{{#regex: {{{zpi}}}|/\d+/}}zpi]]|}}
| {{#if: {{{zpi|}}}|[[{{#rmatch: {{{zpi}}}|/(\d+)/|\1}}zpi]]|}}
| {{{steps}}}
| {{#expr: {{{steps}}} round 6 }}
| {{{step size}}}
| {{#expr: {{{step size}}} round 6 }}
{{#if: {{{tempered height|}}}{{{pure height|}}}
{{#if: {{{tempered height|}}}{{{pure height|}}}
| {{!}} {{{tempered height}}}
| {{!}} {{#expr: {{{tempered height}}} round 6 }}
{{!}} {{{pure height}}}
{{!}} {{#expr: {{{pure height}}} round 6 }}
| {{!}} {{{height}}}
| {{!}} {{#expr: {{{height}}} round 6 }}
}}
}}
| {{{integral}}}
| {{#expr: {{{integral}}} round 6 }}
| {{{gap}}}
| {{#expr: {{{gap}}} round 6 }}
{{#if: {{{edo|}}}|{{!}} {{{edo}}}|}}
{{#if: {{{edo|}}}|{{!}} {{{edo}}}|}}
| {{{octave}}}
| {{#expr: {{{octave}}} round 6}}
| {{#replace: {{#expr: {{{octave}}} - 1200}}|-|−}}
| {{#replace: {{#expr: {{{octave}}} - 1200 round 6}}|-|−}}
| {{{consistent}}}
| {{{consistent}}}
| {{{distinct}}}
| {{{distinct}}}