This came out of experimenting with the idea of doing a full tune in max from the generation of melodies and rhythms to synthesis to mixing. Although its not done, I thought it might be a fun way to start a conversation about composing in max. I'd be interested to know how other people accomplish things like this.
I also thought that, since I've learned the majority of what I know about max by hacking apart other peoples patching, that this patch might serve as a useful reference for any number of things. For that reason I've tried to keep it legible and comment its functions but, you know how it goes, its still and eFn mess.
So anyway, here is this piece of music I wrote/am writing. I hope you like it.