The mechanism
A star is hotter inside than out. The light leaving it starts as a continuous band — every wavelength at once, brightest in the yellow-green where the eye happens to be most sensitive — and then it has to cross the star's own outer atmosphere on the way out. Every element up there absorbs at its own exact set of wavelengths and at no others. So the light that arrives has holes in it, and the holes say what the star is made of.
Joseph von Fraunhofer found them in sunlight in 1814 and labelled the strongest with letters. Some of those letters are still the names: the sodium D lines, calcium H and K, the magnesium b triplet. He did not know what any of them were. Nobody did for another forty-five years.
Apollo is that mechanism with the controls exposed. Ten elements sit on faders; moving one puts that element in the light's path, and its lines appear in the band because it is now absorbing. Two or three together is how a star is actually read. Clicking a dark line sounds its wavelength as a pitch, which means the thing you play is the absence.
Hydrogen, computed
Hydrogen has one electron, and one electron is the case that has a closed-form answer. The Rydberg formula gives every line in the series exactly:
1/λ = R (1/2² − 1/n²), for n = 3, 4, 5, …
with R = 1.096776e+7 per metre — the Rydberg constant with the correction for a proton that is heavy but not infinitely heavy, which is the difference between landing on the published wavelengths and missing them in the third figure. The formula gives a vacuum wavelength; every table of visible lines gives an air wavelength, because that is what a spectrograph on the ground measures, so the result is passed through the standard refraction formula. These are computed on page load, not typed in:
- 656.288 nm n = 3 to 2 · H-alpha · 456.8 Hz
- 486.138 nm n = 4 to 2 · H-beta · 616.7 Hz
- 434.051 nm n = 5 to 2 · H-gamma · 690.7 Hz
- 410.178 nm n = 6 to 2 · H-delta · 730.9 Hz
- 397.011 nm n = 7 to 2 · H-epsilon · 755.1 Hz
- 388.909 nm n = 8 to 2 · H-zeta · 770.9 Hz
- 383.542 nm n = 9 to 2 · H-eta · 781.6 Hz
- 379.794 nm n = 10 to 2 · H-theta · 789.4 Hz
- 377.067 nm n = 11 to 2 · 795.1 Hz
- 375.019 nm n = 12 to 2 · 799.4 Hz
The lines crowd tighter as n rises and converge on the series limit at 364.601 nm, just past the violet edge of the band. They do not stop there because anything runs out — infinitely many of them pile up in the last fraction of a nanometre, and past the limit the spectrum goes continuous. That convergence is the best thing the scene has to show, which is why it is calculated rather than listed.
Everything else is looked up, and has to be. Sodium's doublet, iron's forest and helium's scatter come out of many-body quantum mechanics that nobody solves in closed form, in a browser or anywhere else. Deriving them would be work that does not show and would produce wrong numbers.
Wavelength as pitch
A wavelength has a real frequency: the speed of light divided by it. For the sodium D line that is about 509 trillion cycles a second, which is not a sound. Dividing by 1e+12 is the entire mapping — no scale, no rounding to the nearest note, no tuning per element — so the intervals you hear are the intervals you see.
That puts the whole visible band between 400 Hz at the deep red end and 789 Hz at the violet. Which is a fact about light rather than a choice: 750 divided by 380 is 1.97, so the visible spectrum is almost exactly one octave wide. The instrument has one octave and cannot have more.
Shorter wavelength is higher frequency, so violet is treble and red is bass. Sodium is the case worth listening to: its two lines are 0.597 nm apart, which after the division is 0.52 Hz apart — and two tones half a hertz apart are not two notes, they are one note that swells and fades about every two seconds. The visible spacing is the harmonic relationship. Iron, at the other end, has fifty lines here and sounds like a wall.
The sun, playing itself
Apollo has an idle state, which nothing else on this site has: every other scene sits still until it is touched. Turn on Sunlight and the instrument puts the sun's own composition in the light and lets its lines sound on their own — irregular, unsynchronised, each one weighted by how deep it actually is.
The composition is not an even mix and not a taste. Once the three atmospheric oxygen bands are set aside — those are absorbed by Earth's air on the way in, not by the sun — five elements own every remaining labelled line in the standard Fraunhofer table:
- Magnesium 100% in the light · Fraunhofer b4 516.7nm, b2 517.3nm, b1 518.4nm Three close lines in the green — the b triplet. The middle case between sodium’s two and iron’s hundreds: still countable, already a chord rather than a beat.
- Calcium 95% in the light · Fraunhofer K 393.4nm, H 396.8nm, g 422.7nm Two enormous lines crammed against the violet edge, and a scatter of ordinary ones across the rest. H and K are among the deepest features in real sunlight, so this fader is the one that makes the band look most like a photograph of the sun.
- Hydrogen 85% in the light · Fraunhofer C 656.3nm, F 486.1nm, f 434.1nm, h 410.2nm Four lines wide apart, then a crowd. The tutorial element: sparse enough to count, and the only one here whose wavelengths are calculated rather than looked up.
- Sodium 80% in the light · Fraunhofer D2 589.0nm, D1 589.6nm Two lines so close together they read as one until you look. Sonically this is the point of the whole instrument: the pair is half a hertz apart after transposition, and half a hertz apart is not two notes — it is one note that pulses.
- Iron 70% in the light · Fraunhofer G 430.8nm, e 438.4nm, c 495.8nm, E 527.0nm A wall. Fifty lines here and thousands in reality, most of them jammed into the blue and violet, and struck together they are not a chord but a cluster — noise with a shape. Iron is in the instrument precisely because it breaks it.
The other five elements in the instrument sit at zero, which is a fact about the sun rather than an omission. Helium is the one worth naming. It was found in the sun in 1868, twenty-seven years before anyone found it on Earth, and it is still not part of the sun's visible fingerprint: its D3 line at 587.6nm belongs to the chromosphere and to prominences, not to the photospheric absorption spectrum this band draws. The element named after the sun is not in the sun's visible signature.
A note on how much of each, because a number in a table reads as measured. The ordering above is sourced — it is the Fraunhofer table. The fader positions are not: what a fader controls is column density in this particular model, with Gaussian line profiles and NIST intensities standing in for strength, and no published quantity maps onto that. Solar equivalent widths would be the right physical input and no machine-readable table of them was within reach. Photospheric abundances are available and would be actively wrong here, since they would put helium second and calcium near nothing, when calcium's H and K are the deepest features in the visible solar spectrum. Abundance is not line strength. So the values were set to reproduce the sourced ordering and each was checked by computing the optical depth it produces, rather than by looking at the result.
And one place where it does not come out right, said plainly because it is measurable. Magnesium's b triplet is comparable in depth to sodium's D lines in the real solar spectrum. Here it cannot be: NIST's emission intensity for b1 is 70 against sodium D2's 1000, so at the maximum fader position magnesium's strongest line still transmits about a third of the light passing through it. That is the emission-versus-absorption caveat further down this page turning into a specific number. Inventing a per-element correction to make one line look right would be worse — it would be taste wearing the costume of data.
The ten elements
Curated for what they do to the band and to the sound, not for coverage. Most of the periodic table is inert here — the transition metals are indistinguishable forests and most of everything else has nothing in the visible range at all — so an element earns a fader by producing a distinct look or a distinct sound, and preferably both. 218 lines in total.
- Hydrogen (H) 7 lines between 380 and 750 nm · strongest at 656.288 nm, 456.8 Hz · computed, not tabulated Four lines wide apart, then a crowd. The tutorial element: sparse enough to count, and the only one here whose wavelengths are calculated rather than looked up. The Balmer series, computed live from the Rydberg formula and converted from vacuum to air. The lines crowd tighter toward the violet and converge on the series limit at 364.6nm, just past the left edge of the band. They do not stop there because anything runs out — infinitely many of them pile up in the last fraction of a nanometre. 656.288 · 486.138 · 434.051 · 410.178 · 397.011 · 388.909 · 383.542
- Helium (He) 18 lines between 380 and 750 nm · strongest at 587.562 nm, 510.2 Hz Sparse and widely spaced across the whole band. Sounds like a chord — five or six pitches far enough apart to hear separately. Found in the sun in 1868, in an eclipse spectrum with a yellow line nobody could match to a terrestrial element, and not found on Earth until 1895. The line was 587.6nm, and it is the strongest one on this fader. 381.961 · 386.748 · 388.865 · 396.473 · 400.927 · 402.619 · 412.082 · 414.376 · 438.793 · 443.755 · 447.148 · 471.315 · 492.193 · 501.568 · 504.774 · 587.562 · 667.815 · 706.518
- Lithium (Li) 5 lines between 380 and 750 nm · strongest at 670.793 nm, 446.9 Hz One dominant line in the deep red and almost nothing else. The minimal case — nearly a single tone, and the closest this instrument gets to a plain note. The 670.8nm resonance line is itself a doublet, 670.778 and 670.793nm, fifteen thousandths of a nanometre apart. At this scale they land on the same pixel and the same pitch. Sodium is where a doublet becomes wide enough to see, and to hear. 413.262 · 460.290 · 497.175 · 610.365 · 670.793
- Neon (Ne) 51 lines between 380 and 750 nm · strongest at 692.947 nm, 432.6 Hz Dense in the orange and red, nearly empty in the blue. The most strongly coloured set here — and everyone already knows what neon looks like, which makes it the one element whose spectrum can be checked against memory. That red-orange crowding is the sign in the window. A neon tube glows the colour it does because almost all of its strong lines sit between 580 and 750nm, and the eye sums them into one colour. 453.775 · 470.439 · 470.886 · 471.007 · 471.206 · 471.534 · 478.893 · 482.734 · 488.492 · 533.078 · 534.109 · 540.056 · 571.922 · 574.830 · 576.442 · 580.445 · 582.016 · 585.249 · 587.283 · 588.190 · 594.483 · 596.547 · 597.463 · 597.553 · 598.791 · 603.000 · 607.434 · 609.616 · 612.845 · 614.306 · 616.359 · 618.215 · 621.728 · 626.650 · 630.479 · 632.817 · 633.443 · 638.299 · 640.225 · 650.653 · 653.288 · 659.895 · 665.209 · 667.828 · 692.947 · 702.405 · 703.241 · 705.911 · 717.394 · 724.517 · 748.887
- Sodium (Na) 6 lines between 380 and 750 nm · strongest at 588.995 nm, 509.0 Hz Two lines so close together they read as one until you look. Sonically this is the point of the whole instrument: the pair is half a hertz apart after transposition, and half a hertz apart is not two notes — it is one note that pulses. The D doublet, 588.995 and 589.592nm. The split is real: it is the sodium atom’s outer electron feeling its own orbital motion, and resolving 0.597nm of it is most of what a spectroscope was invented for. Here the visual spacing IS the harmonic relationship, and that is the claim the sonification stands or falls on. 568.263 · 568.820 · 588.995 · 589.592 · 615.423 · 616.075
- Magnesium (Mg) 9 lines between 380 and 750 nm · strongest at 383.829 nm, 781.1 Hz Three close lines in the green — the b triplet. The middle case between sodium’s two and iron’s hundreds: still countable, already a chord rather than a beat. Fraunhofer labelled the triplet b when he catalogued the dark lines in sunlight in 1814, decades before anyone knew what element made them. The name stuck to the letter, not the metal. 382.936 · 383.230 · 383.829 · 457.110 · 516.732 · 517.268 · 518.360 · 571.109 · 738.769
- Calcium (Ca) 38 lines between 380 and 750 nm · strongest at 393.366 nm, 762.1 Hz Two enormous lines crammed against the violet edge, and a scatter of ordinary ones across the rest. H and K are among the deepest features in real sunlight, so this fader is the one that makes the band look most like a photograph of the sun. H at 396.847nm and K at 393.366nm are singly-ionized calcium, not the neutral metal — which is why they survive in a stellar atmosphere hot enough to strip an electron off. Fraunhofer’s letters again. 393.366 · 396.847 · 422.673 · 430.253 · 430.774 · 442.544 · 443.496 · 443.569 · 445.478 · 445.589 · 445.661 · 487.813 · 518.885 · 526.556 · 527.027 · 534.947 · 558.197 · 558.876 · 559.012 · 559.447 · 559.849 · 585.745 · 610.272 · 612.222 · 616.217 · 616.906 · 616.956 · 643.907 · 644.981 · 646.257 · 647.166 · 649.378 · 649.965 · 657.278 · 671.769 · 714.815 · 720.219 · 732.615
- Iron (Fe) 50 lines between 380 and 750 nm · strongest at 382.043 nm, 784.7 Hz A wall. Fifty lines here and thousands in reality, most of them jammed into the blue and violet, and struck together they are not a chord but a cluster — noise with a shape. Iron is in the instrument precisely because it breaks it. That crowding is why the blue end of the solar spectrum is darker and busier than the red end. Iron is abundant, and it has twenty-six electrons arranged so that almost every one of them has somewhere to go. 381.296 · 381.584 · 382.043 · 382.444 · 382.588 · 382.782 · 383.422 · 384.044 · 384.105 · 385.637 · 385.991 · 387.857 · 388.628 · 388.851 · 389.566 · 389.971 · 390.295 · 392.026 · 392.291 · 392.792 · 393.030 · 400.524 · 404.581 · 406.359 · 407.174 · 413.206 · 414.387 · 420.203 · 421.618 · 425.079 · 426.047 · 427.176 · 428.240 · 430.790 · 432.576 · 437.593 · 438.354 · 440.475 · 441.512 · 442.730 · 446.165 · 492.050 · 495.760 · 516.749 · 517.160 · 522.715 · 526.954 · 527.036 · 532.804 · 532.853
- Barium (Ba) 26 lines between 380 and 750 nm · strongest at 455.403 nm, 658.3 Hz One strong green line with blue company. The firework colour, and the only green-dominant element on the rail. Barium 553.5nm is the green in a firework shell. 455.4 and 493.4nm are singly-ionized barium — the same element in a different state, sitting at different places on the band, which is a thing an absorption spectrum can show and a flame test cannot. 389.178 · 413.065 · 413.243 · 416.600 · 428.310 · 452.493 · 455.403 · 489.993 · 493.408 · 553.548 · 577.762 · 585.368 · 599.709 · 611.078 · 614.171 · 649.690 · 649.876 · 652.731 · 659.533 · 667.527 · 669.384 · 686.569 · 705.994 · 712.033 · 719.523 · 728.030
- Mercury (Hg) 8 lines between 380 and 750 nm · strongest at 435.833 nm, 687.9 Hz Few lines, all bright, all far apart, spread from violet to yellow. The cleanest chord in the set — the classic lab lamp, and the spectrum most likely to be recognised by anyone who has ever calibrated an instrument. The 435.8nm violet and 546.1nm green are the two lines a spectroscope is usually calibrated against: strong, isolated, and known to more decimal places than any instrument needs. 404.656 · 433.922 · 434.749 · 435.833 · 546.074 · 576.960 · 579.066 · 708.190
Where the numbers come from
- NIST Handbook of Basic Atomic Spectroscopic Data (Sansonetti & Martin), strong-lines tables, physics.nist.gov/PhysRefData/Handbook/ — a US Government work, public domain. Retrieved 2026-09-02.
- CODATA recommended value for the Rydberg constant, with the reduced-mass correction for hydrogen applied here.
- Edlén (1966), the vacuum-to-air refraction formula adopted as the IAU standard.
- Wyman, Sloan & Shirley (2013), “Simple Analytic Approximations to the CIE XYZ Color Matching Functions”, Journal of Computer Graphics Techniques 2(2).
One honest note about the relative intensities. NIST publishes emission intensities — how bright a line is when the element is made to glow — and this scene draws absorption, how deep a line cuts when the element sits in front of something hotter. The two track each other closely, because both follow the same transition probabilities, but they are not the same quantity: a real absorption depth also depends on temperature, on ionization state, and on how much of the element is in the path. The intensities here are used as a line-strength proxy for an instrument, not as a photometric claim.