Octave of Light

Visible light spans about one octave, so every note here is drawn in its own color of light.

Paint with data

Turn your sound on. Headphones recommended.

Hover over the color map to read the chord at any moment.

Chord–
Notes
Date–
Key–
Span–

How it works

Sound and light are both waves. Visible light runs from about 395 to 790 terahertz, and 790 is almost exactly double 395. So the visible spectrum is one octave wide.

Double a note's frequency about 40 times and it lands inside that range. Every note gets a real color of light, and every octave of the same note gets the same color. Low octaves are drawn dark and high octaves bright.

What you're seeing

Each line is one voice of the synth pad, and its height is its pitch. Every voice shines a soft beam of its own color, and where beams overlap their light mixes, so voices that meet or cross blend together. Everything already played stays on screen as a color map.

Daylight on Earth

Each voice is a city. Its pitch follows that city's hours of daylight through one year, calculated from Earth's tilt. Northern and southern cities move in opposite directions. At each equinox every city gets about 12 hours, so the voices gather on the same note.

Colors

Light uses the physics above, with the 12 hues spaced evenly so each note is easy to tell apart. The labels show each note's true wavelength. Harmony arranges the colors around the circle of fifths instead, so notes that sound good together sit close in color.

Your own data

Load or drop a CSV file. Each numeric column becomes a voice, up to nine. If the first column holds dates or labels, it becomes the timeline. Choose Per series under Scaling when your columns use very different units.

Playing with it

Hover over the color map to read the chord at any moment. Switch on Drag to hear, then press and drag across the map to play those chords again. The space bar plays and pauses.

Arpeggio and lead

Every voice gets a role from how fast it moves. The slowest one carries the bass. The fastest movers (Reykjavík and Ushuaia in the daylight piece, the Moon among the planets, Mercury in the spheres) leave the pad and pluck their own notes as an arpeggio at 100 BPM: sixteenths while they're moving fast, eighths or quarters as they slow, half notes when they're nearly still. When two pluck at once they interlock. A lead improvises short phrases over the top. Arpeggio and lead run through a stereo delay that bounces between your ears. On the map, plucks show as sparks along the voice's line and the lead as pale strokes; the labels say which voices are arpeggios and which carries the bass.

The sky

Night sky follows one night over a city, from sunset to sunrise. Each voice is the Moon, a planet or one of the brightest stars, and its pitch is its height above the horizon. Voices fade in as their object rises and fall silent when it sets. Polaris barely moves, so in the north it holds one note all night. A star's temperature sets its tone: hot blue stars sound brighter, cool red ones warmer. Choose True color to draw each one in its real color.

Planets this year follows each planet's angle from the Sun. A planet lost in the Sun's glare goes quiet; Mars, Jupiter and Saturn reach their highest notes at opposition, when they're brightest. The Moon arcs up and down every month, and the music swells at each full moon.

Music of the spheres is Kepler's idea from 1619: each planet speeds up near the Sun and slows down far from it, and he heard that change as a musical interval. Here each planet's pitch follows its real speed, so Saturn swings about a major third, Mars about a fifth, Earth a semitone, and Mercury more than an octave.

Type any city (places not in the list are looked up with Open-Meteo's free geocoding service), pick one from the list, or use your location, which stays in your browser.

More of the sky

Jupiter's moons follows Io, Europa, Ganymede and Callisto swinging from side to side of Jupiter over a month. The inner three are locked in a 1:2:4 resonance, so their rhythms are octaves of each other. A moon passing in front of or behind Jupiter goes silent.

Days and years uses Hans Cousto's cosmic octave: a planet's year, doubled until it becomes sound, is its held note, and each time it spins once it plucks its day tone. One Earth day passes per second, so Jupiter and Saturn pluck more than twice a second, Mercury about once a minute, and Venus, whose day is longer than its year, almost never.

Exoplanet discoveries plays every one of the 6,451 confirmed planets beyond our solar system, in the month it was announced. Short orbits pluck high, long orbits low, and bigger planets louder. The five lines count what each discovery method had found so far. Listen for May 2016, when 1,277 arrived at once.

Pulsars are spinning dead stars that flash like lighthouses. Each one's pitch is its real spin, raised by octaves into hearing. The slow ones pulse at their true speed; the fast ones are slowed by octaves until you can hear the beat. The Crab spins 30 times a second; Terzan 5 ad spins 716. Each sounds while it's above your horizon.

Mixing

Choose Mix data sets to pick up to nine voices from any of these and play them together, or start from a ready-made mix.

Bass

The bass follows whatever moves slowest, two octaves down: Singapore in the daylight piece, Polaris on a northern night, Saturn among the spheres. It holds a deep drone when things are calm and pulses in eighth notes as the energy builds.

Generative

A seeded composition that moves through chord progressions. Each phrase picks its own chord length, register and number of voices, and chord changes arrive all at once or ripple through the voices. New seed starts a different piece.

Mix data sets

Pick up to nine voices from any data sets. Each data set's whole loop is stretched to the same length, so a year of daylight, a month of Jupiter's moons and three years of orbits start and end together. Pulsars and planet days keep their own beat. The fastest movers become the arpeggio and the slowest carries the bass.

Start from