Wednesday, October 22, 2025
Forget the Commas!
Tuesday, October 21, 2025
Symmetric Scales
This is a graphical score for the piece. The horizontal axis is time, in seconds. The vertical axis is pitch classes, from 0 to 269. All the octaves have been folded into a single octave.
The score shows the scale I used for this piece. This scale is an example of what Olivier Messiaen called a "mode of limited transposition" - I am calling it a symmetric scale. A nice feature of 270edo is that 270 factors very nicely: 270 = 2 x 5 x 27. These factors create opportunities for symmetries: a pattern of notes in or out of the scale can be repeated within an octave. In the scale here, the pattern is 27 pitch classes long, and repeats 10 times in an octave, to cover the full 270 pitch classes. From the 27 pitch classes in the pattern, 9 are in the scale and the other 18 are excluded. The 9 included are a simple sequence of every other pitch class in the scale, every other pitch class out of the scale.
So the complete scale starts with pitch classes 0, 2, 4, 6, 8, 10, 12, 14, 16, 27, 29, 31, 33, 35, etc.
My goal with this scale was to support traversal of the comma 2080:2079. This comma is not too complicated but it includes all the primes involved in the notion of consonance I imposed for this piece: 2080 = 32 x 5 x 13; 2079 = 27 x 7 x 11. I figured that if a scale could allow traversal of this comma, it could support a rich harmonic language.
Friday, October 17, 2025
270edo
What makes a tuning system good? The availability of consonant intervals is a major criterion. What should count as a consonant interval, that's a challenging issue. A classical starting point is that a consonant interval is one that is very close to a simple frequency ratio. How close? How simple? But at least we are getting close to a concrete idea.
The chart above shows, for a quite wide spectrum of simple ratios, how closely they can be approximated by the available intervals of 12edo. The numbers on the top and left margins define the numerator and denominator of a simple ratio. The green square containing 0.02 in the upper left shows the error when 12edo is approximating the simple ratio 3:1. That ratio would be 19.02 steps of 12edo, but of course the closest actual interval in the tuning system is 19 steps, so the error is 0.02. The error for 5:1 is 0.14, which is not so terribly accurate. I have used bright green to flag the very accurate intervals of 12edo and pale green to flag the moderately accurate intervals. The squares in grey are redundant, because the numerator and denominator are not mutually prime.
The simplest intervals are the ones toward the upper left. The more and brighter green cells that a tuning has, the better the tuning, especially when the green cells are toward the upper left.
One of the simplest alternative tunings is 24edo, where each (half) step of 12edo is divided in half, to form quarter tones. These charts measure errors in terms of the size of the step of the tuning. Since the step size of 24edo is half the size of the steps of 12edo, many of the errors double in size. But some are much smaller. The error for 11:1 is only 0.03. 11:1 falls just about half way between steps of 12edo, so when a new note is added in the middle, it comes very close to 11:1. But overall, comparing 24edo to 12edo, it is not clear which is the winner. 24edo adds a lot of notes for not so much gain.
270edo divides octaves into 270 equal steps instead of the conventional 12, so obviously it is adding an awful lot of extra notes! But its chart shows, it really hits a lot of simple ratios quite accurately. Of course its steps are so small that it can't be too far off! But these errors are in terms of the tiny steps of 270edo. For example, 3:1 is 427.94 steps of 270edo. The available interval of 428 steps is just 0.06 of a step sharp.
Here are three snapshots of the evolution of a composition from my thermodynamic composition system:
- temp=865.154772702373; cost=17487362.4275858;
- temp=447.765805311866; cost=8883781.06482988;
- temp=10; cost=3690000; (oops, this is from memory... I didn't record the exact numbers!)
For this piece I counted as consonant a wide range of simple intervals, such as 14:13, 13:12, 12:11, etc. These ratios can be combined to form commas like 676:675, 1001:1000, and 2401:2400 that 270edo tempers out. Traversals of these commas can get stuck, as topological defects, in the piece. Exactly what pattern of such traversals remains in this final stage... that would be a bit complicated to figure out!
Sunday, October 12, 2025
Emergent Order
- vertical relationships: pitches sounding at the same time in other voices
- horizontal relationships: pitches immediately before or after in the same voices
- thematic relationships: pitches sounding at more distant times that are in the same corresponding place in a different expression of a musical phrase or motif or theme.
I use a variety of technniques for the initial choices, but the main way around the problem of circularity is that choices are made again and again. After initial pitches have been chosen for all ten thousand note events, those choices are revisited. Some single note event is randomly selected from among the ten thousand. The probabilities are computed for this note event, based on the pitches currently assigned to related note events. A fresh random pitch choice is made, using these probabilities, and the chosen pitch is assigned to this note event. This process is repeated again and again, many millions of times. So the pitch to be assigned to a single note event will be chosen again and again, thousands of times. Between each choice, though, the pitches assigned to the related note events will also have changed, so the probabilities will be different each time the pitch is chosen.
The calculation of the probabilities is based on a cost function. A low cost is assigned to pitches that fit well with pitches at related note events. A system temperature parameter is used in deriving probabilities from the costs. When possible pitches have cost differences that are small relative to the temperature, they will be assigned similar probabilities. When cost differences are large relative to the temperature, then the probabilities will be very different.
The overall process of pitch selection usually involves starting the system at a high temperature, assigning and reassigning pitches to note events again and again, then slowly lowering the temperature, again reassigning pitches many times at each temperature. The pitch choice made at one note event will affect the choices to be made at related note events, and then those choices will affect yet other choices, and this propagation of choices will let the whole system organize itself.
A total cost for the system can be computed, as simply the sum of the costs for all the note events in the system. At high temperatures, high cost pitches have a higher probability, so the total system cost will be high. As the temperature is lowered, the total system cost goes down. A curious feature of thermodynamic systems like this is that the decrease in cost with temperature is often not smooth. Phase transitions occur, where long range order arises and the system cost suddenly decreases. The graph above, with temperature on the horizontal axis and cost on the vertical axis, shows a sudden drop in cost around temperature 230.
A tonal center would be a typical kind of long range order in a musical system. Looking at a particular note event, if the pitches at the related note events are quite unrelated harmonically, then there will be no strong bias in the probabilities for assigning a new pitch at this event. But once the pitches at the related note events are all harmonically close to some tonal center, then there will be a strong bias to assign a harmonically related pitch at this event, too.
The slow decrease in system temperature allows long range order to emerge spontaneously. I took eighteen snapshots of the evolution of the system in a run of this software. The first snapshots are at a very high temperature, so the pitches are quite disordered. The last snapshots are at a very low temperature, after long range order has emerged and established itself. At these extremes of very little order or very strong order, the pieces are rather boring. The most musically interesting pieces are in the middle, at the boundary between order and disorder.
- temp=4983.67001252014; cost=10544386.267572;
- temp=3178.35877439225; cost=8365076.82243706;
- temp=1768.29608835035; cost=6691731.54375484;
- temp=907.870229277442; cost=5341434.10767405;
- temp=437.105167762909; cost=4254305.00978789;
- temp=253.151000149135; cost=3362954.84572504;
- temp=226.226281845489; cost=2575694.51859118;
- temp=213.857636486513; cost=1992138.33672853;
- temp=194.206977218147; cost=1593476.40311909;
- temp=168.06408964933; cost=1268744.01912949;
- temp=144.276865461673; cost=1010195.00479415;
- temp=119.940307483187; cost=804750.28245681;
- temp=103.794718800345; cost=639506.147892938;
- temp=88.3911327966952; cost=494414.291970105;
- temp=77.7312146561222; cost=382966.425501626;
- temp=69.4638522645718; cost=300979.198963986;
- temp=60.1130776123832; cost=239863.346055088
- temp=48.7834419649326; cost=190764.398975199
Thursday, October 9, 2025
Well Temperament
- including many consontant intervals;
- not including too many notes per octave;
- symmetry, where the intervals available from one note are also available from other notes;
- simple paths from a note don't lead to a note that is slightly off the starting point, giving rise to drifting or sounding out of tune.
C Major
G Major
D Major
A Major
E Major
B Major
F# Major
The shapes of the diatonic scales now start to repeat, so their characters will be the same as those already given.
C# Major
Ab Major
Eb Major
Bb Major
F Major



















