A nice example of a tool for "painting" music is SimTunes published by Maxis in 1996. You program lots of bugs that make music as they move and interact. Originally a hit in Japan and the folks at Maxis really liked this program. Don't think it sold too well though.
Best,
-ken kahn