Vals and tuning space: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Wikispaces>mbattaglia1
**Imported revision 250543972 - Original comment: **
Sintel (talk | contribs)
m Example: fix broken latex
 
(47 intermediate revisions by 12 users not shown)
Line 1: Line 1:
<h2>IMPORTED REVISION FROM WIKISPACES</h2>
{{interwiki
This is an imported revision from Wikispaces. The revision metadata is included below for reference:<br>
| de = Val
: This revision was by author [[User:mbattaglia1|mbattaglia1]] and made on <tt>2011-09-03 20:01:46 UTC</tt>.<br>
| en = Vals and tuning space
: The original revision id was <tt>250543972</tt>.<br>
| es =
: The revision comment was: <tt></tt><br>
| ja = ヴァルと調律空間
The revision contents are below, presented both in the original Wikispaces Wikitext format, and in HTML exactly as Wikispaces rendered it.<br>
}}
<h4>Original Wikitext content:</h4>
{{Expert|Val}}
<div style="width:100%; max-height:400pt; overflow:auto; background-color:#f8f9fa; border: 1px solid #eaecf0; padding:0em"><pre style="margin:0px;border:none;background:none;word-wrap:break-word;white-space: pre-wrap ! important" class="old-revision-html">[[toc|flat]]
A '''val''' "maps" [[just intonation]] to a certain number of steps in a chain of [[generator]]s; by putting vals together we can define the mapping of a [[regular temperament]] and thereby define the temperament. A val is written in the form {{val| ''a''<sub>1</sub> ''a''<sub>2</sub> ''a''<sub>3</sub> … ''a''<sub>''k''</sub> }}, where the numbers ''a''<sub>1</sub> ''a''<sub>2</sub> ''a''<sub>3</sub> are the number of steps along the chain that the first ''k'' [[prime]]s are mapped to. This can be generalized so that ''a''<sub>1</sub> ''a''<sub>2</sub> ''a''<sub>3</sub> … represent the number of steps any JI [[basis]] is mapped to, whereas a JI basis for a [[just intonation subgroup]] is an independent collection of just intonation intervals, meaning that no one of them is a product of the rest.
=Abstract=
A val provides a way to map intervals in just intonation to a certain number of steps; that is, to an integer. In many cases of interest the val is associated to an EDO, and the val maps to steps of the EDO. For any number "n" of steps in the EDO, a set of JI intervals will be mapped to n; this is what mathematicians call a coset, denoted by n+K, where K is the "kernel" of the val, meaning the intervals mapped to 0 ("tempered out".) Hence the val maps from JI to the integers, and also from integers back to sets of just intervals.


A 12-EDO val tells us, when we look at an EDO like 12-equal, how exactly we'd like to describe the intervals in an EDO as being tempered versions of more fundamental JI intervals. It tells us which interval we're going to describe as the tempered 3/2, which interval we're going to describe as the tempered 5/4, etc.
A ''rank-r'' temperament has ''r'' generators, and thus is defined by ''r'' vals. In the usual coordinates for the [[harmonic limit|''p''-limit]], the set of generators are the first ''k'' prime numbers and the set of vals for a ''p''-limit temperament gives you the coordinates for each prime harmonic in the ''p''-limit. For example, all 5-limit rank-1 temperaments, or [[equal temperament]]s, will be defined by a val {{val| ''a'' ''b'' ''c'' }}, where ''a'' is the number of generators it takes to reach the 2nd harmonic (2/1), ''b'' is the number of generators to reach the 3rd harmonic (3/1), and ''c'' is the number of generators it takes to reach the 5th harmonic (5/1). All 5-limit rank-2 temperaments are defined by two vals: {{monzo| {{val| ''a''<sub>1</sub> ''b''<sub>1</sub> ''c''<sub>1</sub> }}, {{val| ''a''<sub>2</sub> ''b''<sub>2</sub> ''c''<sub>2</sub> }} }}. Now, we locate the 2nd harmonic (2/1) with the 2-dimensional coordinates (''a''<sub>1</sub>, ''a''<sub>2</sub>), sometimes written as {{monzo| ''a''<sub>1</sub> ''a''<sub>2</sub> }}, meaning go up ''a''<sub>1</sub> of the first generator, and up ''a''<sub>2</sub> of the 2nd generator, to reach 2/1. Similarly, the 3rd harmonic and 5th harmonic will be reached by {{monzo| ''b''<sub>1</sub> ''b''<sub>2</sub> }} and {{monzo| ''c''<sub>1</sub> ''c''<sub>2</sub> }} respectively.


A val maps the intervals in an EDO back to JI by describing the mapping for each of the primes. By mapping the primes, you hence indirectly map all of the rationals, since every rational number can be described as a product of primes. It's usually written in the notation &lt;a b c d e f ... |, where each column represents prime 2, 3, 5, 7, 11, 13... etc, in that order, up to some [[harmonic limit|prime limit]].
As an example, consider [[meantone]] temperament, where [[81/80]] vanishes. Meantone can be considered a [[5-limit]] rank-2 temperament, defined by the two-val mapping {{monzo|{{val| 1 1 0 }}, {{val| 0 1 4 }}}}. This tells us just about everything we need to know about how the 5-limit is mapped in meantone: since 2/1 is mapped to {{monzo| 1 0 }}, that tells us that the first generator ''is'' a 2/1, and since 3/1 is mapped to {{monzo| 1 1 }}, that tells us that the 2nd generator is a 3/2; then, since 5/1 is mapped to {{monzo| 0 4 }}, aka four 3/2's up, that tells us that 81/64 (which is (3/2)<sup>4</sup>) equals 5/1 (which is 80/64). Since 81/64 is equated with 80/64 here, that tells us that 81/80 is [[tempering out|tempered out]]! Thus it is possible to derive from the mapping the approximate size of the two generators, the commas that are tempered out, and roughly the complexity of the temperament (the number of notes of the temperament we need to reach all the prime harmonics in the ''p''-limit). This makes the val an extremely compact and useful bit of notation for describing regular temperaments, since we can readily find where all of the primes are mapped along the temperament's chain of generators essentially at a glance.


