Consistency: Difference between revisions

Correction (tempering -> tempering out). Move "pure consistency" together with consistency to distance d as instances of generalization. Request clarification on "the above equation"
m Style
Line 5: Line 5:
| ja = 一貫性
| ja = 一貫性
}}
}}
An [[edo]] (or other [[equal-step tuning]]) represents the ''q''-[[odd-limit]] '''consistently''' if the closest approximations of the odd harmonics of the ''q''-odd-limit in that edo also give the closest approximations of all the differences between these odd harmonics; for example, the difference between the closest 7/4 and the closest 5/4 is also the closest 7/5. An [[equal-step tuning]] is '''distinctly consistent''' (uniquely consistent) in the ''q''-odd-limit if every interval in that odd limit is mapped to a distinct/unique step (so for example, an equal-step tuning cannot be distinctly consistent in the [[7-odd-limit]] if it maps [[7/5]] and [[10/7]] to the same step—This would correspond to [[tempering out]] [[50/49]], and in the case of edos, would mean the edo must be a multiple, or superset, of 2edo).  
An [[edo]] (or other [[equal-step tuning]]) represents the [[odd limit|''q''-odd-limit]] '''consistently''' if the closest approximations of the odd harmonics of the ''q''-odd-limit in that edo also give the closest approximations of all the differences between these odd harmonics; for example, the difference between the closest [[7/4]] and the closest [[5/4]] is also the closest [[7/5]]. An [[equal-step tuning]] is '''distinctly consistent''' (uniquely consistent) in the ''q''-odd-limit if every interval in that odd limit is mapped to a distinct/unique step. So for example, an equal-step tuning cannot be distinctly consistent in the [[7-odd-limit]] if it maps 7/5 and [[10/7]] to the same step—This would correspond to [[tempering out]] [[50/49]], and in the case of edos, would mean the edo must be a multiple, or superset, of 2edo.  


Note that we are looking at the [[direct approximation]] (i.e. the closest approximation) for each interval, and trying to find a [[val]] to line them up. If there is such a val, then the edo is consistent within that odd-limit, otherwise it is inconsistent.
Note that we are looking at the [[direct approximation]] (i.e. the closest approximation) for each interval, and trying to find a [[val]] to line them up. If there is such a val, then the edo is consistent within that odd-limit, otherwise it is inconsistent.


While the term '''consistency''' is most frequently used to refer to some odd-limit, sometimes one may only care about 'some' of the intervals in some odd-limit; this situation often arises when working in JI [[subgroup]]s. We can also "skip" certain intervals when evaluating consistency. For instance, [[12edo]] is consistent in the no-11's, no-13's [[19-odd-limit]], meaning for the set of the odd harmonics 1, 3, 5, 7, 9, 15, 17, and 19, where we deliberately skip 11 and 13.
While the term '''consistency''' is most frequently used to refer to some odd limit, sometimes one may only care about 'some' of the intervals in some odd limit; this situation often arises when working in [[JI subgroup]]s. We can also skip certain intervals when evaluating consistency. For instance, [[12edo]] is consistent in the no-11's, no-13's [[19-odd-limit]], meaning for the set of the odd harmonics 1, 3, 5, 7, 9, 15, 17, and 19, where we deliberately skip 11 and 13.


In general, we can say that some edo is '''consistent relative to a chord C''', or that '''chord C is consistent in some edo''', if its best approximation to all the notes in the chord, relative to the root, also gives the best approximation to all of the intervals between the pairs of notes in the chord. In particular, an edo is consistent in the ''q''-odd limit if and only if it is consistent relative to the chord 1:3:…:(''q'' - 2):''q''.
In general, we can say that some edo is '''consistent relative to a chord C''', or that '''chord C is consistent in some edo''', if its best approximation to all the notes in the chord, relative to the root, also gives the best approximation to all of the intervals between the pairs of notes in the chord. In particular, an edo is consistent in the ''q''-odd-limit if and only if it is consistent relative to the chord 1:3:…:(''q'' - 2):''q''.


