The 1801 invention of the Jacquard loom uses the same sort of punch card technology that was eventually implemented to operate player pianos and other kinds of mechanical instruments.
Abusive comment hidden.
(Show it anyway.)