I can see something like this being hacked to become a MIDI input device.
OTOKIBAKO, an electronic music kit operated by turning the handle at the side, plays melodies by reading the black and white melody data sheet with light sensors. In addition, the special software "Melody Factory for OTOKIBAKO" enables you to create a melody data sheet of your own melody (with 3 octave range (C to B) including halftones)! 8 tones and 15 melodies are already installed. The wooden outer box projects a warm atmosphere and inspires you to paint on or carve pictures on to create your own OTOKIBAKO.