>The pipes are laid out horizontally, like a rank of organ pipes that has been knocked flat. Stuck into one end of each pipe is a little paper speaker ripped from an old radio.
>“The speaker plays a signal—a note—that resonates in the pipe, and creates a standing wave,” Waterhouse says. “That means that in some parts of the pipe, the air pressure is low, and in other parts it is high.” He is backing down the length of one of the pipes, making chopping motions with his hand. “These U-tubes are full of mercury.” He points to one of several U-shaped glass tubes that are plumbed into the bottom of the long pipe.
>[...]
>“If the air pressure in the organ pipe is high, it pushes the mercury down a little bit. If it’s low, it sucks the mercury up. I put an electrical contact into each U-tube—just a couple of wires separated by an air gap. If those wires are high and dry (like because high air pressure in the organ pipe is shoving the mercury down away from them), no current flows. But if they are immersed in the mercury (because low air pressure in the organ pipe is sucking the mercury up to cover them), then current flows between them, because mercury conducts electricity! So the U-tubes produce a set of binary digits that is like a picture of the standing wave—a graph of the harmonics that make up the musical note that is being played on the speaker. We feed that vector back to the oscillator circuit that is driving the speaker, so that the vector of bits keeps refreshing itself forever, unless the machine decides to write a new pattern of bits into it.”
Mechanical computing in general is fascinating. People also used to use precisely-machined drums and cams to perform complex realtime calculations.