For example, the 5-limit val &lt;12 19 28| tells us that you'd like to view 12 steps of 12-equal as representing a tempered 2/1, 19 steps of 12-equal as representing a tempered 3/1, and 28 steps of 12-equal as representing a tempered 5/1. If you would like to assume the perspective that the 10 step interval in 12-equal (representing 1000 cents) is a very tempered 7/4, then that means that 7/1, which is 7/4 with two octaves stacked on top, is equal to 10 steps + 12 steps + 12 steps = 34 steps. This decision can hence be represented by using the 7-limit &lt;12 19 28 34| val. If for some strange reason you'd instead like to say that 900 cents is 7/4, then that would be represented by the &lt;12 19 28 33| val. It's not recommended that you use silly vals like that, but the mathematics will allow you to do it if you want, kind of like how a brick will allow you to hit yourself in the face with it.
Whenever one of the generators of a temperament is a 2/1 the key information is carried by the other vals, assuming [[octave equivalence]] (i.e. 3/1 = 3/2 = 6/1 etc.). Thus the essential character of 5-limit meantone is defined by a single val (the one for the 3/2 generator), written {{val| 0 1 4 }}.


Vals form the basis for all of regular temperament theory. They are important because they provide a way to mathematically formalize the chosen JI perspective you'd like to take on an EDO. As such, they will allow you to harness the very powerful realm of mathematics to describe the implications of your own musical intuitions. Once you've figured out how the perspective you've chosen to take on an EDO can be represented in val form, you can figure out what commas that EDO tempers out, what [[comma pump|comma pumps]] are available in the EDO, what the most consonant chords in the EDO are, how to optimize the octave stretch of the EDO to minimize tuning error, how to mix your val with another val to generate a rank-2 temperament such as [[meantone]] or [[Porcupine|porcupine]] temperament, and other operations as of yet undiscovered.
== Definition for mathematicians ==
The ''p''-limit [[monzos and interval space|monzos]] M form a free abelian group, or ℤ-module, of finite rank π (''p''), which is the number of primes up to and including ''p''. The [http://planetmath.org/encyclopedia/DualModule.html dual ℤ-module] M* is [[Wikipedia: Group isomorphism|isomorphic]] to M, but not in a canonical way. Hence it, the group (Z-module) of '''vals''', is also a free abelian group of rank π (''p''). Just as monzos are often written as [http://mathworld.wolfram.com/Ket.html kets], vals are typically written as [http://mathworld.wolfram.com/Bra.html bras]. Vals are {{w|group homomorphism|homomorphisms}} from a subgroup of finite rank of ℚ*, the abelian group of the positive rational numbers under multiplication, to the integers ℤ. The number theorist [[Yves Hellegouarch]] seems to have been the first to write about them, under the name "degrees".


(Caveat: a more formal definition for a val is that it maps JI intervals onto a certain number of equally tempered "steps," which may or may not reflect an EDO in its intuitive sense at all, but rather steps of a much larger generator. This definition, while being perhaps less intuitive, is more applicable in some of the deeper implications of vals in regular temperament theory, which are not dealt with in this abstract.)
== Vals and monzos ==
If ''V'' is a val and ''M'' is a monzo of the same rank, then the [http://mathworld.wolfram.com/AngleBracket.html angle bracket], written ⟨''V''|''M''⟩ (or occasionally ''V''(''M'')), is the result of applying the homomorphism ''V'' to ''M''. For example, if ''V'' = {{val| 12 19 28 34 }} and ''M'' = {{monzo| -5 2 2 -1 }} then ⟨''V''|''M''⟩ equals 12×(-5) + 19×2 + 28×2 - 34 = 0.


See also: [[Monzos and Interval Space]], [[Patent val]]
This tells us that in septimal 12 equal, represented by ''V'', the interval 225/224, represented by ''M'', is mapped to 0, which represents 1. Hence, 225/224 vanishes in septimal 12 equal; it is in the [http://mathworld.wolfram.com/GroupKernel.html kernel] of ''V''. One should note in particular that the coordinates of ''V'' represent where the successive primes 2, 3, 5 and 7 are mapped.


=Definition=
By {{w|embedding}} the monzos into a suitable vector space, norms may be placed on the monzos in various ways, turning them into [http://mathworld.wolfram.com/PointLattice.html lattices] in a vector space. Given a vector space norm on a space of ket vectors, the [http://mathworld.wolfram.com/DualNormedSpace.html dual vector space norm] on the space of bra vectors is defined as the least quantity ‖''V''‖ making
A val "maps" just intonation to a certain number of steps; by putting vals together we can define the mapping of a [[Regular temperaments|regular temperament]] and thereby define the temperament. A val is written in the form &lt;a1 a2 a3 ... ak|, where the numbers a1 a2 a3 ... are the number of steps the first k primes are mapped to. This can be generalized so that a1 a2 a3 ... represent the number of steps any set of generators are mapped to, where a set of generators for a [[Just intonation subgroups|just intonation subgroup]] is an independent collection of just intonation intervals, meaning that no one of them is a product of the rest.


A //rank r// temperament has r generators, and thus is defined by r vals. In the usual coordinates for the [[Harmonic limit|p-limit]], the set of generators are the first k prime numbers and the set of vals for a p-limit temperament gives you the coordinates for each prime harmonic in the p-limit. For example, all 5-limit rank-1 temperaments will be defined by a val &lt;a b c|, where a is the number of generators it takes to reach the 2nd harmonic (2/1), b is the number of generators to reach the 3rd harmonic (3/1), and c is the number of generators it takes to reach the 5th harmonic (5/1). All 5-limit rank-2 temperaments are defined by two vals: [&lt;a1 b1 c1|, &lt;a2 b2 c2|] Now, we locate the 2nd harmonic (2/1) with the 2-dimensional coordinates (a1, a2), meaning go up a1 of the first generator, and up a2 of the 2nd generator, to reach 2/1. Similarly, the 3rd harmonic and 5th harmonic will be located by (b1, b2) and (c1, c2) respectively.
<math>\displaystyle
\lvert \langle V|M \rangle \rvert \le \lVert V \rVert \lVert M \rVert
</math>


As an example, consider meantone temperament, where 81/80 vanishes. Meantone can be considered a 5-limit rank-2 temperament, defined by the two-val mapping [&lt;1 1 0|, &lt;0 1 4|]. This tells us just about everything we need to know about how the 5-limit is mapped in meantone: since 2/1 is mapped (1, 0), that tells us that the first generator //is// a 2/1, and since 3/1 is mapped to (1,1), that tells us that the 2nd generator is a 3/2; then, since 5/1 is mapped to (0,4), aka four 3/2s up, that tells us that 81/64 (which is (3/2)^4) equals 5/1 (which is 80/64). Since 81/64 is equated with 80/64 here, that tells us that 81/80 is tempered out! Thus it is possible to derive from the mapping the approximate size of the two generators, the commas that are tempered out, and roughly the complexity of the temperament (the number of notes of the temperament we need to reach all the prime harmonics in the p-limit). This makes the val an extremely compact and useful bit of notation for describing regular temperaments, since we can discern almost everything we need to know about the temperament essentially at a glance. Whenever one of the generators of a temperament is a 2/1 the key information is carried by the other vals, assuming octave equivalence (i.e. 3/1=3/2=6/1 etc). Thus the essential character of 5-limit meantone is defined by a single val (the one for the 3/2 generator), written &lt;0 1 4|.
to be always true. The dual of the [http://mathworld.wolfram.com/L1-Norm.html ''L''<sup>1</sup> norm] is the [http://mathworld.wolfram.com/L-Infinity-Norm.html ''L''-infinity norm], and the dual space of Tenney interval space is Tenney tuning space. The embedding of monzos into a real normed vector space automatically induces a dual embedding of vals into a corresponding normed vector space, tuning space, in which vals are lattice points. The dual norm to the ''L''<sup>2</sup> norm is the ''L''<sup>2</sup> norm, and the dual space to Tenney-Euclidean interval space is ''Tenney-Euclidean tuning space''. The Euclidean norm on a val ''V'' is given by


==Defintion for mathematicians==
<math>\displaystyle
The p-limit [[Monzos and Interval Space|monzos]] M form a free abelian group, or Z-module, of finite rank pi(p), which is the number of primes up to and including p. The [[http://planetmath.org/encyclopedia/DualModule.html|dual Z-module]] M* is [[http://en.wikipedia.org/wiki/Group_isomorphism|isomorphic]] to M, but not in a canonical way. Hence it, the group (Z-module) of **vals**, is also a free abelian group of rank pi(p). Just as monzos are often written as [[http://mathworld.wolfram.com/Ket.html|kets]], vals are typically written as [[http://mathworld.wolfram.com/Bra.html|bras]].
\lVert V \rVert = \sqrt{\left(\frac{v_1}{\log_2(2)}\right)^2 + \left(\frac{v_2}{\log_2(3)}\right)^2 + \left(\frac{v_3}{\log_2(5)}\right)^2 + \ldots + \left(\frac{v_n}{\log_2(p)}\right)^2}
</math>


=Vals and Monzos=
It useful to renormalize to the RMS ({{w|root mean square}}) instead, which requires dividing the above by sqrt (''n''), where ''n'' = π (''p'') is the number of primes up to ''p''. This is the [[Tenney-Euclidean metrics|Tenney-Euclidean norm]], or TE norm.
If V is a val and M is a monzo of the same rank, then the [[http://mathworld.wolfram.com/AngleBracket.html|angle bracket]] &lt;V|M&gt;, which can also be written V(M), is the result of applying the [[http://en.wikipedia.org/wiki/Group_homomorphism|homomorphism]] V to M. For example, if V = &lt;12 19 28 34| and M = |-5 2 2 -1&gt; then &lt;V|M&gt; equals 12*(-5) + 19*2 + 28*2 - 34 = 0


This tells us that in septimal 12 equal, represented by V, the interval 225/224, represented by M, is mapped to 0, which represents 1. Hence, 225/224 vanishes in septimal 12 equal; it is in the [[http://mathworld.wolfram.com/GroupKernel.html|kernel]] of V. One should note in particular that the coordinates of V represent where the successive primes 2, 3, 5 and 7 are mapped.
It should be noted that despite the name, only vectors in a small region of tuning space can reasonably be considered to be tunings. These are the points in tuning space close to the JI point, or [[JIP]], which in weighted coordinates is ''J'' = {{val| 1 1 1 … 1 }}. It has the property that if ''M'' is a monzo in weighted coordinates, then ⟨''J''|''M''⟩ or ''J'' (''M'') if you prefer, is exactly the log base two of the interval ''M'' represents, hence the name. In unweighted coordinates, ''J'' = {{val| 1 log<sub>2</sub> (3) … log<sub>2</sub> (''p'')}}, and applied to a monzo this gives the log base two of the corresponding interval.


Norms may be placed on the monzos in various ways, turning them into [[http://mathworld.wolfram.com/PointLattice.html|lattices]] in a vector space. Given a vector space norm on a space of ket vectors, the [[http://mathworld.wolfram.com/DualNormedSpace.html|dual vector space norm]] on the space of bra vectors is defined as the least quantity ||V|| making
== Example ==
The rank-1 [[7-limit]] [[patent val]] corresponding to [[31edo]] is {{val| 31 49 72 87 }}. This tells us that 31 steps reaches the 2, approximately 49 the 3, 72 the 5, and 87 the 7. In weighted coordinates, it becomes


**|&lt;V|M&gt;| &lt;= ||V|| ||M||**
<math>\displaystyle
\left< 31 \; \frac{49}{\log_2(3)} \; \frac{72}{\log_2(5)} \; \frac{87}{\log_2(7)}\right|
</math>


to be always true. The dual of the [[http://mathworld.wolfram.com/L1-Norm.html|L1 norm]] is the [[http://mathworld.wolfram.com/L-Infinity-Norm.html|Linfty norm]], and the dual space of Tenney interval space is Tenney tuning space. In tuning space, the vals now define a lattice. Similarly, the dual norm to the L2 norm is the L2 norm, and the dual space to Tenney-Euclidean interval space is //Tenney-Euclidean tuning space//. The Euclidean norm on a val v is given by
which is approximately {{val| 31.000 30.916 31.009 30.990 }}. The standard Euclidean norm would then be the square root of the sum of squares of this vector, which is approximately sqrt (3838.694), or 61.957. To use the RMS we divide that by sqrt (4) = 2, giving 30.976 for the TE norm. Note that the TE norm for this val is approximately 31; any val closely approximating JI is expected to have the TE norm close to its division of the octave.


[[math]]
[[Category:Regular temperament theory]]
\displaystyle
[[Category:Math]]
||v|| = \sqrt{\left({\frac{v_2}{log_2(2)}\right)^2 + \left({\frac{v_3}{log_2(3)}\right)^2 + \left(\frac{v_5}{log_2(5)}\right)^2 + ... + \left(\frac{v_p}{log_2(p)}\right)^2
[[Category:Tuning space]]
%original was ||v|| = sqrt(v2^2 + (v3/log2(3))^2 + ... + (vp/log2(p))^2)
[[Category:Val]]
[[math]]
 
It useful to renormalize to the RMS (root mean square) instead, which requires dividing the above by sqrt(n), where n = pi(p) is the number of primes up to p. This is the TE, or Tenney-Euclidean, norm.
 
It should be noted that despite the name, only vectors in a small region of tuning space can reasonably be considered to be tunings. These are the points in tuning space close to the JI point, or JIP, which in weighted coordinates is &lt;1 1 1 ... 1|. It has the property that if M is a monzo in weighted coordinates, then &lt;JIP|M&gt;, or JIP(M) if you prefer, is exactly the log base two of the interval M represents, hence the name. In unweighted coordinates, JIP = &lt;1 log2(3) ... log2(p)|, and applied to a monzo this gives the log base two of the corresponding interval.
 
=Example=
The rank-1 [[7-limit]] patent [[val]] corresponding to [[31edo]] is &lt;31 49 72 87|. This tells us that 31 steps reaches the 2, approximately 49 the 3, 72 the 5, and 87 the 7. In weighted coordinates, it becomes
 
[[math]]
\displaystyle
\left&lt;31 \; \frac{49}{log_2(3)} \; \frac{72}{log_2(5)} \; \frac{87}{log_2(7)}\right|
%original was &lt;31 49/log2(3) 72/log2(5) 87/log2(7)|
[[math]]
 
which is approximately &lt;31.000 30.916 31.009 30.990|. The standard Euclidean norm would then be the square root of the sum of squares of this vector, which is approximately sqrt(3838.694), or 61.957. To use the RMS we divide that by sqrt(4)=2, giving 30.976 for the TE norm. Note that the TE norm for this val is approximately 31.</pre></div>
<h4>Original HTML content:</h4>
<div style="width:100%; max-height:400pt; overflow:auto; background-color:#f8f9fa; border: 1px solid #eaecf0; padding:0em"><pre style="margin:0px;border:none;background:none;word-wrap:break-word;width:200%;white-space: pre-wrap ! important" class="old-revision-html">&lt;html&gt;&lt;head&gt;&lt;title&gt;Vals and Tuning Space&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;!-- ws:start:WikiTextTocRule:12:&amp;lt;img id=&amp;quot;wikitext@@toc@@flat&amp;quot; class=&amp;quot;WikiMedia WikiMediaTocFlat&amp;quot; title=&amp;quot;Table of Contents&amp;quot; src=&amp;quot;/site/embedthumbnail/toc/flat?w=100&amp;amp;h=16&amp;quot;/&amp;gt; --&gt;&lt;!-- ws:end:WikiTextTocRule:12 --&gt;&lt;!-- ws:start:WikiTextTocRule:13: --&gt;&lt;a href="#Abstract"&gt;Abstract&lt;/a&gt;&lt;!-- ws:end:WikiTextTocRule:13 --&gt;&lt;!-- ws:start:WikiTextTocRule:14: --&gt; | &lt;a href="#Definition"&gt;Definition&lt;/a&gt;&lt;!-- ws:end:WikiTextTocRule:14 --&gt;&lt;!-- ws:start:WikiTextTocRule:15: --&gt;&lt;!-- ws:end:WikiTextTocRule:15 --&gt;&lt;!-- ws:start:WikiTextTocRule:16: --&gt; | &lt;a href="#Vals and Monzos"&gt;Vals and Monzos&lt;/a&gt;&lt;!-- ws:end:WikiTextTocRule:16 --&gt;&lt;!-- ws:start:WikiTextTocRule:17: --&gt; | &lt;a href="#Example"&gt;Example&lt;/a&gt;&lt;!-- ws:end:WikiTextTocRule:17 --&gt;&lt;!-- ws:start:WikiTextTocRule:18: --&gt;
&lt;!-- ws:end:WikiTextTocRule:18 --&gt;&lt;!-- ws:start:WikiTextHeadingRule:2:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc0"&gt;&lt;a name="Abstract"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:2 --&gt;Abstract&lt;/h1&gt;
A val provides a way to map intervals in just intonation to a certain number of steps; that is, to an integer. In many cases of interest the val is associated to an EDO, and the val maps to steps of the EDO. For any number &amp;quot;n&amp;quot; of steps in the EDO, a set of JI intervals will be mapped to n; this is what mathematicians call a coset, denoted by n+K, where K is the &amp;quot;kernel&amp;quot; of the val, meaning the intervals mapped to 0 (&amp;quot;tempered out&amp;quot;.) Hence the val maps from JI to the integers, and also from integers back to sets of just intervals.&lt;br /&gt;
&lt;br /&gt;
A 12-EDO val tells us, when we look at an EDO like 12-equal, how exactly we'd like to describe the intervals in an EDO as being tempered versions of more fundamental JI intervals. It tells us which interval we're going to describe as the tempered 3/2, which interval we're going to describe as the tempered 5/4, etc.&lt;br /&gt;
&lt;br /&gt;
A val maps the intervals in an EDO back to JI by describing the mapping for each of the primes. By mapping the primes, you hence indirectly map all of the rationals, since every rational number can be described as a product of primes. It's usually written in the notation &amp;lt;a b c d e f ... |, where each column represents prime 2, 3, 5, 7, 11, 13... etc, in that order, up to some &lt;a class="wiki_link" href="/harmonic%20limit"&gt;prime limit&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
For example, the 5-limit val &amp;lt;12 19 28| tells us that you'd like to view 12 steps of 12-equal as representing a tempered 2/1, 19 steps of 12-equal as representing a tempered 3/1, and 28 steps of 12-equal as representing a tempered 5/1. If you would like to assume the perspective that the 10 step interval in 12-equal (representing 1000 cents) is a very tempered 7/4, then that means that 7/1, which is 7/4 with two octaves stacked on top, is equal to 10 steps + 12 steps + 12 steps = 34 steps. This decision can hence be represented by using the 7-limit &amp;lt;12 19 28 34| val. If for some strange reason you'd instead like to say that 900 cents is 7/4, then that would be represented by the &amp;lt;12 19 28 33| val. It's not recommended that you use silly vals like that, but the mathematics will allow you to do it if you want, kind of like how a brick will allow you to hit yourself in the face with it.&lt;br /&gt;
&lt;br /&gt;
Vals form the basis for all of regular temperament theory. They are important because they provide a way to mathematically formalize the chosen JI perspective you'd like to take on an EDO. As such, they will allow you to harness the very powerful realm of mathematics to describe the implications of your own musical intuitions. Once you've figured out how the perspective you've chosen to take on an EDO can be represented in val form, you can figure out what commas that EDO tempers out, what &lt;a class="wiki_link" href="/comma%20pump"&gt;comma pumps&lt;/a&gt; are available in the EDO, what the most consonant chords in the EDO are, how to optimize the octave stretch of the EDO to minimize tuning error, how to mix your val with another val to generate a rank-2 temperament such as &lt;a class="wiki_link" href="/meantone"&gt;meantone&lt;/a&gt; or &lt;a class="wiki_link" href="/Porcupine"&gt;porcupine&lt;/a&gt; temperament, and other operations as of yet undiscovered.&lt;br /&gt;
&lt;br /&gt;
(Caveat: a more formal definition for a val is that it maps JI intervals onto a certain number of equally tempered &amp;quot;steps,&amp;quot; which may or may not reflect an EDO in its intuitive sense at all, but rather steps of a much larger generator. This definition, while being perhaps less intuitive, is more applicable in some of the deeper implications of vals in regular temperament theory, which are not dealt with in this abstract.)&lt;br /&gt;
&lt;br /&gt;
See also: &lt;a class="wiki_link" href="/Monzos%20and%20Interval%20Space"&gt;Monzos and Interval Space&lt;/a&gt;, &lt;a class="wiki_link" href="/Patent%20val"&gt;Patent val&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:4:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc1"&gt;&lt;a name="Definition"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:4 --&gt;Definition&lt;/h1&gt;
A val &amp;quot;maps&amp;quot; just intonation to a certain number of steps; by putting vals together we can define the mapping of a &lt;a class="wiki_link" href="/Regular%20temperaments"&gt;regular temperament&lt;/a&gt; and thereby define the temperament. A val is written in the form &amp;lt;a1 a2 a3 ... ak|, where the numbers a1 a2 a3 ... are the number of steps the first k primes are mapped to. This can be generalized so that a1 a2 a3 ... represent the number of steps any set of generators are mapped to, where a set of generators for a &lt;a class="wiki_link" href="/Just%20intonation%20subgroups"&gt;just intonation subgroup&lt;/a&gt; is an independent collection of just intonation intervals, meaning that no one of them is a product of the rest.&lt;br /&gt;
&lt;br /&gt;
A &lt;em&gt;rank r&lt;/em&gt; temperament has r generators, and thus is defined by r vals. In the usual coordinates for the &lt;a class="wiki_link" href="/Harmonic%20limit"&gt;p-limit&lt;/a&gt;, the set of generators are the first k prime numbers and the set of vals for a p-limit temperament gives you the coordinates for each prime harmonic in the p-limit. For example, all 5-limit rank-1 temperaments will be defined by a val &amp;lt;a b c|, where a is the number of generators it takes to reach the 2nd harmonic (2/1), b is the number of generators to reach the 3rd harmonic (3/1), and c is the number of generators it takes to reach the 5th harmonic (5/1). All 5-limit rank-2 temperaments are defined by two vals: [&amp;lt;a1 b1 c1|, &amp;lt;a2 b2 c2|] Now, we locate the 2nd harmonic (2/1) with the 2-dimensional coordinates (a1, a2), meaning go up a1 of the first generator, and up a2 of the 2nd generator, to reach 2/1. Similarly, the 3rd harmonic and 5th harmonic will be located by (b1, b2) and (c1, c2) respectively.&lt;br /&gt;
&lt;br /&gt;
As an example, consider meantone temperament, where 81/80 vanishes. Meantone can be considered a 5-limit rank-2 temperament, defined by the two-val mapping [&amp;lt;1 1 0|, &amp;lt;0 1 4|]. This tells us just about everything we need to know about how the 5-limit is mapped in meantone: since 2/1 is mapped (1, 0), that tells us that the first generator &lt;em&gt;is&lt;/em&gt; a 2/1, and since 3/1 is mapped to (1,1), that tells us that the 2nd generator is a 3/2; then, since 5/1 is mapped to (0,4), aka four 3/2s up, that tells us that 81/64 (which is (3/2)^4) equals 5/1 (which is 80/64). Since 81/64 is equated with 80/64 here, that tells us that 81/80 is tempered out! Thus it is possible to derive from the mapping the approximate size of the two generators, the commas that are tempered out, and roughly the complexity of the temperament (the number of notes of the temperament we need to reach all the prime harmonics in the p-limit). This makes the val an extremely compact and useful bit of notation for describing regular temperaments, since we can discern almost everything we need to know about the temperament essentially at a glance. Whenever one of the generators of a temperament is a 2/1 the key information is carried by the other vals, assuming octave equivalence (i.e. 3/1=3/2=6/1 etc). Thus the essential character of 5-limit meantone is defined by a single val (the one for the 3/2 generator), written &amp;lt;0 1 4|.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:6:&amp;lt;h2&amp;gt; --&gt;&lt;h2 id="toc2"&gt;&lt;a name="Definition-Defintion for mathematicians"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:6 --&gt;Defintion for mathematicians&lt;/h2&gt;
The p-limit &lt;a class="wiki_link" href="/Monzos%20and%20Interval%20Space"&gt;monzos&lt;/a&gt; M form a free abelian group, or Z-module, of finite rank pi(p), which is the number of primes up to and including p. The &lt;a class="wiki_link_ext" href="http://planetmath.org/encyclopedia/DualModule.html" rel="nofollow"&gt;dual Z-module&lt;/a&gt; M* is &lt;a class="wiki_link_ext" href="http://en.wikipedia.org/wiki/Group_isomorphism" rel="nofollow"&gt;isomorphic&lt;/a&gt; to M, but not in a canonical way. Hence it, the group (Z-module) of &lt;strong&gt;vals&lt;/strong&gt;, is also a free abelian group of rank pi(p). Just as monzos are often written as &lt;a class="wiki_link_ext" href="http://mathworld.wolfram.com/Ket.html" rel="nofollow"&gt;kets&lt;/a&gt;, vals are typically written as &lt;a class="wiki_link_ext" href="http://mathworld.wolfram.com/Bra.html" rel="nofollow"&gt;bras&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:8:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc3"&gt;&lt;a name="Vals and Monzos"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:8 --&gt;Vals and Monzos&lt;/h1&gt;
If V is a val and M is a monzo of the same rank, then the &lt;a class="wiki_link_ext" href="http://mathworld.wolfram.com/AngleBracket.html" rel="nofollow"&gt;angle bracket&lt;/a&gt; &amp;lt;V|M&amp;gt;, which can also be written V(M), is the result of applying the &lt;a class="wiki_link_ext" href="http://en.wikipedia.org/wiki/Group_homomorphism" rel="nofollow"&gt;homomorphism&lt;/a&gt; V to M. For example, if V = &amp;lt;12 19 28 34| and M = |-5 2 2 -1&amp;gt; then &amp;lt;V|M&amp;gt; equals 12*(-5) + 19*2 + 28*2 - 34 = 0&lt;br /&gt;
&lt;br /&gt;
This tells us that in septimal 12 equal, represented by V, the interval 225/224, represented by M, is mapped to 0, which represents 1. Hence, 225/224 vanishes in septimal 12 equal; it is in the &lt;a class="wiki_link_ext" href="http://mathworld.wolfram.com/GroupKernel.html" rel="nofollow"&gt;kernel&lt;/a&gt; of V. One should note in particular that the coordinates of V represent where the successive primes 2, 3, 5 and 7 are mapped.&lt;br /&gt;
&lt;br /&gt;
Norms may be placed on the monzos in various ways, turning them into &lt;a class="wiki_link_ext" href="http://mathworld.wolfram.com/PointLattice.html" rel="nofollow"&gt;lattices&lt;/a&gt; in a vector space. Given a vector space norm on a space of ket vectors, the &lt;a class="wiki_link_ext" href="http://mathworld.wolfram.com/DualNormedSpace.html" rel="nofollow"&gt;dual vector space norm&lt;/a&gt; on the space of bra vectors is defined as the least quantity ||V|| making&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;|&amp;lt;V|M&amp;gt;| &amp;lt;= ||V|| ||M||&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
to be always true. The dual of the &lt;a class="wiki_link_ext" href="http://mathworld.wolfram.com/L1-Norm.html" rel="nofollow"&gt;L1 norm&lt;/a&gt; is the &lt;a class="wiki_link_ext" href="http://mathworld.wolfram.com/L-Infinity-Norm.html" rel="nofollow"&gt;Linfty norm&lt;/a&gt;, and the dual space of Tenney interval space is Tenney tuning space. In tuning space, the vals now define a lattice. Similarly, the dual norm to the L2 norm is the L2 norm, and the dual space to Tenney-Euclidean interval space is &lt;em&gt;Tenney-Euclidean tuning space&lt;/em&gt;. The Euclidean norm on a val v is given by&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextMathRule:0:
[[math]]&amp;lt;br/&amp;gt;
\displaystyle&amp;lt;br /&amp;gt;
||v|| = \sqrt{\left({\frac{v_2}{log_2(2)}\right)^2 + \left({\frac{v_3}{log_2(3)}\right)^2 + \left(\frac{v_5}{log_2(5)}\right)^2 + ... + \left(\frac{v_p}{log_2(p)}\right)^2&amp;lt;br /&amp;gt;
%original was ||v|| = sqrt(v2^2 + (v3/log2(3))^2 + ... + (vp/log2(p))^2)&amp;lt;br/&amp;gt;[[math]]
--&gt;&lt;script type="math/tex"&gt;\displaystyle
||v|| = \sqrt{\left({\frac{v_2}{log_2(2)}\right)^2 + \left({\frac{v_3}{log_2(3)}\right)^2 + \left(\frac{v_5}{log_2(5)}\right)^2 + ... + \left(\frac{v_p}{log_2(p)}\right)^2
%original was ||v|| = sqrt(v2^2 + (v3/log2(3))^2 + ... + (vp/log2(p))^2)&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:0 --&gt;&lt;br /&gt;
&lt;br /&gt;
It useful to renormalize to the RMS (root mean square) instead, which requires dividing the above by sqrt(n), where n = pi(p) is the number of primes up to p. This is the TE, or Tenney-Euclidean, norm.&lt;br /&gt;
&lt;br /&gt;
It should be noted that despite the name, only vectors in a small region of tuning space can reasonably be considered to be tunings. These are the points in tuning space close to the JI point, or JIP, which in weighted coordinates is &amp;lt;1 1 1 ... 1|. It has the property that if M is a monzo in weighted coordinates, then &amp;lt;JIP|M&amp;gt;, or JIP(M) if you prefer, is exactly the log base two of the interval M represents, hence the name. In unweighted coordinates, JIP = &amp;lt;1 log2(3) ... log2(p)|, and applied to a monzo this gives the log base two of the corresponding interval.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextHeadingRule:10:&amp;lt;h1&amp;gt; --&gt;&lt;h1 id="toc4"&gt;&lt;a name="Example"&gt;&lt;/a&gt;&lt;!-- ws:end:WikiTextHeadingRule:10 --&gt;Example&lt;/h1&gt;
The rank-1 &lt;a class="wiki_link" href="/7-limit"&gt;7-limit&lt;/a&gt; patent &lt;a class="wiki_link" href="/val"&gt;val&lt;/a&gt; corresponding to &lt;a class="wiki_link" href="/31edo"&gt;31edo&lt;/a&gt; is &amp;lt;31 49 72 87|. This tells us that 31 steps reaches the 2, approximately 49 the 3, 72 the 5, and 87 the 7. In weighted coordinates, it becomes&lt;br /&gt;
&lt;br /&gt;
&lt;!-- ws:start:WikiTextMathRule:1:
[[math]]&amp;lt;br/&amp;gt;
\displaystyle&amp;lt;br /&amp;gt;
\left&amp;lt;31 \; \frac{49}{log_2(3)} \; \frac{72}{log_2(5)} \; \frac{87}{log_2(7)}\right|&amp;lt;br /&amp;gt;
%original was &amp;lt;31 49/log2(3) 72/log2(5) 87/log2(7)|&amp;lt;br/&amp;gt;[[math]]
--&gt;&lt;script type="math/tex"&gt;\displaystyle
\left&lt;31 \; \frac{49}{log_2(3)} \; \frac{72}{log_2(5)} \; \frac{87}{log_2(7)}\right|
%original was &lt;31 49/log2(3) 72/log2(5) 87/log2(7)|&lt;/script&gt;&lt;!-- ws:end:WikiTextMathRule:1 --&gt;&lt;br /&gt;
&lt;br /&gt;
which is approximately &amp;lt;31.000 30.916 31.009 30.990|. The standard Euclidean norm would then be the square root of the sum of squares of this vector, which is approximately sqrt(3838.694), or 61.957. To use the RMS we divide that by sqrt(4)=2, giving 30.976 for the TE norm. Note that the TE norm for this val is approximately 31.&lt;/body&gt;&lt;/html&gt;</pre></div>

Latest revision as of 15:22, 26 April 2025

This is an expert page. It is written to allow experienced readers to learn more about the advanced elements of the topic.
The corresponding beginner page for this topic is Val.

A val "maps" just intonation to a certain number of steps in a chain of generators; by putting vals together we can define the mapping of a regular temperament and thereby define the temperament. A val is written in the form a1 a2 a3ak], where the numbers a1 a2 a3 … are the number of steps along the chain that the first k primes are mapped to. This can be generalized so that a1 a2 a3 … represent the number of steps any JI basis is mapped to, whereas a JI basis for a just intonation subgroup is an independent collection of just intonation intervals, meaning that no one of them is a product of the rest.

A rank-r temperament has r generators, and thus is defined by r vals. In the usual coordinates for the p-limit, the set of generators are the first k prime numbers and the set of vals for a p-limit temperament gives you the coordinates for each prime harmonic in the p-limit. For example, all 5-limit rank-1 temperaments, or equal temperaments, will be defined by a val a b c], where a is the number of generators it takes to reach the 2nd harmonic (2/1), b is the number of generators to reach the 3rd harmonic (3/1), and c is the number of generators it takes to reach the 5th harmonic (5/1). All 5-limit rank-2 temperaments are defined by two vals: [a1 b1 c1], a2 b2 c2]. Now, we locate the 2nd harmonic (2/1) with the 2-dimensional coordinates (a1, a2), sometimes written as [a1 a2, meaning go up a1 of the first generator, and up a2 of the 2nd generator, to reach 2/1. Similarly, the 3rd harmonic and 5th harmonic will be reached by [b1 b2 and [c1 c2 respectively.

As an example, consider meantone temperament, where 81/80 vanishes. Meantone can be considered a 5-limit rank-2 temperament, defined by the two-val mapping [1 1 0], 0 1 4]. This tells us just about everything we need to know about how the 5-limit is mapped in meantone: since 2/1 is mapped to [1 0, that tells us that the first generator is a 2/1, and since 3/1 is mapped to [1 1, that tells us that the 2nd generator is a 3/2; then, since 5/1 is mapped to [0 4, aka four 3/2's up, that tells us that 81/64 (which is (3/2)4) equals 5/1 (which is 80/64). Since 81/64 is equated with 80/64 here, that tells us that 81/80 is tempered out! Thus it is possible to derive from the mapping the approximate size of the two generators, the commas that are tempered out, and roughly the complexity of the temperament (the number of notes of the temperament we need to reach all the prime harmonics in the p-limit). This makes the val an extremely compact and useful bit of notation for describing regular temperaments, since we can readily find where all of the primes are mapped along the temperament's chain of generators essentially at a glance.

Whenever one of the generators of a temperament is a 2/1 the key information is carried by the other vals, assuming octave equivalence (i.e. 3/1 = 3/2 = 6/1 etc.). Thus the essential character of 5-limit meantone is defined by a single val (the one for the 3/2 generator), written 0 1 4].

Definition for mathematicians

The p-limit monzos M form a free abelian group, or ℤ-module, of finite rank π (p), which is the number of primes up to and including p. The dual ℤ-module M* is isomorphic to M, but not in a canonical way. Hence it, the group (Z-module) of vals, is also a free abelian group of rank π (p). Just as monzos are often written as kets, vals are typically written as bras. Vals are homomorphisms from a subgroup of finite rank of ℚ*, the abelian group of the positive rational numbers under multiplication, to the integers ℤ. The number theorist Yves Hellegouarch seems to have been the first to write about them, under the name "degrees".

Vals and monzos

If V is a val and M is a monzo of the same rank, then the angle bracket, written ⟨V|M⟩ (or occasionally V(M)), is the result of applying the homomorphism V to M. For example, if V = 12 19 28 34] and M = [-5 2 2 -1 then ⟨V|M⟩ equals 12×(-5) + 19×2 + 28×2 - 34 = 0.

This tells us that in septimal 12 equal, represented by V, the interval 225/224, represented by M, is mapped to 0, which represents 1. Hence, 225/224 vanishes in septimal 12 equal; it is in the kernel of V. One should note in particular that the coordinates of V represent where the successive primes 2, 3, 5 and 7 are mapped.

By embedding the monzos into a suitable vector space, norms may be placed on the monzos in various ways, turning them into lattices in a vector space. Given a vector space norm on a space of ket vectors, the dual vector space norm on the space of bra vectors is defined as the least quantity ‖V‖ making

[math]\displaystyle{ \displaystyle \lvert \langle V|M \rangle \rvert \le \lVert V \rVert \lVert M \rVert }[/math]

to be always true. The dual of the L1 norm is the L-infinity norm, and the dual space of Tenney interval space is Tenney tuning space. The embedding of monzos into a real normed vector space automatically induces a dual embedding of vals into a corresponding normed vector space, tuning space, in which vals are lattice points. The dual norm to the L2 norm is the L2 norm, and the dual space to Tenney-Euclidean interval space is Tenney-Euclidean tuning space. The Euclidean norm on a val V is given by

[math]\displaystyle{ \displaystyle \lVert V \rVert = \sqrt{\left(\frac{v_1}{\log_2(2)}\right)^2 + \left(\frac{v_2}{\log_2(3)}\right)^2 + \left(\frac{v_3}{\log_2(5)}\right)^2 + \ldots + \left(\frac{v_n}{\log_2(p)}\right)^2} }[/math]

It useful to renormalize to the RMS (root mean square) instead, which requires dividing the above by sqrt (n), where n = π (p) is the number of primes up to p. This is the Tenney-Euclidean norm, or TE norm.

It should be noted that despite the name, only vectors in a small region of tuning space can reasonably be considered to be tunings. These are the points in tuning space close to the JI point, or JIP, which in weighted coordinates is J = 1 1 1 … 1]. It has the property that if M is a monzo in weighted coordinates, then ⟨J|M⟩ or J (M) if you prefer, is exactly the log base two of the interval M represents, hence the name. In unweighted coordinates, J = 1 log2 (3) … log2 (p)], and applied to a monzo this gives the log base two of the corresponding interval.

Example

The rank-1 7-limit patent val corresponding to 31edo is 31 49 72 87]. This tells us that 31 steps reaches the 2, approximately 49 the 3, 72 the 5, and 87 the 7. In weighted coordinates, it becomes

[math]\displaystyle{ \displaystyle \left< 31 \; \frac{49}{\log_2(3)} \; \frac{72}{\log_2(5)} \; \frac{87}{\log_2(7)}\right| }[/math]

which is approximately 31.000 30.916 31.009 30.990]. The standard Euclidean norm would then be the square root of the sum of squares of this vector, which is approximately sqrt (3838.694), or 61.957. To use the RMS we divide that by sqrt (4) = 2, giving 30.976 for the TE norm. Note that the TE norm for this val is approximately 31; any val closely approximating JI is expected to have the TE norm close to its division of the octave.