Self Help for Robots needs music?

I've come up with a simple procedural algorithm for filling a user-specified amount of time with music.

The music itself is composed using ideas from the past few years. I have a lot of material to work with!

But it takes me hours just to finish a single minute's worth of music.This may take awhile...