Earth to MIDI

Earth and space data for live events.Real-time quakes, weather, the ISS, solar activity and asteroids, turned into MIDI notes and controllers for your DAW, lights or show control.

Layers
Map Sky Earth data Live activity
Earthquakes Lightning ISS Natural events Weather cities Births Deaths Sunrise and sunset Sun Moon

Controller mapping

Every data stream below goes out as controller data (0 to 127), pitch bend or aftertouch. The range narrows the part of the data that counts, so 40 to 60% stretches that slice across the full 0 to 127. Channel “Follow” uses the module’s note channel. Changes save automatically.

How Earth to MIDI works

What it is

Earth and space data for live events. The page reads public live feeds and turns each reading into MIDI. Discrete events, like a quake or an asteroid pass, become notes. Continuous values, like wind speed or the Kp index, become controllers (CC, 0 to 127).

What is loopMIDI, and why do you need it?

loopMIDI is a free Windows program by Tobias Erichsen that creates virtual MIDI ports. Think of each port as a software cable: one program sends MIDI into it, and another program reads MIDI out of it.

You need it because a web page can only send MIDI to ports your computer already knows about, and Windows has no built-in way to pass MIDI between programs. With a loopMIDI port, this page sends the data, and your DAW, Chataigne or lighting software receives it as if it came from a hardware controller.

On macOS you don’t need it, because the built-in IAC Driver (in Audio MIDI Setup) does the same job. loopMIDI is free for personal use, so check the terms on its website if you plan to use it commercially.

Quick start

  1. Install loopMIDI (Windows), open it and click the + button to create a port. Leave it running. On macOS, turn on the IAC Driver instead.
  2. Open this page in Chrome or Edge and press Connect MIDI. Choose your port (loopMIDI is picked automatically).
  3. In your DAW, Chataigne or lighting software, enable that port as an input and listen on channels 1 to 15.
  4. Press Send test chord to check the link. Panic clears any stuck notes.

With no port selected the page runs in preview mode: the map, log and monitor still work, and the built-in chime lets you hear the notes.

Earth and Space tabs

The filled, highlighted tab (green for Earth, violet for Space) is the one you are looking at. The tabs only change what you see: every module keeps running and sending MIDI whichever tab is open. Use the On switch on a card to mute a module.

Built-in chime

To hear and see it working without any MIDI, switch on Built-in chime (in the MIDI output panel, or the Sound button at the top, or press M) and set the volume. Every note that plays also sounds as a soft bell in your browser, panned by longitude where a module uses pan. Notes are shifted by whole octaves into a comfortable listening range, so the pitch names match but very low notes will sound higher. Controllers are silent. Browsers only allow audio after you click, so it always starts off, and Pause all silences it too.

Pause and resume

Pause all (top right, or the Space bar) silences everything at once. It sends all-notes-off, stops the loops and sequencers, and holds the controllers where they are. Data keeps updating in the background, and quakes that arrive while paused are skipped. Resume sends the current controller values again and restarts the loops from the beginning. A “Paused” label shows on the map, including in full screen.

Channels

1 Earthquakes, 2 Space station, 3 Space weather, 4 Natural events, 5 Weather, 6 Asteroids, 7 Solar flares and CMEs, 8 Earthquakes (EMSC), 9 Solar X-rays, 10 NOAA storm scales, 11 Births, 12 Deaths, 13 Lightning, 14 Planet clock, 15 Earth motion and forces. Change any of them with the Note channel menu on its card. The test chord plays on the earthquake channel.

Module cards

Controller mapping

Every data stream can be sent as CC, pitch bend or aftertouch, on its own channel and CC number. Range % zooms in on the part of the data you care about and stretches it to 0 to 127. Invert flips it and Smooth slows the changes. A live bar shows each stream’s output. Your setup saves automatically. Use Export and Import to move it between machines, and Reset to go back to the defaults.

Default controller numbers

MIDI monitor