The concept only makes sense for [[equal-step tuning]]s and not for unequal multirank tunings, since for some choices of generator sizes in these temperaments, you can get any ratio you want to arbitrary precision by piling up a lot of generators (assuming the generator is an irrational fraction of the octave).
The concept only makes sense for [[equal-step tuning]]s and not for unequal multirank tunings, since for some choices of generator sizes in these temperaments, you can get any ratio you want to arbitrary precision by piling up a lot of generators (assuming the generator is an irrational fraction of the octave).
Line 18: Line 18:


== Mathematical definition ==
== Mathematical definition ==
Formally, if ''N''-edo is an [[equal division of the octave]], and if for any interval ''r'', ''N''-edo (''r'') is the closest ''N''-edo approximation to ''r'', then ''N'' is '''consistent''' with respect to a set of intervals S if for any two intervals ''r''<sub>''i''</sub> and ''r''<sub>''j''</sub> in S where ''r''<sub>''i''</sub>''r''<sub>''j''</sub> is also in S, ''N''-edo (''r''<sub>''i''</sub>''r''<sub>''j''</sub>) = ''N''-edo (''r''<sub>''i''</sub>) + ''N''-edo (''r''<sub>''j''</sub>).
Formally, if ''N''-edo is an [[equal division of the octave]], and if for any interval ''r'', ''N''-edo (''r'') is the closest ''N''-edo approximation to ''r'', then ''N'' is '''consistent''' with respect to a set of intervals ''S'' if for any two intervals ''r''<sub>''i''</sub> and ''r''<sub>''j''</sub> in ''S'' where ''r''<sub>''i''</sub>''r''<sub>''j''</sub> is also in ''S'', ''N''-edo (''r''<sub>''i''</sub>''r''<sub>''j''</sub>) = ''N''-edo (''r''<sub>''i''</sub>) + ''N''-edo (''r''<sub>''j''</sub>).


; Alternative formulation using val
; Alternative formulation using val
If for any interval ''r'', ''N''-edo (''r'') is the closest ''N''-edo approximation to ''r'', and if V (''r'') is ''r'' mapped by a val V, then ''N'' is consistent with respect to a set of intervals S if there exists a val V such that ''N''-edo (''r'') = V (''r'') for any ''r'' in S.  
If for any interval ''r'', ''N''-edo (''r'') is the closest ''N''-edo approximation to ''r'', and if ''V'' (''r'') is ''r'' mapped by a val ''V'', then ''N'' is consistent with respect to a set of intervals ''S'' if there exists a val ''V'' such that ''N''-edo (''r'') = ''V'' (''r'') for any ''r'' in ''S''.  


{{Template:Proof|title=Proof for equivalence|
{{Template:Proof|title=Proof for equivalence|
contents=Let us denote the monzo of any ratio ''r'' by m. Due to the linearity of the interval space, for any intervals ''r''<sub>''i''</sub>, ''r''<sub>''j''</sub>, and ''r''<sub>''i''</sub>''r''<sub>''j''</sub> in S, their monzos are m<sub>''i''</sub>, m<sub>''j''</sub>, and m<sub>''i''</sub> + m<sub>''j''</sub>, respectively.  
contents=Let us denote the monzo of any ratio ''r'' by '''m'''. Due to the linearity of the interval space, for any intervals ''r''<sub>''i''</sub>, ''r''<sub>''j''</sub>, and ''r''<sub>''i''</sub>''r''<sub>''j''</sub> in ''S'', their monzos are m<sub>''i''</sub>, m<sub>''j''</sub>, and m<sub>''i''</sub> + m<sub>''j''</sub>, respectively.  


The ratio ''r'' mapped by the val V is the tempered step number V (''r'') &#61; V·m. There is the following identity:
The ratio ''r'' mapped by the val ''V'' is the tempered step number V (''r'') &#61; ''V''·'''m'''. There is the following identity:


<math>V\cdot(\vec {m_i} + \vec {m_j}) &#61; V\cdot\vec {m_i} + V\cdot\vec {m_j}</math>
<math>V\cdot(\vec {m_i} + \vec {m_j}) &#61; V\cdot\vec {m_i} + V\cdot\vec {m_j}</math>
Line 38: Line 38:
<math>\operatorname {\mathit {N}-edo} (r_i r_j) &#61; \operatorname {\mathit {N}-edo} (r_i) + \operatorname {\mathit {N}-edo} (r_j)</math>
<math>\operatorname {\mathit {N}-edo} (r_i r_j) &#61; \operatorname {\mathit {N}-edo} (r_i) + \operatorname {\mathit {N}-edo} (r_j)</math>


then ''N''-edo is a member of the function space formed by all vals. Therefore, there exists a val V such that ''N''-edo (''r'') &#61; V (''r'') for any ''r'' in S.  
then ''N''-edo is a member of the function space formed by all vals. Therefore, there exists a val ''V'' such that ''N''-edo (''r'') &#61; V (''r'') for any ''r'' in ''S''.  
}}
}}


