Solar Weather Radio

Live from 1 AU

connecting…

Signal chain

Scale —

NASA SDO · AIA 171 Å

DONKI log

  1. Waiting for data…

Aurora tonight, where you are

Chance of seeing the aurora: --%

Share your location to see your chance of aurora tonight.

Override live data

Simulated conditions

About this station

The Sun is writing this music right now. Nothing here is recorded, and it will never play the same way twice.

What you're hearing

The Sun has weather. It throws out flashes of light called flares, a constant stream of particles called the solar wind, and sometimes giant clouds of gas. You can't see or hear any of it from Earth.

This page listens to that weather and turns each part into a part of a song. When the Sun is calm, the music is slow and gentle. When the Sun is stormy, it gets faster, brighter and rougher.

Where it comes from

Spacecraft watch the Sun all day. Two of them sit 1.5 million km from Earth and measure the solar wind as it blows past. Others measure the Sun's X-rays and take its picture.

NASA and NOAA publish those numbers for free. Every minute this page asks for the newest ones and nudges the music to match. The Sun at the top is a real photo from NASA's Solar Dynamics Observatory, usually less than an hour old.

Who plays what

Soft chords
The Sun's steady glow. Brighter X-rays open them up.
Bells
Each one is a roll of the dice. The more active the Sun, the more often they ring.
Speed
Set by the solar wind: 250 km/s plays at 48 beats a minute, 900 km/s at 112.
Hiss and crackle
Earth's magnetic field being shaken. A storm adds static.
Deep rumble
A cloud of solar gas is heading for Earth.
Rising swell
A new flare just went off.

The notes

Everything is built on the note D. The size of the latest flares picks which seven notes (or five) the Sun is allowed to use, so the mood darkens as the Sun gets angrier.

Which scale plays at each level of solar activity
SunScaleNotes
Quiet (A, B)Major pentatonicD E F♯ A B
Active (C)LydianD E F♯ G♯ A B C♯
Strong (M)DorianD E F G A B C
Extreme (X)PhrygianD E♭ F G A B♭ C

The chords change every two bars in a loop of four. The bells pick their notes at random from the current chord.

Living with a star

For most of human history the Sun was a god, a clock and a mystery. We planted by it and prayed to it. We never heard it.

We still can't. Sound doesn't cross empty space. But the Sun is not quiet. It is a storm that has raged for four and a half billion years, and Earth sits inside its outer atmosphere, not safely apart from it. The X-rays shaping these chords left the Sun eight minutes ago. The wind setting this tempo was measured about an hour before it reaches us.

The more we build, the more that matters. A solar storm in 1859 set telegraph offices sparking. One in 1989 blacked out Quebec in ninety seconds. Our satellites, power grids and radio links all live in the Sun's weather now.

So this station is a small act of attention. It takes instruments we built to protect ourselves and uses them to listen instead. What you hear is not a metaphor for the Sun. It is the Sun, translated: every note is a measurement.

It is also a reminder that we live downstream of a star, and that we are the first creatures on Earth able to hear it.

Why I built this

I've always been fascinated by space, and by the Sun most of all.

The moment that stayed with me was learning that we aren't only circling the Sun. The Sun is moving too. It carries the whole solar system around the centre of our galaxy, where a black hole four million times its mass sits. One lap takes about 230 million years.

That made me feel very small. And yet this one ordinary star is where almost all of our energy comes from. Every meal, every gust of wind and every morning traces back to it. We rely on it every single day and hardly ever think about it.

I wanted a way to pay attention to it. So I built it a radio station.

I didn't build it alone. The idea, the design and the decisions are mine, and I wrote the code with help from Claude, the AI model made by Anthropic.

Naresh Kumar

How it's built

  1. Spacecraft measure the Sun. NASA and NOAA publish the readings within minutes.
  2. A small program collects them. It runs on Cloudflare's network, fetches the newest readings and keeps a short-lived copy, so the page loads fast and the agencies' servers aren't asked the same thing twice.
  3. Your browser makes the music. There are no audio files. Every sound is synthesised on your device with Tone.js, from a handful of numbers that change as the Sun does.
  4. The picture is drawn live. The Sun is the latest real photo from NASA's Solar Dynamics Observatory, and the ring around it is the sound wave you are hearing.

What is Tone.js?

Browsers can make sound from scratch, but the built-in tools are low-level: you wire up raw sound waves and timers by hand. Tone.js (opens in a new tab) is a free, open-source library created by Yotam Mann that adds the musical layer on top: instruments, effects, notes with names like D3, and a clock that keeps time in beats and bars.

Here it plays the whole band. Two synthesisers make the chords and the bells, and a third plays the bass. Noise generators make the hiss, the crackle and the swell of a flare. A very low tone makes the rumble. Reverb and echo give it all a sense of space. And its clock is the thing the solar wind speeds up and slows down.

Plain HTML, CSS and JavaScript, with no framework. Type is Inter and DM Mono.

Sources and thanks

This station exists because NASA and NOAA publish their data freely for anyone to use. Thank you.

NASA DONKI (opens in a new tab)
Solar flares, coronal mass ejections and geomagnetic storms, through the NASA Open APIs (opens in a new tab).
NASA Solar Dynamics Observatory (opens in a new tab)
The image of the Sun. Courtesy of NASA/SDO and the AIA, EVE, and HMI science teams.
NOAA Space Weather Prediction Center (opens in a new tab)
Live solar wind, X-ray flux, Kp index and the OVATION aurora model.
Open-Meteo (opens in a new tab)
Cloud cover forecasts, licensed CC BY 4.0.
Tone.js (opens in a new tab)
The library that makes the sound in your browser.

Solar Weather Radio is an independent project. It is not affiliated with or endorsed by NASA, NOAA or any of the organisations above.