This machine has 2 or 3 main parts.
The Music Box – which may contain other instruments, like a trompong or tuned strings.
The Music Sheet – which contains music encoded into it by weaving, punched holes, or interwoven beads.
The Weaver – which we can see weaving or knitting the music in real-time.
Music Box and Weaver hanging vertically (needs a better drawing)
Example of a tiny music box playing a modified Moon Song