Normally, S is considered to be some set of [[odd limit|''q''-odd-limit intervals]], consisting of everything of the form 2<sup>''n''</sup> ''u''/''v'', where ''u'' and ''v'' are odd integers less than or equal to ''q''. ''N'' is then said to be ''q-odd-limit consistent''.
Normally, ''S'' is considered to be some set of ''q''-odd-limit intervals, consisting of everything of the form 2<sup>''n''</sup> ''u''/''v'', where ''u'' and ''v'' are odd integers less than or equal to ''q''. ''N'' is then said to be ''q-odd-limit consistent''.


If each interval in the ''q''-odd-limit is mapped to a unique value by ''N'', then it is said to be ''uniquely q-odd-limit consistent''.
If each interval in the ''q''-odd-limit is mapped to a unique value by ''N'', then it is said to be ''uniquely q-odd-limit consistent''.
Line 48: Line 48:
An example for a system that is ''not'' consistent in a particular odd limit is [[25edo]]:
An example for a system that is ''not'' consistent in a particular odd limit is [[25edo]]:


The closest approximation for the interval of [[7/6]] (the septimal subminor third) in 25edo is 6 steps, and the closest approximation for the just perfect fifth ([[3/2]]) is 15 steps. Adding the two just intervals gives 3/2 × 7/6 = [[7/4]], the harmonic seventh, for which the closest approximation in 25edo is 20 steps. Adding the two approximated intervals, however, gives 21 steps. This means that 25edo is not consistent in 7-odd-limit. The 4:6:7 triad cannot be mapped to 25edo without one of its three component intervals being inaccurately mapped.
The closest approximation for the interval of [[7/6]] (the septimal subminor third) in 25edo is 6 steps, and the closest approximation for the just perfect fifth ([[3/2]]) is 15 steps. Adding the two just intervals gives (3/2)(7/6) = [[7/4]], the harmonic seventh, for which the closest approximation in 25edo is 20 steps. Adding the two approximated intervals, however, gives 21 steps. This means that 25edo is not consistent in 7-odd-limit. The 4:6:7 triad cannot be mapped to 25edo without one of its three component intervals being inaccurately mapped.


An example for a system that ''is'' consistent in the [[7-odd-limit]] is [[12edo]]: 3/2 maps to 7\12, 7/6 maps to 3\12, and 7/4 maps to 10\12, which equals 7\12 plus 3\12. 12edo is also consistent in the [[9-odd-limit]], but not in the [[11-odd-limit]].
An example for a system that ''is'' consistent in the [[7-odd-limit]] is [[12edo]]: 3/2 maps to 7\12, 7/6 maps to 3\12, and 7/4 maps to 10\12, which equals 7\12 plus 3\12. 12edo is also consistent in the [[9-odd-limit]], but not in the [[11-odd-limit]].
Line 81: Line 81:
Proof: Consider the union C' = C<sub>1</sub> ∪ C<sub>2</sub> ∪ … ∪ C<sub>''d''</sub> in the equal temperament, where the C<sub>i</sub> are copies of the (approximations of) chord C. We need to show that this chord is consistent.
Proof: Consider the union C' = C<sub>1</sub> ∪ C<sub>2</sub> ∪ … ∪ C<sub>''d''</sub> in the equal temperament, where the C<sub>i</sub> are copies of the (approximations of) chord C. We need to show that this chord is consistent.


