An audio waveform visualizer is not software. It is a 170-year-old idea that briefly ran on paper, then wax, then glass, then silicon. Hear me out. Édouard-Léon Scott de Martinville filed the phonautograph patent in Paris on 25 March 1857, nearly two decades before Edison's phonograph. The device inscribed sound as a line on soot-blackened paper wrapped around a rotating cylinder. It could not play that line back. It only drew it. Every modern waveform visualizer — the one in a browser, the one rendering Chopin's Ballade No. 1 above the shop — descends from that unreadable line.

1857: A Parisian Typographer Patents the Drawing of Sound

Scott de Martinville was not a physicist. He was a bookseller and typographer who read scientific memoirs after hours. His patent, deposited at the Institut National de la Propriété Industrielle in Paris on 25 March 1857, describes a mechanism he called the phonautograph. The design is austere: a barrel-shaped horn funnels air pressure onto a flexible membrane. A stiff bristle attached to the membrane presses against a rotating cylinder dressed in lamp-black soot. Sound moves the membrane. The membrane moves the bristle. The bristle scratches a clean line through the soot. What remains, when the cylinder stops turning, is a drawing.

The drawings were not meant to be heard. Scott de Martinville believed sound could be studied the way handwriting was studied — as a trace, a signature left by a vibrating body. His 1859 and 1860 papers in the proceedings of the French Academy describe phonautograms of the human voice, of tuning forks, of folk songs sung directly into the horn. The amplitude envelope of a sung syllable, the attack of a struck fork, the decay of a bowed string: all were, in 1857, visible and silent.

Seventy-five years later the Bibliothèque Nationale still held the originals. In 2008, a team at Lawrence Berkeley National Laboratory ran optical scans through software that treated the line as a modulated signal and recovered a ten-second phonautogram of "Au clair de la lune," dated 9 April 1860. The line played. It had always been playable; the instrument to read it did not yet exist. The waveform preceded the speaker by a hundred and fifty-one years.

1877: Edison Turns the Drawing Into a Groove

Thomas Edison filed U.S. Patent 200,521 — "Improvement in Phonograph or Speaking Machines" — on 24 December 1877; the patent issued on 19 February 1878. The schematic looks, at first glance, like Scott de Martinville's: a horn, a membrane, a stylus, a rotating cylinder. The cylinder is wrapped in tin foil rather than soot. The difference is one geometric change with revolutionary consequences. The stylus does not press sideways across a flat surface. It cuts vertically into the foil. The amplitude of the sound determines the depth of the cut.

A line scratched through soot cannot be retraced; reversing the cylinder's direction only drags the bristle back through its own path. A groove cut into foil has physical walls. A stylus dropped back into that groove and dragged along it will rise and fall by exactly the amount it rose and fell when it cut the groove. The membrane, now acting in reverse, will push air back out through the horn. Sound in, drawing stored, sound out. The first recorded phrase, by Edison's own account, was "Mary had a little lamb," spoken into the device on or about 6 December 1877.

The phonograph collapsed visualization and playback into one object for the first time in history. For nearly fifty years, until the arrival of electrical recording in 1925, the waveform and the recording were literally the same physical artifact: a spiral groove whose depth or lateral deflection was the signal. A modern waveform renderer, running on a laptop, decodes a file and plots amplitude over time. Edison's cylinder did the same thing, in reverse, with a needle and a horn. The display medium changed. The idea did not.

Ballade No. 1 print Ballade No. 1 The print from this article · from €29.95 View the print →

1928: Nyquist Writes the Sentence That Makes Digital Possible

Harry Nyquist, a Swedish-American engineer at Bell Telephone Laboratories, published "Certain Topics in Telegraph Transmission Theory" in the April 1928 issue of the *Transactions of the American Institute of Electrical Engineers*. The paper is thirty-six pages and is remembered almost entirely for a single result buried in its middle sections. Nyquist showed that a continuous signal containing no frequencies higher than a limit *B* could be completely reconstructed from a sequence of discrete samples taken at a rate of at least 2*B* per second. Any lower rate loses information that cannot be recovered. Any higher rate adds nothing a mathematician can use.

The practical consequence, four decades later, was the 44.1 kHz sample rate that defines the audio CD and still defines the files the studio renders from Musopen. Human hearing tops out near 20 kHz. Doubling 20 kHz, with a modest safety margin for filter roll-off, gives 44.1. That number is not aesthetic. It is Nyquist's inequality, rounded up, applied to the ear.

For a waveform visualizer the implication is more specific. When the studio renders the real amplitude waveform of the public-domain Ballade No. 1 from the Musopen Chopin collection, it plots 44,100 amplitude samples per second of music. A six-minute performance is roughly 15.9 million individual numbers. The curve on the page is not a stylized swoop. It is the honest envelope of those samples, decimated for print but never invented. Nyquist's paper, written when the working visualization medium was still a wax cylinder, is what allows that honesty.

