Thursday, September 10, 2026

Cyclic Engagement

We don't act mindlessly, though we might act distractedly. But there are many ways to pay attention to what we're doing. I can just take my bicycle out for a spin around the neighborhood with no route in mind. Just turning in whichever direction I feel pulled, I can end up going down new streets and discovering parts of town I never knew about. Where I live there are a few old houses tucked among much newer houses according to no pattern I know. Well, one time I did a bit of research and found that the old Lincoln Highway passed through one part of town, so that explains the older houses along there.

This serendipitous wandering approach has its limits, though. It's not hard to end up quite far from home as the sun is going down! If I can keep track of the general direction in which I have been heading, and I know what time I left and what time the sun goes down, I can just keep an eye on the time and turn around to head home so I get there before dark. I can avoid busy streets unless I know a turn comes soon onto a quieter road. I can keep a weather eye out so I carry a jacket if rain looks likely. A water bottle is a necessity on a ride of any length, but then I should be setting out with some idea of how long I will be riding. Well, too, I need to be telling my wife how long I expect to be gone, so she doesn't get to worrying. There is a place for pure serendipity, but more commonly some rough sort of plan is needed.

Plans are good, but they often need to be flexible. There are many situations that can come up along a ride that indicate a change in plans is called for. A change in plans can be a shift into a more serendipitous mode, but I can also set out with a sort of network of route possibilities and criteria for deciding which to take as the ride proceeds. I might plan to ride to the grocery store to see whether they've got a particular product in stock. If I can get some there, then perhaps I will just head back home. If they're out at that shop, then I will head over to the next shop to try my luck there. Unless those rain clouds intensify, in which case I might head home anyway and try again tomorrow, assuming the weather clears up. This sort of network of plan fragments is a strategy, as the term is used in game theory. I don't know exactly what moves I will make, because I am not in total control of the situation. But I know what sorts of situations I might encounter along the way, and I know how I will respond for each of these possiblities.

To know all the different sorts of situations that might arise, that's a tall order! The world is full of surprises! One way to avoid surprises to to delay action until all the reasonable possibilities are understood... but that might be a very long delay, long enough to make whatever goal unachievable! Another way to avoid surprises is simply to be blind to them. One might manage to blunder through despite all, but more often this kind of blindness results in disaster. One can take a purely serendipitous approach to surprises, but that is not necessary. The unknowns are not all unknown. One can plan to learn. One can structure a journey using a variety of shorter explorations. These shorter explorations can limit the risk, so disaster is not so likely. But these explorations let us learn more about what situations can arise. Part of the journey is learning how to make the journey. The lessons shape the strategy, the strategy shapes the plans, the plans shape the lessons.

Why have we set out on such an expedition? Do we just want to see what we can see? Or do I need to get from point A to point B? I could be exploring for a place to engage in some profitable activity, for a forest were I can forage for mushrooms, for a farmer's market where I can busk, etc. Along my journey, though, my ideas of what I want might well change. My plan was to ride from Los Angeles to New York, but I discovered a violin maker in Des Moines and decided that an apprenticeship was my real way forward! My plan was to climb a Himalayan Peak but I became a tea merchant in Darjeeling! My plan was to sail around the world, but now I am working to protect lemur habitat in Madagascar! The goal shapes the journey; the journey shapes the goal!

It's not just that my journey involves discovering new goals. My journey makes me who I am. I am not the same person that I was when I set out! I am wearing clothes that I found along my way. I am telling the stories that I have heard along the way. The very shape of my body, my muscles, callouses, scars, etc. are the product of my journey. The I that started with one goal is not the same I that now has a different goal!

It's possible to resist this kind of fluidity. Once I have my made my mind up about something, I can just hold on and refuse to change. None of us lives so very long, after all! Holding on doesn't have to be forever, but just long enough. Ah, but even by holding on, that rigidity itself evolves. Our bones change their shape in response to habitual muscle tension! So in the end we cannot avoid a kind of serendipitous wandering approach to life. We can accept our own fluidity or we can refuse it, but that refusal is just another form of wandering.

We have come full circle, from serendipitous wandering back to serendipitous wandering. It's not a closure - it's an opening! This fluidity of my own evolution... I can start looking at ways to steer it toward more interesting neighborhoods, and ways to avoid the nastier surprises like getting caught in storms. This whole structure is a sort of helix, plans, strategies, lessons, evaluations... like a spiral staircase connecting level to level... the levels guiding and informing each other. What our lives are... incomprehensibly vast!

Sunday, July 26, 2026

Toroidal Scales

Here's a new piece of algorithmic music: 99edo scale 25.

This is in the 25 note per octave scale diagrammed above, in the 99edo tuning system. This scale can be generated by the 16\99 interval, which corresponds to a 28:25 frequency ratio. But that's not how I came up with it!

I am working to develop a systematic approach to scale construction, using a toolbox of path-oriented methods. The main idea is to start with a path that traverses some comma, and then to augment this path in various ways until a scale emerges that invites musical composition. Augmentation might be adding another path between two notes in the scale. The new path could consist of the same intervals as an existing path, but simply reordered. Or, the new path could be topologically distinct, so that the old path and the new path form a traversal of some comma. Or, a complete comma traversal could be added to any note in the scale.