Consider any dyad D = {''x'', ''y''} consisting of two notes ''x'' and ''y'' that occur in C'. We may assume that the notes ''x'' and ''y'' belong in two different copies of C, C<sub>''i''</sub> and C<sub>''i'' + ''m''</sub>, where 1 ≤ ''i'' ≤ ''i'' + ''m'' ≤ ''d''. Thus ''x'' and ''y'' are separated by a path of at most ''d'' steps (at most ''d'' &minus; 1 for the different copies of ''C'', and 1 for the additional step within C). By consistency to distance ''d'', each dyad D<sub>''j''</sub> in the path has relative error 1/(2''d''). Hence by the triangle inequality, the total relative error ε on D is strictly less than 1/2 (50%). Since the adjacent intervals to the approximation of D must have relative error 1 - ε > 1/2 and 1 + ɛ respectively as approximations to the JI dyad D, the approximation we got must be the best one. Since D is arbitrary, we have proved chord consistency. QED.
Consider any dyad ''D'' = {''x'', ''y''} consisting of two notes ''x'' and ''y'' that occur in C'. We may assume that the notes ''x'' and ''y'' belong in two different copies of C, C<sub>''i''</sub> and C<sub>''i'' + ''m''</sub>, where 1 ≤ ''i'' ≤ ''i'' + ''m'' ≤ ''d''. Thus ''x'' and ''y'' are separated by a path of at most ''d'' steps (at most ''d'' &minus; 1 for the different copies of ''C'', and 1 for the additional step within C). By consistency to distance ''d'', each dyad D<sub>''j''</sub> in the path has relative error 1/(2''d''). Hence by the triangle inequality, the total relative error ε on ''D'' is strictly less than 1/2 (50%). Since the adjacent intervals to the approximation of ''D'' must have relative error 1 - ε > 1/2 and 1 + ɛ respectively as approximations to the JI dyad D, the approximation we got must be the best one. Since ''D'' is arbitrary, we have proved chord consistency. QED.


Examples of more advanced concepts that build on this are [[telicity]] and [[#Maximal consistent set|maximal consistent set]]s.
Examples of more advanced concepts that build on this are [[telicity]] and [[#Maximal consistent set|maximal consistent set]]s.
Line 93: Line 93:


== For non-octave tunings ==
== For non-octave tunings ==
It is possible to generalize the concept of consistency to non-edo equal-step tunings. Because octaves are no longer equivalent, instead of an odd limit we might use an integer limit, and the term 2<sup>''n''</sup> in the above equation{{clarify}} <!-- which? --> is no longer present. Instead, the set S consists of all intervals ''u''/''v'' where ''u'' ≤ ''q'' and ''v'' ≤ ''q'' (''q'' is the largest integer harmonic in S).
It is possible to generalize the concept of consistency to non-edo equal-step tunings. Because octaves are no longer equivalent, instead of an odd limit we might use an [[integer limit]], and the term 2<sup>''n''</sup> in the above equation{{clarify}} <!-- which? --> is no longer present. Instead, the set ''S'' consists of all intervals ''u''/''v'' where ''u'' ≤ ''q'' and ''v'' ≤ ''q'' (''q'' is the largest integer harmonic in ''S'').


This also means that the concept of octave inversion no longer applies: in this example, [[13/9]] is in S, but [[18/13]] is not.
This also means that the concept of octave inversion no longer applies: in this example, [[13/9]] is in ''S'', but [[18/13]] is not.


Alternatively, we can use "modulo-''n'' limit" if the [[equave]] is ''n''/1. Thus the tritave analogue of odd limit would only allow integers not divisible by 3 below a given number, assuming tritave equivalence and tritave invertibility.
Alternatively, we can use "modulo-''n'' limit" if the [[equave]] is ''n''/1. Thus the tritave analogue of odd limit would only allow integers not divisible by 3 below a given number, assuming tritave equivalence and tritave invertibility.