Template:ZPI: Difference between revisions
Allow 6 decimal places at max to reduce the width of the table |
ArrowHead294 (talk | contribs) m Removed substitution directories; this isn't supposed to be substituted and they were only for testing |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
! colspan="3" | Tuning | ! colspan="3" | Tuning | ||
! colspan="{{ | ! colspan="{{#if: {{{tempered height|}}}{{{pure height|}}}|4|3}}" | Strength | ||
! colspan={{ | ! 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 | | ! rowspan{{=}}"2" {{!}} Edo | ||
! colspan{{=}}"2" {{!}} Octave (cents) | ! colspan{{=}}"2" {{!}} Octave (cents) | ||
|}}{{ | |}}{{#if: {{{tempered height|}}}{{{pure height|}}}|{{#if: {{{edo|}}}|| | ||
! rowspan{{=}}"2" {{!}} Size}}}} | ! rowspan{{=}}"2" {{!}} Size}}}} | ||
{{ | {{#if: {{{tempered height|}}}{{{pure height|}}}|{{#if: {{{edo|}}}|| | ||
! rowspan{{=}}"2" {{!}} Stretch}}}} | ! 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 | | ! Size | ||
! Stretch | ! Stretch | ||
|}} | |}} | ||
{{ | {{#if: {{{tempered height|}}}{{{pure height|}}} | ||
| ! Tempered | | ! Tempered | ||
! Pure | ! Pure | ||
|}} | |}} | ||
|- | |- | ||
| {{ | | {{#if: {{{zpi|}}}|[[{{#rmatch: {{{zpi}}}|/(\d+)/|\1}}zpi]]|}} | ||
| {{#expr: {{{steps}}} round 6 }} | | {{#expr: {{{steps}}} round 6 }} | ||
| {{#expr: {{{step size}}} round 6 }} | | {{#expr: {{{step size}}} round 6 }} | ||
{{ | {{#if: {{{tempered height|}}}{{{pure height|}}} | ||
| {{!}} {{#expr: {{{tempered height}}} round 6 }} | | {{!}} {{#expr: {{{tempered height}}} round 6 }} | ||
{{!}} {{#expr: {{{pure height}}} round 6 }} | {{!}} {{#expr: {{{pure height}}} round 6 }} | ||
Line 41: | Line 41: | ||
| {{#expr: {{{integral}}} round 6 }} | | {{#expr: {{{integral}}} round 6 }} | ||
| {{#expr: {{{gap}}} round 6 }} | | {{#expr: {{{gap}}} round 6 }} | ||
{{ | {{#if: {{{edo|}}}|{{!}} {{{edo}}}|}} | ||
| {{#expr: {{{octave}}} round 6}} | | {{#expr: {{{octave}}} round 6}} | ||
| {{ | | {{#replace: {{#expr: {{{octave}}} - 1200 round 6}}|-|−}} | ||
| {{{consistent}}} | | {{{consistent}}} | ||
| {{{distinct}}} | | {{{distinct}}} |