being inspired by another project of ChaN  I decided to build my own music box. The theory is described in detail on ChaN's page, so I won't repeat it here. Instead of an ATtiny, mine uses a PIC32 and has therefore enough processing power to play up to 64 notes simultaneously:
As a case I used a pair of cheap active speakers for the very competitive price of 3.50 €. They can be seen here together with the breadboarded circuit:
Since I wanted to fit everything inside the speaker-case, the soldered circuit is quite minimalistic:
Here the inside of the case can be seen without and with my circuit installed:
A video of the device in action is available on YouTube: http://youtu.be/dt3rpgWyKno
Please find the source code attached to the next post, as there seems to be a limit of 6 attachments per posting.