Template:ZPI: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
Allow 6 decimal places at max to reduce the width of the table
Line 7: Line 7:
|-
|-
! {{safesubst:#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{safesubst:#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} ZPI
! {{safesubst:#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{safesubst:#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} ZPI
! {{safesubst:#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{safesubst:#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Steps per octave
! {{safesubst:#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{safesubst:#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Steps<br>per 8ve
! {{safesubst:#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{safesubst:#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Step size ([[cent]]s)
! {{safesubst:#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{safesubst:#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Step size<br>([[cent]]s)
! {{safesubst:#if: {{{tempered height|}}}{{{pure height|}}}|colspan{{=}}"2" {{!}}|{{safesubst:#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Height
! {{safesubst:#if: {{{tempered height|}}}{{{pure height|}}}|colspan{{=}}"2" {{!}}|{{safesubst:#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Height
! {{safesubst:#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{safesubst:#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Integral
! {{safesubst:#if: {{{tempered height|}}}{{{pure height|}}}|rowspan{{=}}"2" {{!}}|{{safesubst:#if: {{{edo|}}}|rowspan{{=}}"2" {{!}}|}}}} Integral
Line 32: Line 32:
|-
|-
| {{safesubst:#if: {{{zpi|}}}|[[{{safesubst:#rmatch: {{{zpi}}}|/(\d+)/|\1}}zpi]]|}}
| {{safesubst:#if: {{{zpi|}}}|[[{{safesubst:#rmatch: {{{zpi}}}|/(\d+)/|\1}}zpi]]|}}
| {{{steps}}}
| {{#expr: {{{steps}}} round 6 }}
| {{{step size}}}
| {{#expr: {{{step size}}} round 6 }}
{{safesubst:#if: {{{tempered height|}}}{{{pure height|}}}
{{safesubst:#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 }}
{{safesubst:#if: {{{edo|}}}|{{!}} {{{edo}}}|}}
{{safesubst:#if: {{{edo|}}}|{{!}} {{{edo}}}|}}
| {{{octave}}}
| {{#expr: {{{octave}}} round 6}}
| {{safesubst:#replace: {{safesubst:#expr: {{{octave}}} - 1200}}|-|−}}
| {{safesubst:#replace: {{safesubst:#expr: {{{octave}}} - 1200 round 6}}|-|−}}
| {{{consistent}}}
| {{{consistent}}}
| {{{distinct}}}
| {{{distinct}}}