Patent val: Difference between revisions
fix error: it's "rounded" not "rounded off" |
format vals via template |
||
Line 5: | Line 5: | ||
| ja = 特徴的なヴァル | | ja = 特徴的なヴァル | ||
}} | }} | ||
The '''patent val''' (aka '''nearest edomapping''') for some EDO is the val that you obtain by finding the closest rounded approximation to each [[prime]] in the tuning. For example, the patent val for 17-EDO is | The '''patent val''' (aka '''nearest edomapping''') for some EDO is the val that you obtain by finding the closest rounded approximation to each [[prime]] in the tuning. For example, the patent val for 17-EDO is {{val| 17 27 39 }}, indicating that the closest mapping for 2/1 is 17 steps, the closest mapping for 3/1 is 27 steps, and the closest mapping for 5/1 is 39 steps. This means, if octaves are pure, that 3/2 is 706 cents, which is what you get if you round off 3/2 to the closest location in 17-equal, and that 5/4 is 353 cents, which is what you get is you round off 5/4 to the closest location in 17-equal. | ||
== Generalized patent val == | == Generalized patent val == | ||
This val can be extended to the case where the number of steps in an octave is a real number rather than an integer; this is called a generalized patent val, or GPV. For instance the 7-limit generalized patent val for 16.9 is | This val can be extended to the case where the number of steps in an octave is a real number rather than an integer; this is called a generalized patent val, or GPV. For instance the 7-limit generalized patent val for 16.9 is {{val| 17 27 39 47 }}, since 16.9 * log2(7) = 47.444, which rounds down to 47. | ||
There are other vals or edomappings besides the patent or nearest one. You may prefer to use the | There are other vals or edomappings besides the patent or nearest one. You may prefer to use the {{val| 17 27 40 }} val as the 5-limit 17-equal val instead, which rather than <17 27 39| treats 424 cents as 5/4. This val has lower Tenney-Euclidean error than the 17-EDO patent val. However, while <17 27 39| may not necessarily be the "best" val for 17-equal for all purposes, it is the obvious, or "patent" val, that you get by naively rounding primes off within the EDO and taking no further considerations into account. However, {{val| 17 27 40 }} is the generalized patent val for 17.1, since 17.1 * log2(5) = 39.705, which rounds up to 40. | ||
== Further explanation == | == Further explanation == | ||
A [[ | A [[p-limit]] [[Vals and tuning space|val]] contains the number of steps it takes to get to each prime number up to p, in prime number order: | ||
{{val| [2/1] [3/1] [5/1] [7/1] ... [p/1] }} | |||
Given N-EDO, the equal division of the octave into N parts, we may define vals that map a specific number of N-EDO steps to these primes. | Given N-EDO, the equal division of the octave into N parts, we may define vals that map a specific number of N-EDO steps to these primes. | ||
For any prime p we can find a corresponding p-limit val in a canonical manner by [http://en.wikipedia.org/wiki/Scalar_multiplication scalar multiplying] | For any prime p we can find a corresponding p-limit val in a canonical manner by [http://en.wikipedia.org/wiki/Scalar_multiplication scalar multiplying] {{val| 1 [[log2|log2]](3) log2(5) ... log(p) }} by N and rounding to the nearest integer. In general this is not guaranteed to be the most accurate available val, but if N-edo has enough relative accuracy in the p-limit, it will be. The name ''patent'' comes from the fact that "patent" in one sense of the word is a synonym for "obvious"; the patent val may or may not be the best choice but it's the obvious choice. | ||
One way to think of this process is to first ask, "How many 1200-cent steps (octaves) does it take to get to each prime?" It takes one full-octave step to get to 2/1, log2(3) steps to get to 3/1, log2(5) to get to 5/1, and so on. This gives us | One way to think of this process is to first ask, "How many 1200-cent steps (octaves) does it take to get to each prime?" It takes one full-octave step to get to 2/1, log2(3) steps to get to 3/1, log2(5) to get to 5/1, and so on. This gives us {{val| 1 1.585 2.322 2.807 3.459 ... log2(p) }}. | ||
Then ask, "How many more N-EDO steps does it take to get to the same places?" One 12-EDO step is 1/12th of an octave, by definition; therefore, you need 12 times as many steps to reach 2/1, 3/1, 5/1... Similarly, one 31-EDO step is 1/31st of an octave, so you need 31 times as many steps to reach 2/1, 3/1, 5/1... | Then ask, "How many more N-EDO steps does it take to get to the same places?" One 12-EDO step is 1/12th of an octave, by definition; therefore, you need 12 times as many steps to reach 2/1, 3/1, 5/1... Similarly, one 31-EDO step is 1/31st of an octave, so you need 31 times as many steps to reach 2/1, 3/1, 5/1... | ||
Thus, the way to get the p-limit patent val for N-EDO is to multiply | Thus, the way to get the p-limit patent val for N-EDO is to multiply {{val| 1 1.585 2.322 2.807 ... log2(p) }} by N. Then, since you can't take fractional steps in an EDO, you round the results to the nearest integers. | ||
== A 12-EDO Example == | == A 12-EDO Example == | ||
Multiplying 12 times | Multiplying 12 times {{val| 1 1.585 2.322 2.807 3.459 }} | ||
yields | yields {{val| 12 19.020 27.863 33.688 41.513 }}, | ||
rounded to | rounded to {{val| 12 19 28 34 42 }}, | ||
which is the '''11-limit patent val for [[12edo|12edo]]'''. | which is the '''11-limit patent val for [[12edo|12edo]]'''. | ||
Line 43: | Line 43: | ||
As stated above, the val contains the number of steps it takes to get to a given prime number, in prime number order: | As stated above, the val contains the number of steps it takes to get to a given prime number, in prime number order: | ||
{{val| [2/1] [3/1] [5/1] [7/1] [etc.] }} | |||
By definition, for any EDO, the number of steps to 2/1 is the EDO division: 31 for 31 EDO. The 2-limit patent val is | By definition, for any EDO, the number of steps to 2/1 is the EDO division: 31 for 31 EDO. The 2-limit patent val is {{val| 31 }}. | ||
What's the number of steps to 3/1? | What's the number of steps to 3/1? | ||
Line 57: | Line 57: | ||
This is an EDO, so we can't take 0.13383752 steps. Instead, we round. This is clearly closer to 49 steps, so that's the "obvious" or "patent" choice. The 3-limit patent val is | This is an EDO, so we can't take 0.13383752 steps. Instead, we round. This is clearly closer to 49 steps, so that's the "obvious" or "patent" choice. The 3-limit patent val is | ||
{{val| 31 49 }}. Doing the same thing up through 17, and we get a 17-limit patent val of | |||
{{val| 31 49 72 87 107 115 127 }} | |||
To see how to extend from one limit to another, we may look at what to do for 19/1 and use that to go from the 17-limit to the 19-limit. | To see how to extend from one limit to another, we may look at what to do for 19/1 and use that to go from the 17-limit to the 19-limit. | ||
Line 65: | Line 65: | ||
19/1 = 5097.51 cents, 5097.51 / 38.70967742 cents/step = 131.6857529 steps. Round to get 132. The 19-limit patent val is | 19/1 = 5097.51 cents, 5097.51 / 38.70967742 cents/step = 131.6857529 steps. Round to get 132. The 19-limit patent val is | ||
{{val| 31 49 72 87 107 115 127 132 }} | |||
Note that these are the same answers you would get if you multiplied 31 times | Note that these are the same answers you would get if you multiplied 31 times {{val| 1 1.585 2.322 2.807 3.459 3.700 4.087 4.248 }} and rounded the result. | ||
== How this defines a rank-1 temperament == | == How this defines a rank-1 temperament == | ||
Line 73: | Line 73: | ||
A val defines a rank 1 temperament by defining the deliberate introduction of an error into one or more primes. In 12 EDO, for instance, the perfect fifth (ratio 3/2, or exactly 1.5) is mapped to 700 cents, which is actually just barely flat: a ratio of 2^(700/1200), or 1.4983070769. | A val defines a rank 1 temperament by defining the deliberate introduction of an error into one or more primes. In 12 EDO, for instance, the perfect fifth (ratio 3/2, or exactly 1.5) is mapped to 700 cents, which is actually just barely flat: a ratio of 2^(700/1200), or 1.4983070769. | ||
As stated above, the 2/1 in the patent val is perfect. The patent val for 12 EDO, | As stated above, the 2/1 in the patent val is perfect. The patent val for 12 EDO, {{val| 12 19 28 34 42 (etc) }}, implies that it takes 12 steps to get the octave, which is does: 12 steps * 100 cents / step = 1200 cents = 1 octave. | ||
In the patent val for 12 EDO, the number 19 is in the second spot -- the place reserved for 3/1. That implies that it takes 19 steps to get to 3/1. We know that's not true: We rounded numbers off when we created the val in the first place, so essentially we're just ''acting as if'' 19 steps gets you to 3/1. To put it differently, we're deliberately introducing an error into 3/1. More precisely, any time we would have used 3/1 (e.g., in 9/8, 3/2, etc.), we're going to use a slightly different number instead. | In the patent val for 12 EDO, the number 19 is in the second spot -- the place reserved for 3/1. That implies that it takes 19 steps to get to 3/1. We know that's not true: We rounded numbers off when we created the val in the first place, so essentially we're just ''acting as if'' 19 steps gets you to 3/1. To put it differently, we're deliberately introducing an error into 3/1. More precisely, any time we would have used 3/1 (e.g., in 9/8, 3/2, etc.), we're going to use a slightly different number instead. |