I thought I'd share my latest effort -- Clatter v2.0 in the hope that somebody might a) find it useful; b) beta-test for me; and c) suggest any bug-fixes or areas for improvement (there are doubtless many). There's a (rather long and regrettably "er"-ridden) explanatory video to be found at http://www.peterbatchelor.com/maxClatterVideo.html
The video gives an explanation of what Clatter is; but in a nutshell, it's a multisampling (multi = thousands of sounds) tool with a gesture control interface and rudimentary step sequencer. Works quite nicely for generating material both for composition and live.
I'm not sure that it's particularly elegantly coded, but it produces some quite nice results I think.
Please let me know if you find it useful.