Kite's color notation: Difference between revisions
Line 276: | Line 276: | ||
== Converting a Ratio to/from a Color Name == | == Converting a Ratio to/from a Color Name == | ||
Often a ratio can be converted by breaking it down into simpler, familiar ratios. For example, 45/32 is 5/4 times 9/8, which is y3 plus w2. The colors and degrees are summed, making y4. The magnitude is <u>not</u> summed, and must be found either visually from the lattices above, or from the monzo directly. 45/32 = | Often a ratio can be converted by breaking it down into simpler, familiar ratios. For example, 45/32 is 5/4 times 9/8, which is y3 plus w2. The colors and degrees are summed, making y4. The magnitude is <u>not</u> summed, and must be found either visually from the lattices above, or from the monzo directly. 45/32 = [-5 2 1>, and (2+1)/7 rounds to 0, so it's central, and 45/32 = y4. | ||
For more complex ratios, a more direct method is used: | For more complex ratios, a more direct method is used: | ||
Converting a ratio: Find the [[Monzos|monzo]] by prime factorization. To find the color, combine all the appropriate colors for each prime > 3, higher primes first. To find the degree, first find the stepspan, which is the dot product of the monzo with the "pseudo-edomapping" discussed above <7 11 16 20 24 26 29 30... | '''<u>Converting a ratio</u>:''' Find the [[Monzos|monzo]] by prime factorization. To find the color, combine all the appropriate colors for each prime > 3, higher primes first. To find the degree, first find the stepspan, which is the dot product of the monzo with the "pseudo-edomapping" discussed above <7 11 16 20 24 26 29 30...]. Then add 1, or subtract 1 if the stepspan is negative. To find the magnitude, add up all the monzo exponents except the first one, divide by 7, and round off. Combine the magnitude, color and degree to make the color name. If the interval is > 1200¢, octave-reduce as desired (i.e. a 9th may or may not become a compound 2nd). Add one co- prefix for every octave removed. Combine repeated syllables so that three yo's becomes triyo, etc. For the exact combination "grammar", see [[Color notation/Temperament Names]]. | ||
Example: ratio = 63/40, monzo = | Example: ratio = 63/40, monzo = [-3 2 -1 1>, color = zogu, stepspan = <7 11 16 20] dot [-3 2 -1 1> = -21 + 22 - 16 + 20 = 5 steps, degree = 5 + 1 = a 6th, magnitude = round [(2 + (-1) + 1) / 7] = round (2/7) = 0 = central, interval = zg6. 63/20 would be zg13 = czg6. | ||
Converting a color name: Let S be the stepspan of the interval, S = degree - sign (degree). Let M be the magnitude of the color name, with L = 1, LL = 2, etc. Small is negative and central is zero. Let the monzo be | <u>'''Converting a color name'''</u>: Let S be the stepspan of the interval, S = degree - sign (degree). Let M be the magnitude of the color name, with L = 1, LL = 2, etc. Small is negative and central is zero. Let C be the number of "co-" prefixes. Let the monzo be [a b c d e...>. The colors directly give you all the monzo entries except a and b. Let X = the dot product of [0 0 c d e...> with the pseudo-edomapping. Then b = (2S - 2X + 3) mod 7 + 7M - 3, and a = (S - X - 11b) / 7 + C. Convert the monzo to a ratio. | ||
Example: interval = sgg2, S = 2 - 1 = 1 step, M = small = -1, | Example: interval = sgg2, S = 2 - 1 = 1 step, M = small = -1, C = 0. Monzo = [a b -2>, X = <7 11 16] dot [0 0 -2> = -32, b = (2·1 - 2·(-32) + 3) mod 7 + 7·(-1) - 3 = 69 mod 7 - 7 - 3 = 6 - 10 = -4, a = (1 - (-32) - 11·(-4)) / 7 + 0 = 77/7 = 11, monzo = [11 -4 -2>, ratio = 2048/2025. | ||
== Staff Notation == | == Staff Notation == |