I am programmer, who wrote several programs with midi controlling. For years I had been trying to "revoltuionize" piano learning process. I tweaked and analyzed midi flow any possible way, upside down and inward-outward. I may create any logic for my own needs. My last project was on automatic accompaniment sync with live solo part input, something like "Xtreme In Concert". Alas, there is no sense in all that! The module worked as prescribed, but I lost interest to that playing already after a couple of days. After many experiments I found out that I do not need any computer logic to mess into my playing

)) The most valuable human input lies in micro shifts of notes from their prescribed positions in time, duruation and volume. You may not put a logic on that.