top of page

Charles Babbage and the Analytical Engine, explained in Bangkok, Thailand: a store and a mill, punched cards from weaving, an 1843 note about music, and a practice design

13 minutes ago
5 min read

Printed tables of numbers once guided navigation, engineering and finance, and they were full of mistakes. Every value had been worked out by hand and copied by hand, sometimes more than once. In the early nineteenth century an English mathematician decided that the only remedy for human slips was a machine that calculated and printed the figures itself.

Charles Babbage was born in London in 1791 and died there in 1871. A mathematician by training, Babbage also wrote about manufacturing, codes, statistics and the design of machines. Contemporaries knew Babbage as a lively host and an energetic, often argumentative, public figure.

In 1822 Babbage announced a plan for a Difference Engine, a machine that would produce tables using the method of finite differences, which turns the calculation of many functions into repeated addition. Government money supported the work for years, and a skilled engineer built thousands of precision parts.

The project stalled in the early 1830s after a dispute between Babbage and the engineer, and it was never completed in Babbage’s lifetime. A small demonstration section did work, and it impressed visitors who saw it turn its handle and produce correct results.

By then Babbage had a bigger idea. Instead of a machine that performed one kind of calculation, why not a machine that could be instructed to perform any sequence of operations? From the mid-1830s onward Babbage worked on the design now remembered as the Analytical Engine.

Pianists in Bangkok, Thailand who enjoy the history behind modern technology are the readers this article has in mind. It covers the two engines, the notes that imagined machine-made music and a practice design that borrows Babbage’s way of dividing a problem into parts.

The story is usually told as a tale of an inventor ahead of the available materials, and there is truth in that. Yet the lasting value lies less in the brass and iron than in the way the design separated jobs that had always been tangled together.

The Analytical Engine: store, mill and cards

The Analytical Engine had two main sections. The store held numbers waiting to be used, much like memory in a modern computer. The mill carried out arithmetic on numbers brought from the store, much like a processor. Results went back into the store for later use.

Instructions came on punched cards. The idea was borrowed from the loom patented by Joseph Marie Jacquard in 1804, in which chains of punched cards controlled the pattern woven into cloth. Babbage saw that cards could control a sequence of calculations in the same way that they controlled a sequence of threads.

The design also allowed the machine to change its course depending on a result, and to repeat a sequence of operations. These features, conditional branching and looping in modern terms, are part of why historians describe the Analytical Engine as a design for a general-purpose computer.

In 1843 Ada Lovelace published an English translation of an article about the engine by the Italian engineer Luigi Menabrea, adding notes that were longer than the article itself. One note set out a method for calculating Bernoulli numbers on the engine, often described as an early published computer program.

Another passage looked beyond arithmetic. Lovelace suggested that if the relations of pitched sounds and of harmony could be expressed in the engine’s notation, the machine might compose elaborate pieces of music. The remark is now widely quoted as an early vision of computer music.

Babbage’s own relationship with music was less friendly. In later life Babbage campaigned against street musicians near the family home in London, complaining that their playing interrupted work, and wrote about these noise complaints in print. The campaign made Babbage a figure of public mockery.

No full Analytical Engine was built. Lack of funding, the difficulty of making precise parts and Babbage’s habit of redesigning all played a role. In 1991, however, engineers in London completed a working Difference Engine No. 2 from Babbage’s later drawings, showing that the plans could work with careful manufacturing.

The store and mill offer a tidy model for practice. Your store is what you already hold: notes learned, chord patterns known, passages memorised. Your mill is the set of operations you apply: slow playing, hands separately, changing rhythms, playing in a new key. Progress means moving material through the mill and returning it to the store in a more secure form.

Prepare a little set of cards. Each card names one passage and one operation, for example bars nine to twelve, hands separately. Shuffle the order each day, as the engine could follow a new chain of cards, and keep a tally on the back of each card.

At the very first sitting of each day, the player announces aloud both the piece’s title and its composer, writing the pair on the card that opens the store.

Add a simple branch to the system. If a passage comes out clean on three consecutive tries, move its card to a review pile; if not, keep it in the active pile. That small condition turns a fixed routine into one that responds to results, in the spirit of Babbage’s design.

Frequently asked questions

Q: Was the Analytical Engine ever built? A: No complete Analytical Engine was built in Babbage’s lifetime. Only parts and trial pieces were made. The design, however, contained the main features later found in general-purpose computers.

Q: What did Ada Lovelace write about music? A: In notes published in 1843, Lovelace suggested that if the relations of pitched sounds could be expressed in the engine’s terms, it might compose elaborate pieces of music of any degree of complexity. It was a speculation, not a working system.

Q: What does this history have to do with AI piano lessons? A: Modern AI piano lessons and an online piano learning app rest on the same split between stored information and the operations applied to it, which Babbage named the store and the mill.

The store and mill model fits piano lessons and music lessons, a piano course or a piano learning course, and any plan to learn piano, learn piano online or learn music. It works for those who play piano alone and those who play music with others. A piano teaching app, an online piano lessons app or an online piano teaching application can act as the card deck, while an AI piano teaching app or an AI online piano course can apply the branching rule automatically. AI piano lessons, an online piano learning app and an AI piano teacher support online piano learning, and piano teaching with AI can work beside human piano teaching and music teaching.

TIGA ALPHA is an AI piano teaching app created by a Thai team, with Teacher Aum serving as CEO. Teacher Aum has 20 years of piano teaching experience, which guides how the app decides what to practise next based on recent results. A traditional music school typically sets the next task at a weekly lesson; an app can update the plan after every session.

Make five cards tonight and run them through the mill for one week. Babbage never saw a finished engine, but the plan of a store, a mill and a deck of instructions still works well on a music stand.

If your practice had a store and a mill, what would you put in each one this week? Start with TIGA ALPHA at https://tigaalpha.github.io/landing-en/. Prefer live lessons with Teacher Aum? See https://www.tigastudio.net/, where live teaching runs up to 30 hours per week. Read about TIGA ALPHA, the company and its technology, at https://www.tigaalpha.com. 40-hour course: 30,000 THB.

Comments


Commenting on this post isn't available anymore. Contact the site owner for more info.

หากคุณสนใจเรื่อง เรียนดนตรี สอนดนตรี เรียนเปียโน

สอนเปียโน นี่คือเว็บไซต์ที่คุณต้องติดตาม

TIGA

STUDIO

© 2026 BY TIGA Proudly Created With Natthaphol Budagosa

bottom of page