Here are some example toys, with source code.
Click on the image or title of an example to run it.
Perlenspiel works best on Chrome and Firefox. Most Android devices should work, too. Safari works fine on Macintosh desk/laptops, but Mobile Safari (on iPhones and iPads) can’t play more than one sound at a time, because Steve Jobs said so.
Internet Explorer? Heh.
Perlenspiel Splash Screen (Moriarty)
Plays the opening theme of J.S. Bach’s Die Kunst der Fuge (The Art of Fugue, 1751). Touch the beads to hear the notes again. Source code.