1965: Cooley and Tukey Make Frequency Legible in Real Time

James W. Cooley of IBM Research and John W. Tukey of Princeton published "An Algorithm for the Machine Calculation of Complex Fourier Series" in the April 1965 issue of *Mathematics of Computation*. The paper is four pages. Its subject is a method for computing the discrete Fourier transform of *N* data points in time proportional to *N* log *N* rather than *N* squared. For *N* equal to 1,024 samples — a standard analysis window for audio — the old method requires roughly 1,048,576 complex multiplications. The new method requires roughly 10,240. The speedup is a hundredfold and grows with the window size.

The algorithm, now universally called the Fast Fourier Transform, moved frequency analysis out of the back rooms of signal-processing laboratories and into any machine with a clock. Before 1965, computing the spectrum of a two-minute recording on a mainframe was an overnight job. By the late 1970s, with dedicated hardware, it was a real-time operation. By the 1990s a desktop computer could do it on every audio frame, sixty times a second, with cycles to spare.

The amplitude waveform — the shape the studio draws — is time-domain information. The FFT turned a second, dual view of sound into something practical: the frequency-domain picture, the spectrogram, the image that shows which pitches are present in a given slice of a Chopin recording. For a listener reading the silhouette of the Fantaisie-Impromptu, the amplitude curve shows when the music is loud. The FFT shows what the loud contains. Cooley and Tukey did not invent that distinction. They made it fast enough to be seen while the music was still playing.

Fantaisie-Impromptu print Fantaisie-Impromptu The print from this article · from €29.95 View the print →

2011: The Browser Learns to Draw Sound

On 15 December 2011 the World Wide Web Consortium published the first public working draft of the Web Audio API, the specification that gives JavaScript running in a browser direct access to an audio buffer, a sample rate, a decoder, and an analyser node. Before that date, drawing a waveform on a web page required a plug-in — a Flash object, a Java applet, a server-side pre-render. After that date, the raw amplitude array of a decoded MP3 or WAV was available to any script, and plotting it was a loop.

The specification matured through successive working drafts until the W3C Audio Working Group published a Candidate Recommendation on 18 September 2018 and a full Recommendation on 17 June 2021. Along the way the API acquired the pieces a studio needs. The `AudioBuffer` object exposes individual sample values as a `Float32Array`. The `OfflineAudioContext` lets a page decode a file faster than real time for the sole purpose of measurement. The `AnalyserNode` provides live FFT output. Chopin's Ballade No. 1, downloaded as a CC0 file from the Musopen Chopin collection at archive.org/details/musopen-chopin, can be dropped onto a modern browser and rendered as a waveform before the page finishes scrolling.

That capability is what the studio builds on. The prints at /shop/ are not generated by a drawing tool that approximates the look of sound. They are generated by code that reads the file, pulls the sample array, and draws the honest envelope at printable resolution. The spoken-word pieces — the phonautograph of a single French *bonjour*, the single Italian *ciao* — are rendered the same way, from signals generated locally by macOS speech synthesis. Every print is a Web Audio read of a real recording.

What It All Means: The Shape Was Always There

The hundred and seventy years between Scott de Martinville's soot cylinder and a `Float32Array` in a browser are not a story of invention. They are a story of the same object acquiring progressively better conditions. The waveform existed on paper in 1857. It existed in a tin-foil groove in 1877. It existed as a sampled sequence after 1928 and as a computable spectrum after 1965 and as a browser primitive after 2011. The medium changed. The shape did not. A nineteenth-century Parisian singing *Au clair de la lune* into a horn and a twenty-first-century listener playing Chopin's Fantaisie-Impromptu into an `AnalyserNode` are producing, at the level of the drawn line, the same kind of artifact.

That continuity is the quiet premise of what the studio does. A waveform print of the Ballade No. 1 is not a stylisation of music and not a graphic design of a recording. It is a measurement, performed by a method that would have been recognisable, in principle, to Scott de Martinville in 1857 and Edison in 1877, and that became exact only after Nyquist, Cooley, Tukey and the W3C had each done their part. The drawing is old. The resolution is new.

None of this tells the reader what to listen for inside the shape — why the opening of the Ballade sits so low on the page before the first swell, why the Fantaisie-Impromptu's right-hand cascade reads as a dense band rather than a single stroke, why a spoken *bonjour* and a spoken *ciao* have different silhouettes even at the same volume. That question — what the shape is actually saying about the music — is where the real work starts, and it is not where this piece ends.

New pieces and 10% off your first print.

One email now with your code. No noise after.