The monitor in the side panel shows the latest messages as they are sent, with what triggered each one: for example a wildfire, a quake and its location, a city’s weather, an asteroid or a flare class. Controller lines show the module and stream. It also works in preview mode with no port selected.

Use the filters above the monitor to focus on what matters: switch message types on or off (notes, controllers, pitch bend, aftertouch), tick only the sources you want, pick a channel, or search for a word such as “wildfire”. Pause freezes the display so you can read it, Clear empties it and Show all resets the filters. The filters only change what you see here and in the full-screen display, not what is sent. Your choices are remembered.

Wider docks the monitor across the full width of the screen, handy for long labels. In that mode Taller makes the panel bigger, and Narrower puts it back in the side panel. Your size is remembered too.

The map

Planet clock

The turning of the Earth as music. A note plays at every sunrise and sunset over 34 major population centres: sunrise in the upper half of the pitch range, sunset in the lower half, bigger cities louder and longer. That is about one event every 20 minutes, and each is labelled in the monitor (for example “sunrise over Lagos”). An optional chime plays on every UTC hour. The controllers give you a smooth clock: UTC time of day and Earth’s rotation angle as repeating ramps, the year as a very slow ramp, and the share of people in daylight and awake (7am to 11pm local solar time).

Earth motion and forces

Live values calculated from orbital maths: Earth’s speed around the Sun (about 29.3 to 30.3 km/s, fastest in January), its distance from the Sun, the strength of sunlight, how far away the Moon is, and the pull of the Moon on the tides, including the monthly spring and neap cycle. The card also shows the spin speed, the force of the Sun’s and Moon’s gravity in newtons, the next solstice or equinox, and approximate speeds around the galaxy. Calculations are accurate enough for music and display, not for navigation. An optional heartbeat note, shaped by these values, plays every 10, 30 or 60 seconds.

Lightning

Real lightning strikes from the Blitzortung.org community network, arriving as they happen. It is off by default, because the worldwide feed uses roughly 1 GB of data a day while it is on. Switch it on with the On switch on the Lightning card (Earth tab), and off again to close the feed.

Every strike is counted and drawn as a dot on the map that fades over 2 minutes. Because there can be dozens a second, notes are limited by Max notes per second and can be restricted to one part of the world. Controllers follow every strike: strike rate, the latest position, and a pulse (CC119) on each one. The data is for personal, non-commercial use and the feed is unofficial, so it can change or refuse connections from web pages. If the card says it could not connect, that is the likely reason.

Births and deaths

There is no true live feed of births and deaths, because nobody counts them in real time. The world population counters you see online are models, and so is this. The page reads the latest World Bank figures for world population, birth rate and death rate, turns them into an average number of births and deaths per second, and then generates random events at those rates. Each event is placed near a major population centre, in proportion to population, with younger regions weighted towards births and older regions towards deaths. The locations are modelled, not real.

Births and deaths are separate modules on channels 11 and 12, each with its own Note output settings. Play one note per thins the notes so it isn’t too busy, though every event still counts, pulses on the map and fires its pulse controller (CC113 and CC116). The cards show estimated totals since midnight UTC.

Keys

Space pause or resume everything, M built-in chime on or off, F full screen, ? this help, Esc closes popups and full screen.

Data sources

USGS and EMSC earthquakes, wheretheiss.at, NOAA space weather (solar wind, GOES X-ray and proton flux, storm scales), NASA EONET, Open-Meteo, NASA NeoWs and DONKI, the World Bank (population, birth and death rates), Blitzortung.org (lightning) and Natural Earth coastlines. The planet clock and Earth motion modules are calculated on your computer from astronomical formulas and need no internet. An internet connection is needed. The only things stored are your settings and your NASA key, in this browser.

NASA API key: the asteroid and solar flare feeds use a shared demo key by default, which is rate-limited and refreshes every 3 hours. For faster updates (every 30 minutes), get a free key at api.nasa.gov, paste it into the NASA API key box on the Asteroids or Solar flares card (Space tab) and press Enter. Both cards share the one key.

If something is not working