02 / Explore · Tools05 / Menu · Tools

Chaos Orchestra

Chaotic systems become instruments: Lorenz's attractor is an oscillator and a melody, the logistic map a rhythm. All are deterministic; the same start always plays the same music, while two nearby starts soon separate.

Chaos Orchestra

MATHEMATICS

The sound is generated on this device from the solution of the differential equations and the map. No random numbers are used: chaos here is deterministic irregularity.

ATTRACTOR · LORENZ 1963σ 10.0 · ρ 28.0 · β 8/3
SEPARATION 1.0 × 10⁻⁹t 0.0
LOGISTIC MAP · BIFURCATIONr 3.8300 · PERIOD 3
CHAOTIC RHYTHM · xₙ₊₁ = r·xₙ(1 − xₙ)8 BEATS/S

SYSTEM

dx/dt = σ(y − x)

PARAMETERS

CLASSIC VALUES
10.0
28.0
8/3
3.8300

LAYERS

LEVEL
Chaos oscillator
The system is solved at audio rate and x becomes the waveform; content below 50 Hz is filtered out.
Chaotic melody
The slow solution is quantized to a C pentatonic scale; one note per beat.
Chaotic rhythm
Logistic map: a hit when xₙ > 0.5, an accent when > 0.85.
Butterfly
The second orbit's melody: the same at first, different once they separate.
8 / sn

Rhythm ≤ 20 beats a second. The oscillator's envelope is irregular like noise: no periodic fluctuation at 4-40 Hz. The attractor turns slowly and does not flash.

Butterfly effect

TWO ORBITS
STARTING DIFFERENCE
1 × 10⁻⁹ (in x)
CURRENT SEPARATION
1.0 × 10⁻⁹
SEPARATED
not yet
DETERMINISTIC
Restart plays the same melody again

CALCULATION · RUNGE-KUTTA 4, STEP 0.005 · LORENZ 1963, RÖSSLER 1976

The period doubles

CALCULATED · FEIGENBAUM
Bifurcation points
TRANSITIONrGAPRATIO
1 → 2…——
2 → 4…——
4 → 8…——
8 → 16…——

With each doubling the ratio of the gaps approaches the same number: the Feigenbaum ratio (≈ 4.669; Feigenbaum 1978). The values were calculated on this page from the map.

What does chaos sound like?

Chaos Orchestra turns chaotic systems into instruments. The Lorenz and Rössler attractors play an oscillator and a melody, the logistic map plays a rhythm. All of them are deterministic: no random numbers are used and the same start always gives the same music, yet two orbits that start 10⁻⁹ apart soon end up somewhere entirely different. This is the butterfly effect.

How does Chaos Orchestra work?

  1. Press Listen: the chaotic melody and the logistic rhythm play at 8 beats a second.
  2. Tap the bifurcation diagram or move the r slider: at period 2 the rhythm repeats every two steps, at period 4 every four, in chaos it never repeats.
  3. Change the parameters: Lorenz's σ, ρ and β change where the melody wanders.
  4. The Nudge button places the second orbit 10⁻⁹ from the first: the butterfly melody plays the same at first, then drifts apart.
  5. The Restart button returns everything to the same start: the same melody plays again.

What is it used for?

  • Hear the butterfly effect

    The Nudge button places a second orbit 10⁻⁹ away from the first: the two melodies play the same at first, then drift apart.

  • Listen to the road to chaos

    Move r on the bifurcation diagram: at period 2 the rhythm repeats every two steps, at period 4 every four, and in chaos it never repeats.

  • Deterministic chaos in a lesson

    Change Lorenz's σ, ρ and β to show how a system with fixed rules can look unpredictable; no random numbers are used, and From the start plays the same melody again.

  • Material for generative music

    The chaotic melody and the logistic rhythm give patterns that never repeat yet can be reproduced: the same start plays the same music every time.

How to read the results

  • On the LOGISTIC MAP line, PERIOD 2 means the rhythm repeats every two steps, PERIOD 4 every four. CHAOS means no return was found within 64 steps: the rhythm never repeats. The opening r = 3.83 is the period-3 window.
  • In the CHAOTIC RHYTHM strip each bar is one step and its height is xₙ; the thin middle line is the 0.5 threshold. A green bar above it is a beat, a clay-coloured bar above 0.85 an accented beat, a faint bar a silent step.
  • SEPARATION is the distance between the two orbits; it starts at 1 × 10⁻⁹. Once it passes 1, the SEPARATED row on the Butterfly effect card shows the t value: the butterfly melody now plays apart from the main one. Nudge · 10⁻⁹ starts the separation again.
  • In The period doubles table, RATIO is the ratio of successive gaps and approaches the Feigenbaum ratio (≈ 4.669); the values are computed on the page. The sound is not a recording but the solution of the equations: From the start plays the same melody again.

Four layers

All are generated on this device from the solution of the equations. Rhythm and melody run at no more than 20 beats a second (the site's metronome rule).
LayerSourceHow it sounds
Chaos oscillatorAttractor at audio ratex becomes the waveform: a hissy, irregular tone
Chaotic melodySlow solutionx is quantized to a pentatonic scale on each beat
Chaotic rhythmLogistic mapA hit when xₙ passes 0.5, an accent past 0.85
ButterflySecond orbitThe same melody at first, different once apart

Deterministic but unpredictable

The three equations Lorenz studied in 1963 are simple and contain no randomness. With the values Lorenz used (σ = 10, ρ = 28, β = 8/3) the solution wanders around a two-winged attractor but never follows the same path twice. A tiny difference at the start grows exponentially: two nearby orbits travel together for a while, then separate.

In the tool the two orbits start 10⁻⁹ apart in x. In the attractor's image one is green and one clay-coloured; the separation reading shows how the difference grows. The butterfly layer plays the second orbit as a separate voice.

The period doubles

The logistic map xₙ₊₁ = r·xₙ(1 − xₙ) transforms a single number again and again. For small r, x settles on one value; as r grows it begins to alternate between two, four, eight values and finally becomes chaotic. Even inside chaos there are periodic windows: at r ≈ 3.83, x cycles through three values.

The gaps between successive doublings shrink by roughly the same ratio each time. This ratio is the Feigenbaum ratio (≈ 4.669; Feigenbaum 1978); the tool calculates the doubling points from the map and shows the ratio approaching this number.

Frequently asked questions

Does chaos mean random?
No. A chaotic system is fully deterministic: the same start always gives the same result. Its unpredictability comes from extreme sensitivity to the start; a tiny difference grows quickly.
Why does the rhythm sometimes repeat and sometimes not?
The period of the logistic map depends on r. In a periodic region the rhythm repeats every period's worth of steps; in a chaotic region it never repeats. The r cursor on the bifurcation diagram shows which region you are in.
Why does the oscillator sound hissy?
The Lorenz attractor jumps irregularly between its two wings; solved at audio rate, these jumps give the tone a noise-like texture. The fluctuation is irregular: there is no periodic vibration at 4-40 Hz.

· v1.15 · changelog

No cookies, no tracking. Details: Privacy notice (KVKK) On-device storage