Music boxes are 19th/20th century automatic musical instrument that produce sounds by the use of a set of pins placed on a revolving cylinder or disc so that the pins plug the teeth of a tuned metal comb in passing. Their size can vary between that of a hat box to large pieces of furniture. They are usually powered by a clockwork and were created by artisan watchmakers mostly located in Switzerland.
The first music boxes used discs with pins. The switch to cylinders didn’t happen until after the Napoleonic Was (1803 -1815), just to switch back to now interchangeable discs in mass production in the last decades of the 1800s.