# Vals

**What are vals and what are they for?**

## Definition

A val is a map representing how to view the intervals in a single chain of generators as the tempered versions of intervals in just intonation. They form the link between things like EDOs and JI, and by doing so form the basis for all of regular temperament theory. It's very common for vals to refer to EDOs specifically, although they also show us how to relate larger chains of generators to JI as well (such as a stack of meantone fifths).

A val accomplishes the goal of mapping all intervals in some harmonic limit by simply notating how many steps in the chain it takes to get to each of the primes within the limit. Since every positive rational number can be described as a product of primes, any mapping for the primes hence implies a mapping for all of the positive rational numbers within the prime limit. By mapping the primes and letting the composite rationals fall where they may, a val tells us which interval in the chain represents the tempered 3/2, which interval represents the tempered 5/4, and so forth.

Vals are usually written in the notation <a b c d e f ... p], where each successive column represents a successive prime, such as 2, 3, 5, 7, 11, 13... etc, in that order, up to some prime limit p.

For a more mathematically intensive introduction to vals, see Vals and Tuning Space.

Vals are important because they provide a way to mathematically formalize how, specifically, the intervals in a random chain of generators are viewed as the tempered versions of more fundamental just intonation intervals. They can also be viewed as a way to map JI "onto" the chain, imbuing it with a harmonic context. Vals will enable you to figure out what commas your temperament eliminates, what comma pumps are available in the temperament, what the most consonant chords in the temperament are, how to optimize the octave stretch of the temperament to minimize tuning error, what EDOs support your temperament, and other operations as of yet undiscovered.

## Example EDO

Consider the 5-limit val <12 19 28]. This val tells us that you should view 12 generator steps as mapping to the octave 2/1. Since the temperament which maps 12 generator steps to the octave is 12-EDO, this means you're describing 12-EDO.

The val <12 19 28], in addition to saying that 12 steps of 12-equal represents 2/1, also states explicitly that 19 steps of 12-equal represents a tempered 3/1, and 28 steps of 12-equal represents a tempered 5/1.

Now assume you'd like to extend 12-EDO into the 7-limit. 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 <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 <12 19 28 33] val, and if you'd like to say that 123000 cents is 7/4, that would be represented by the <12 19 28 1254] val.

## Shorthand Notation

Given an explicit or assumed limit, any patent val can simply be represented by stating its first coefficient - the digit representing how many generators map to 2/1. For example, the 5-limit patent val for 17-EDO, <17 27 39], can be called simply, "17".

The patent val for any EDO will use the most accurate mapping for each individual prime. However, it may often be the case that one wants to refer to vals other than the patent val. For example, the 5-limit val <17 27 40], which maps the 5/4 to the 424 cent interval rather than the 353 cent interval, is not the patent val for 17-EDO but may be preferred because it is lower in overall error.

Non-patent vals are specified by adding a "wart" to the end of their name which specifies their deviation from the patent val. In this case, we want to specify that the 5/1 has been changed to use its second-most accurate mapping. Since 5 is the third prime number, we add the third letter of the alphabet to the end of the EDO number, to form "17c". If we wanted to use the third-most accurate mapping for 5, <17 27 38], we'd write "17cc".

The general rule is:

- For each wart, the letter specifies which prime approximation is being altered, so that the nth letter of the alphabet refers to the nth prime.
- A letter which appears m times refers to the (m+1)th most accurate mapping for that prime.
- If a number representing a val is wartless, it is taken to mean the patent val.

See also: Monzos and Interval Space, Patent val, Vals and Tuning Space, Optimal patent val