My idea with this 25 note scale was start with a traversal of a comma, and then add to each point in the scale a traversal of a second comma. For this piece, I chose the commas 3136:3125 and 6144:6125, both of which are tempered out by 99edo. The first comma can be traversed by a path of seven notes; the second by a path of six notes. For each note in the first path, I added five more notes to make a traversal of the second comma. The second notes of each of these again form a traversal of the first comma, as do the third notes, the fourth notes, etc. This is a very simple property of intervals: if two notes are separated by an interval X, and we raise both notes by the same interval Y, then the raised notes are again separated by the interval X.

Seven traversals of length six could produces as many as 42 notes, but there were many duplicates. The seven traversal produced 23 distinct notes. These were quite nicely spaced, mostly with gaps of 3\99 and 7\99. There were a couple gaps of size 10\99. By adding a couple more notes, bringing the total to 25, a regular pattern of gaps was produced. This same pattern can be generated using a chain of 16\99 intervals. Why the toroidal construction results in the same notes as this simpler method of generation... probably somebody in the microtonal world knows, but I sure don't!

Tuesday, July 21, 2026

2 3 5 7 11 13

Here is a new piece of music: 270edo scale 23.

This music is in the 270edo tuning system which divides octaves into 270 equal parts. This provides very precise tuning for a wide range of intervals. The music uses a scale with just 23 of the possible 270 pitches in each octave. The diagram above shows the pitches of the scale and their harmonic relationships. Pitches are labeled by integers, from 0 to 269 in each octave, and then starting up with 0 again for the next octave. In ascending order, the pitches in the scale are: 0, 10, 24, 36, 45, 62, 70, 77, 87, 97, 114, 122, 136, 148, 158, 168, 182, 199, 209, 228, 235, 245, and 260. The intervals between the successive pitches vary between 7 and 19 microsteps of the tuning system, so the spacing is reasonably even.

The arrows between pitches show the harmonic relationships. A green arrow represents a 3:2 frequency ratio (the best approximation in the 270edo tuning system), a perfect fifth in conventional tuning. Blue arrows are 5:4 ratio, major thirds in conventional tuning. Red arrows are 7:4, purple are 11:8, and yellow are 13:8; none of these are conventional intervals.

This scale supports traversal of a family of commas. The diagram above shows a traversal of the comma 1001:1000.

This is a traversal of 4096:4095.

This is a traversal of 41503:41472.

It looks to me like these three commas form a basis for all the commas that can be traversed in this scale. With six prime numbers involved in the tuning, the total set of commas tempered out by 270edo should be a five dimensional space. This scale supports traversal of a three dimensional subspace of that full set.

This traversal of 123201:123200 is a combination of the basis set of traversals.

I don't have a systematic way to construct scales like this, where the scales steps are reasonably even, where the graph of harmonic relationships is reasonable dense, and where comma traversals are supported. The set of commas tempered out by a tuning system already tend to have an irregular structure, so these sorts of scales probably won't be very regular either!

Wednesday, July 1, 2026

2 3 5 11

Here is a new piece: 22edo scale 7

This piece uses a seven note scale in 22edo, as diagramed above. Green arrows represent perfect fifths, 3:2 frequency ratios. Blue arrow represent major thirds, 5:4. Purple arrows represent the unconventional interval 11:8. There are paths in this scale that traverse the commas 100:99 and 55:54.

Saturday, June 6, 2026

Leadership

Utah's Governor Cox and Military Installation Development Authority propose Utah playing a leading role in nuclear and artifical intelligence technologies. The form of this leadership seems largely to be a matter of siting nuclear reactors, radioactive waste dump sites, and data centers in the state. Utah's leadership is mainly about cheap resources, tax breaks, and lax regulation. This is a plantation economy that impoverishes the majority, channeling the benefits to a small power elite. This is no kind of true leadership.

Nuclear and artificial intelligence technologies are clearly important, whatever role they might play in the future. Utah could take on a true leadership role. True technological leadership is a matter of the expertise of the people. Expertise can be organized in a variety of ways, in industrial corporations, in governmental agencies, and in civil society groups such as universities.

Nuclear technology is vast and involves expertise in a very broad array of disciplines. Applications include energy production, weapons, and medicine. Nuclear technology continues to be a key source of international conflict. It is a cornerstone of industrial and military power. On the other hand, mining and waste disposal bring disease and ecological degradation, and are thus vectors of disempowerment. Politics is therefore a field of major importance for nuclear technology. Geology is important not just for locating raw materials but also for understanding the pathways by which waste materials might escape their disposal sites over their long half-lives of radioactive toxicity. Biology and public health expertise is important for tracking and managing the risks of exposure to radioactive materials. All of these fields of expertise are invigorated by engagement across a range activities, from research and development to application.

Artificial intelligence is similarly vast. There are computer science and computer engineering challenges involved in making these systems more effective and efficient. There are sociological problems, to understand how these systems are changing the way people behave, are changing the structure of society. There are political problems, to understand how these systems empower some groups and disempower other groups, and how regulation might ameliorate the most negative of these shifts.

