Feel free to use/steal (with proper attribution) some of my codez..
Set Theory Java Library: A Java library for manipulating and analyzing Pitch-Class Set-like structures. It can be used in any JVM language, such as Java, Groovy, Clojure, Scala, etc.
BBC Download: A Python application for downloading sound files from the (gargantuan) BBC online audio library. The library is gigantic and the web interface only allows downloading one file at a time.
Ultimatum: An interactive improvisation game for two performers and computer. The code is a mixture of a Java Web Application and the SuperCollider Sound Synthesis language.