Pythoven programatically generate music adapted from http://forums.xkcd.com/viewtopic.php?f=11&t=49360