A machine made of gears, following instructions from punched cards, might compose music. That was one possibility Ada Lovelace described in 1843 while explaining Charles Babbage’s proposed Analytical Engine.
She attached a condition: the relationships between musical sounds would need to be expressed in a form the machine could process. Her example was a proposal about what computation might do, rather than a report of a machine playing a tune. You can read it in Note A of her notes on the Analytical Engine.
With Ada Lovelace Day falling on October 13 this year, that passage offers a useful way into her work. What did she see in a calculating machine that made her think about music?
A number could stand for something else
Lovelace’s starting point was the distinction between the operations a machine performs and the things those operations represent.
A number might express a quantity: five objects, for example. But numbers can also represent something by agreement. To take a simple modern illustration, we could assign numbers to musical pitches and describe how long each note should last. Those numbers would carry information about a melody.
The illustration is ours, rather than an example of Lovelace’s own notation. It helps explain her proposal: if musical relationships could be represented through suitable rules and symbols, a machine could operate on them.
In a 2015 account of her work, the Science Museum highlights this recognition that numbers could represent abstract things, including musical notes. It gives us a practical way to understand why her music example belongs in the history of computing.
The engine would still be performing operations. What changed was what those operations could mean.
She was describing an unbuilt engine
The Analytical Engine was Babbage’s design. Lovelace translated an account of it by the Italian engineer Luigi Federico Menabrea and added extensive explanatory notes, completed in 1843. NIST’s March 2023 account describes that work.
The engine was never completed in their lifetimes. The Science Museum’s account of Babbage’s drawings places the plans alongside that unfinished history.
That matters when reading Lovelace’s music passage. She was exploring the capabilities of a proposed machine. She did not demonstrate an automated composer, and the passage does not establish that the engine would understand or enjoy music.
Her conditional reasoning is the interesting part. What would have to be expressible as rules before a machine could work with it? What could the resulting operations produce?
Could a machine originate anything?
Lovelace also wrote about the limits she saw in the engine.
In Note G, she argued that it could carry out operations people knew how to instruct it to perform. She did not grant it the ability to originate new analytical relationships or truths independently. The original notes contain both this argument and her earlier music proposal.
The two passages make a useful pair. A machine might produce an elaborate musical result while following rules supplied to it. That possibility does not, by itself, settle whether the machine has ideas of its own.
Readers can compare those questions with current debates about AI, but the comparison needs care. Lovelace was discussing a nineteenth-century mechanical design. Her remarks do not provide a ready-made verdict on every system built since then.
They do give us a precise question to carry forward: when a machine produces something, which parts come from its instructions, and what do we mean by calling the result original?
Look beyond the “first programmer” label
Lovelace is often introduced as the first computer programmer. The Science Museum offers a more specific account: her published notes included an algorithm for the Analytical Engine, while Babbage had already sketched similar algorithms in his notebooks.
A short label can start a conversation, but it can also end one too soon. Her music passage gives readers something concrete to examine: an explanation of how a machine designed around numerical operations might have uses beyond arithmetic.
You can continue that discussion in Text With History with an AI portrayal of Ada Lovelace. Try asking:
How could numbers represent musical sounds, and what would a machine need to do with them?
Then return to Note A and compare the response with her actual argument. Treat the conversation as a study companion; use the published notes to check what Lovelace wrote.
