In my opinion, anyone who works on music generation should take a look at Karma (http://karma-lab.com/) for a baseline of what can be achieved by simple math and plain old programming. Probably not particularly interesting from programmer's perspective (it's closed-source and to the best of my knowledge doesn't use anything fancy), but the end results are spectacular and used in real music.