Our Utah officials could take bold steps to cultivate real leadership in nuclear technology and artificial intelligence. This means investing in people and organizations, rather than a race to the bottom, selling off assets at discounted prices.

Wednesday, June 3, 2026

Roll Your Own!

I was visiting the Bright Dawn Buddhist center in California recently and got to talking with Kanon Kubose about software technology. I mentioned my desire to have a web app that would allow people to experiment with alternative tuning systems. Kanon wanted to try using Claude Code. So... in just maybe a week of back and forth, we produced:

microtonal2.vercel.app

It's hardly a polished product... we need a name, for example! But it's already loads of fun to play with!

You can divide octaves into however many equal steps that you'd like, and also pick which primes should be used to define consonant intervals.

You can then build tonnetz-type diagrams whose x and y axes can be chosen from a range of consonant intervals.

The app will then show you a list of commas that the tuning tempers out. That's one of the main advantages of tempered tunings, that one can exploit in various ways commas that have been tempered out. The app will show the path on the tonnetz of a traversal of the comma one selects from the list.

You can then define a scale. A selection of Moment of Symmetry scales is provide, or one can construct an arbitrary scale manually. The scale I constructed manually is actually a Moment of Symmetry scale, generated by the 29\53 step interval corresponding to 35:24. That generating interval is just a bit too esoteric to appear in the app's list that one can pick from!

The composition algorithm, that I use and the app uses, is based on a score for intervals: low cost intervals are more likely to appear in the generated music. The scores are based on the complexity of the just intervals that each tempered interval approximates, and also on how well the tempered interval approximates those just intervals. Anyway you can play with those three sliders to get the interval cost matrix to look like it has promise.

I confess that I have not really played yet with controlling the voices in the composition. Feel free to give it a try!

Next one can specify the general structure of the composition to be produced - the number and topology of the measures. One can also control some of the basic scoring parameters: how wide or narrow should be the pitch ranges of the voices, how large should the pitch jumps of a voice be, etc. Adjusting these to see what the results sound like, that's a lot of the fun here.

The actual composition process is a thermodynamic simulation controlled by a temperature parameter. At a high temperature, pitches are chosen at random with little bias toward consonant intervals etc. At a low temperature, the lowest cost pitch will be picked. At intermediate temperatures, lower cost pitches will be preferred but there will still be a significant chance of a higher cost pitch being picked.

The pitch distribution bar chart on the right side of the screen is a good indicator of the regime that the temperature has driven the system into. With the cost structure that has been chosen, the temperature of 200 created a rather flat distribution of pitches, i.e. the system is in a high temperature regime.

4.8 is evidently a cold temperature, where the composition is dominated by just a few pitch classes.

A temperature of 8.3 has a promising pitch class histogram - not too flat, not too steep!

One can snapshot the system at whatever interesting points along the way, and then see and play a score.

The score at temperature 200 doesn't look utterly random, but nearly so. A snippet of sound: hot sound.

The cold system certainly looks ordered! And sounds it: cold sound.

The intermediate temperature indeed has intermediate structure. The sound, hmmm. It's quite a strange scale, so, hard to say! intermediate sound.

Tuesday, May 26, 2026

Emergent Structure

Here's a new piece: 270edo scale 16 emergent.

This piece is in a 16 note scale of the tuning system 270edo. The scale is designed to support traversal of the comma 2401:2400.

Lately I have been playing hide-and-seek with comma traversals. The highly randomized algorithm I use is targeted to creating fractal fluctations, in hopes of making interesting music. These fluctuations can conflict with the neat topological structure of a comma traversal. I initialize the system with the traversal, and then apply the thermodynamic randomization. The challenge is to randomize enough to create interesting fluctuations, but not so much as to erase the traversal. Lately most of my attempts have failed to preserve the traversals!

One method that seemed to be working: I would run a long similation, starting with a moderately high temperature and then gradually reducing the temperature and watching for the phase transition which creates the fractal fluctuations. I would record the temperature of the transition, and then run a second simulation, starting again with the traversal as the initialization, but simply running the simulation at the single temperature that I had recorded for the phase transition.

My plan had been to repeat this method with this 2401:2400 traversal. There are 343 measures in the piece, arranged in a 7x7x7 cube. Traversing 2401:2400 involves seven basic steps. I initialized the system to traverse the comma 49 times over the course of the piece. I examined the score after the thermodynamic simulation at moderately high temperature, and did not see any evidence of the traversal having survived. Sure enough, at a much lower temperature, I observed a huge spike in the heat capacity, i.e. a rapid drop in energy, characterizing a phase transition. I expected to see a corresponding spike in the histogram of the pitches in the piece, to see some single pitch coming to dominate. But no dominant pitch emerged! So I checked the score... there is a clear staircase pattern, but it only repeats seven times over the course of the piece! The system at the phase transition has a comma traversal, but it is oriented differently from the one I had planted!

A plot of energy vs. temperature for this simulation run, showing the sudden steepness at the phase transition: