Day 8 of ∞All days

Wednesday, 11 November 2026

Ptolemy's intense diatonic

Ptolemy, first expedition: a timbre where 4 of 6 steps land in consonance (an ordinary instrument: 4; Sethares' construction: 4).

The just major scale described by Ptolemy, whose second-degree chord has a sour 40/27 fifth.

The numbers

An ordinary instrument
4 of 6 steps land
Sethares’ construction
4 of 6 steps land
Tonight’s search
4 of 6 steps land, a new record
The rule it found
An ordinary instrument: harmonics falling away as a power of their number.
Programs tried
76 programs, 59 valid, across 12 generations
The piece
Day 8 — The Sour Fifth

Tonight’s film

Read the program
const PARAMS = 2;
function timbre(target, p) {
	const count = 4 + Math.round(p[0] * 12);
	const tilt = 0.5 + 1.5 * p[1];
	const partials = [];
	for (let k = 1; k <= count; k++) partials.push({ ratio: k, amp: 1 / Math.pow(k, tilt) });
	return partials;
}

Consonance here is measured with Sethares’ model of sensory dissonance, not by ear. A step lands when it sits at the bottom of a valley in the timbre’s dissonance curve. Perfect harmony is out of reach — pure fifths and thirds never close into one scale — which is why the search does not end.

Every morning, what the night found.

One email a day at 7am Singapore time, with the discovery, the music and the film.