Recursive music sequencer