Collatz · 3n + 1 · sonified

Hailstone Harmonics

Every whole number sings a hailstone melody. Halve an even number and the tune falls; triple an odd one and add one, and it leaps. Every sequence anyone has ever tested comes to rest on 1 — the tonic.

How it works: the math, and why it sounds like music

List several for a choir (27, 31, 47), a range (27-34), or an expression (2^64-1).

27
112 BPM

One step per sixteenth note

35%

Reverb and echo

80%

Space play/pause · next number

Mapping

Range

How far the melody can travel

Choir alignment

Needs two or more numbers

Layers
Mix levels
100%
100%
100%
100%
Now sounding

Sequence

Click any number to play from there

Falls · n ÷ 2

An even number is halved. In Contour the melody steps down the scale; in Harmonic series it drops exactly one octave, because halving a frequency is an octave.

Updrafts · 3n + 1

An odd number is tripled, plus one: the leap. Tripling a frequency lands an octave and a perfect fifth higher; the +1 nudges it a hair sharp.

Landing · 1

1 is the tonic, so every piece ends at home. From 1 the rule loops 4 → 2 → 1 forever. Computers have checked every starting number past 1021; nobody has proved they all land.

Choirs

Enter several numbers. Converge lines them up to finish together: once two paths meet they share every later note, so the voices fold into unison. Canon starts them together, so shared stretches return as echoes.